1
0
mirror of https://github.com/ventoy/Ventoy.git synced 2025-01-19 10:43:19 -05:00
Ventoy/Unix/pack_unix.sh

14 lines
258 B
Bash
Raw Normal View History

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