Ventoy/Unix/pack_unix.sh

16 lines
319 B
Bash
Raw Permalink Normal View History

2020-07-31 11:08:17 -04:00
#!/bin/bash
VENTOY_PATH=$PWD/../
rm -f ventoy_unix.cpio
mv ./ventoy_unix/DragonFly ./
2020-07-31 11:08:17 -04:00
find ./ventoy_unix | cpio -o -H newc>ventoy_unix.cpio
mv ./DragonFly ./ventoy_unix/
2020-07-31 11:08:17 -04:00
echo '======== SUCCESS ============='
rm -f $VENTOY_PATH/INSTALL/ventoy/ventoy_unix.cpio
cp -a ventoy_unix.cpio $VENTOY_PATH/INSTALL/ventoy/