]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - IMG/mkcpio.sh
Add Continuous Integration to the Project using GitHub Actions (#410)
[Ventoy.git] / IMG / mkcpio.sh
index 301d7ccae3ef3751e5852b79afce92b29924b8b9..adbe1753715f6ff9562eae874d1aeb09e8b8591a 100644 (file)
@@ -16,7 +16,7 @@ ln -s sbin/init linuxrc
 cd ventoy
 
 
-cp -a $VENTOY_PATH/DMSETUP/dmsetup tool/
+cp -a $VENTOY_PATH/DMSETUP/dmsetup* tool/
 cp -a $VENTOY_PATH/SQUASHFS/unsquashfs_* tool/
 cp -a $VENTOY_PATH/FUSEISO/vtoy_fuse_iso_* tool/
 cp -a $VENTOY_PATH/VtoyTool/vtoytool tool/
@@ -28,6 +28,10 @@ find ./tool | cpio  -o -H newc>tool.cpio
 xz tool.cpio
 rm -rf tool
 
+find ./loop | cpio  -o -H newc>loop.cpio
+xz loop.cpio
+rm -rf loop
+
 xz ventoy_chain.sh
 xz ventoy_loop.sh