kernel: use new disk/mkfs -o option to get proper source filename list for bootfs.proto

This commit is contained in:
cinap_lenrek 2014-12-15 01:04:05 +01:00
parent 5c1803e1ad
commit 07a776fad9

View file

@ -15,10 +15,7 @@ boot: $BOOTFILES
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
@{