ref: 07a776fad9c93ecc8b0635a9d96107b729ca0469
parent: 5c1803e1adc869ef6781eb65d2ee08b30326aee1
author: cinap_lenrek <[email protected]>
date: Sun Dec 14 20:04:05 EST 2014
kernel: use new disk/mkfs -o option to get proper source filename list for bootfs.proto
--- a/sys/src/9/boot/bootmkfile
+++ b/sys/src/9/boot/bootmkfile
@@ -15,10 +15,7 @@
BOOTFSPROTO=$BOOTDIR/bootfs.proto
-bootfs.paq: $BOOTFSPROTO \
- `{disk/mkfs -s / -ax $BOOTFSPROTO >[2]/dev/null \
- | awk '/^end of archive/{exit}{print $1}' \
- | while(x=`{read}){test -f $x && echo $x}}
+bootfs.paq: $BOOTFSPROTO `{disk/mkfs -aos / $BOOTFSPROTO >[2]/dev/null}
mkdir -p bootfs
disk/mkfs -s / -d bootfs $BOOTFSPROTO
@{