linux-qubasis

linux oasis port as a qubes template

git clone https://9o.is/git/linux-qubasis.git

gen.sh

(1387B)


      1 git a570a80
      2 
      3 cflags "
      4 	-std=c99
      5 	-D_GNU_SOURCE
      6 	-D_XOPEN_SOURCE=700
      7 	-I$dir
      8 	-Wno-maybe-uninitialized
      9 	-Wno-format-truncation
     10 	-Wno-sign-compare
     11 	-Wno-stringop-truncation
     12 	-Wno-misleading-indentation
     13 	-Wno-overflow
     14 	-Wno-implicit-fallthrough
     15 "
     16 
     17 lib libutil.a "
     18 	libutil/agetcwd.c
     19 	libutil/agetline.c
     20 	libutil/apathmax.c
     21 	libutil/concat.c
     22 	libutil/ealloc.c
     23 	libutil/eprintf.c
     24 	libutil/estrtol.c
     25 	libutil/estrtoul.c
     26 	libutil/explicit_bzero.c
     27 	libutil/passwd.c
     28 	libutil/proc.c
     29 	libutil/putword.c
     30 	libutil/recurse.c
     31 	libutil/strlcat.c
     32 	libutil/strlcpy.c
     33 	libutil/strtonum.c
     34 	libutil/tty.c
     35 "
     36 
     37 tools() {
     38 	for val in $*; do
     39 		case $val in
     40 		[0-9])
     41 			man $src.$val
     42 			;;
     43 		*)
     44 			src=$val
     45 			bin $src $src.c $outdir/libutil.a
     46 			;;
     47 		esac
     48 	done
     49 }
     50 
     51 tools "
     52 	blkdiscard
     53 	chvt			1
     54 	clear			1
     55 	ctrlaltdel		8
     56 	dd				1
     57 	df				1
     58 	dmesg			1
     59 	eject			1
     60 	fallocate		1
     61 	free			1
     62 	freeramdisk		8
     63 	fsfreeze		8
     64 	getty			8
     65 	halt			8
     66 	hwclock			8
     67 	id				1
     68 	insmod			8
     69 	killall5		8
     70 	last
     71 	lastlog			8
     72 	login			1
     73 	lsmod			8
     74 	lsusb			8
     75 	mesg			1
     76 	mknod			1
     77 	mkswap			8
     78 	mount			8
     79 	mountpoint		1
     80 	nologin			8
     81 	pagesize		1
     82 	passwd			1
     83 	pidof			1
     84 	pivot_root		8
     85 	ps				1
     86 	pwdx			1
     87 	readahead		8
     88 	respawn			1
     89 	rmmod			8
     90 	stat			1
     91 	su				1
     92 	swaplabel		8
     93 	swapoff			8
     94 	swapon			8
     95 	switch_root		8
     96 	sysctl			8
     97 	truncate		1
     98 	umount			8
     99 	unshare			1
    100 	uptime			1
    101 	vtallow			1
    102 	watch			1
    103 	who				1
    104 "
    105 
    106 binfiles $dir/mount.swap