]> glassweightruler.freedombox.rocks Git - Ventoy.git/commitdiff
update
authorlongpanda <admin@ventoy.net>
Sat, 16 Jan 2021 15:36:32 +0000 (23:36 +0800)
committerlongpanda <admin@ventoy.net>
Sat, 16 Jan 2021 15:36:32 +0000 (23:36 +0800)
IMG/cpio/ventoy/hook/debian/360-disk.sh
IMG/cpio/ventoy/hook/debian/360-switch-root.sh
README.md

index e0be61bbf0dbf3d1ffb36f885bf1d7c9483f8823..b40aec3a1b325a2e604c30653ab1817fee3e6376 100644 (file)
@@ -47,8 +47,8 @@ mount -t iso9660  $VTOY_PATH/mnt/fuse/ventoy.iso    $VTOY_PATH/mnt/iso
 
 rm -f /puppy.sfs
 echo -e "\n\\033[1;35mCopying to ram ...\\033[0;39m" > /dev/console
 
 rm -f /puppy.sfs
 echo -e "\n\\033[1;35mCopying to ram ...\\033[0;39m" > /dev/console
-[ -e $VTOY_PATH/mnt/iso/360Disk/puppy.sfs ] && cp -a $VTOY_PATH/mnt/iso/360Disk/puppy.sfs /puppy.sfs
-[ -d $VTOY_PATH/mnt/iso/360Disk/addsw ] && cp -a $VTOY_PATH/mnt/iso/360Disk/addsw /
+[ -d $VTOY_PATH/mnt/iso/360Disk ] && cp -a $VTOY_PATH/mnt/iso/360Disk  $VTOY_PATH/
+[ -e $VTOY_PATH/360Disk/puppy.sfs ] && mv $VTOY_PATH/360Disk/puppy.sfs   /puppy.sfs
 
 umount $VTOY_PATH/mnt/iso
 umount $VTOY_PATH/mnt/fuse
 
 umount $VTOY_PATH/mnt/iso
 umount $VTOY_PATH/mnt/fuse
index 7695849bb3b12aa2b7253fcff3fcd355aa855cff..63da14dac17ad65d4c3587c5d0b66daf9a649be4 100644 (file)
@@ -21,7 +21,9 @@
 
 VTPATH_OLD=$PATH; PATH=$BUSYBOX_PATH:$VTOY_PATH/tool:$PATH
 
 
 VTPATH_OLD=$PATH; PATH=$BUSYBOX_PATH:$VTOY_PATH/tool:$PATH
 
+mkdir -p /pup_new/mnt/sdz
+mv $VTOY_PATH/360Disk /pup_new/mnt/sdz/
+[ -f /pup_new/root/scripts/cd_plugin ] && echo "/root/scripts/cd_plugin sdz" >> /pup_new/etc/rc.d/rc.local
 
 PATH=$VTPATH_OLD
 
 
 PATH=$VTPATH_OLD
 
-set_ventoy_hook_finish
index 9f494e3863bf0ba8e45c0ef1acc404b59c3cca00..0227081dda6356fad6ffe1109cf67c647b0003ca 100644 (file)
--- a/README.md
+++ b/README.md
@@ -30,7 +30,8 @@ Most type of OS supported(Windows/WinPE/Linux/Unix/Vmware/Xen...) <br/>
 * x86 Legacy BIOS, IA32 UEFI, x86_64 UEFI, ARM64 UEFI supported
 * UEFI Secure Boot supported (1.0.07+)
 * Persistence supported (1.0.11+)
 * x86 Legacy BIOS, IA32 UEFI, x86_64 UEFI, ARM64 UEFI supported
 * UEFI Secure Boot supported (1.0.07+)
 * Persistence supported (1.0.11+)
-* Windows/Linux auto installation supported (1.0.09+)
+* Windows auto installation supported (1.0.09+)
+* RHEL7/8/CentOS/7/8/SUSE/Ubuntu Server/Debian ... auto installation supported (1.0.09+)
 * FAT32/exFAT/NTFS/UDF/XFS/Ext2(3)(4) supported for main partition
 * ISO files larger than 4GB supported
 * Native boot menu style for Legacy & UEFI
 * FAT32/exFAT/NTFS/UDF/XFS/Ext2(3)(4) supported for main partition
 * ISO files larger than 4GB supported
 * Native boot menu style for Legacy & UEFI