0
0
mirror of https://github.com/ventoy/Ventoy.git synced 2024-11-21 22:06:14 +00:00
Ventoy/Unix/pack_unix.sh
2021-01-01 22:37:22 +08:00

16 lines
319 B
Bash

#!/bin/bash
VENTOY_PATH=$PWD/../
rm -f ventoy_unix.cpio
mv ./ventoy_unix/DragonFly ./
find ./ventoy_unix | cpio -o -H newc>ventoy_unix.cpio
mv ./DragonFly ./ventoy_unix/
echo '======== SUCCESS ============='
rm -f $VENTOY_PATH/INSTALL/ventoy/ventoy_unix.cpio
cp -a ventoy_unix.cpio $VENTOY_PATH/INSTALL/ventoy/