linux-qubasis
linux oasis port as a qubes template
git clone https://9o.is/git/linux-qubasis.git
commit f6a13fa70710085bcb706def01af670eb894c115 parent 771afbe67dd1b6a175186eb44344a02ddae078c9 Author: Jul <jul@9o.is> Date: Sat, 8 Nov 2025 00:49:43 -0500 add ninja cat command Diffstat:
| M | ninja/functions.sh | | | 10 | ++++++++-- |
| M | pkg/e2fsprogs/gen.sh | | | 2 | +- |
| M | pkg/perp/gen.sh | | | 2 | +- |
| M | pkg/util-linux/gen.sh | | | 2 | +- |
| M | pkg/vis/gen.sh | | | 2 | +- |
| M | pkg/xz/gen.sh | | | 2 | +- |
6 files changed, 13 insertions(+), 7 deletions(-)
diff --git a/ninja/functions.sh b/ninja/functions.sh @@ -46,6 +46,12 @@ copy() { build copy $1 ${2-$1} } +cat() { + _out=$1 + shift + build cat $_out $* +} + cflags() { setv cflags '$cflags' "$*" } @@ -700,7 +706,7 @@ _ninja_flush_headers() { return fi - build phony $tgtdir/headers $(cat "$_ninja_headers" | xargs) + build phony $tgtdir/headers $(command cat "$_ninja_headers" | xargs) } _ninja_flush_fspec() { @@ -751,7 +757,7 @@ _ninja_flush_fspec() { if [ ! "$_srcs" ] && [ ! "$_ninja_buffer_fspec_files" ]; then build touch $outdir/_fspec/ALL else - build cat $outdir/_fspec/ALL $_srcs $_ninja_buffer_fspec_files + cat _fspec/ALL $_srcs $_ninja_buffer_fspec_files fi build phony $tgtdir/fspec $outdir/_fspec/ALL diff --git a/pkg/e2fsprogs/gen.sh b/pkg/e2fsprogs/gen.sh @@ -19,7 +19,7 @@ cflags " -Wno-unused-parameter " -build cat _include/config.h " +cat _include/config.h " $pkgdir/probe/HAVE__THREAD_LOCAL $pkgdir/probe/SIZEOF_LONG $pkgdir/probe/SIZEOF_TIME_T diff --git a/pkg/perp/gen.sh b/pkg/perp/gen.sh @@ -79,7 +79,7 @@ runtools() { done } -lib libasagna.a "$(cat $DIR/lasagna)" +lib libasagna.a "$(command cat $DIR/lasagna)" perp " perpboot diff --git a/pkg/util-linux/gen.sh b/pkg/util-linux/gen.sh @@ -21,7 +21,7 @@ cflags " -Wno-maybe-uninitialized " -build cat internal/config.h " +cat internal/config.h " $pkgdir/probe/HAVE__THREAD_LOCAL $dir/config.h " diff --git a/pkg/vis/gen.sh b/pkg/vis/gen.sh @@ -95,7 +95,7 @@ visman vis-digraph.1 visman vis-menu.1 visman vis-open.1 -for f in $(cat $DIR/lua.txt | xargs); do +for f in $(command cat $DIR/lua.txt | xargs); do copy lua/$f reg $outdir/lua/$f /share/vis/$f done diff --git a/pkg/xz/gen.sh b/pkg/xz/gen.sh @@ -37,7 +37,7 @@ include --prefix lzma --src-prefix src/liblzma/api/lzma " vli.h " -build cat config.h " +cat config.h " $pkgdir/probe/HAVE_IMMINTRIN_H $pkgdir/probe/HAVE__MM_CLMULEPI64_SI128 $pkgdir/probe/HAVE__MM_MOVEMASK_EPI8