]> glassweightruler.freedombox.rocks Git - Ventoy.git/commitdiff
Fix the issue that rockcluster, part of config missing during install. (#1900)
authorlongpanda <admin@ventoy.net>
Sat, 8 Oct 2022 02:07:39 +0000 (10:07 +0800)
committerlongpanda <admin@ventoy.net>
Sat, 8 Oct 2022 02:07:39 +0000 (10:07 +0800)
IMG/cpio/ventoy/hook/openEuler/ventoy-inotifyd-hook.sh
IMG/cpio/ventoy/hook/openEuler/ventoy-timeout.sh
IMG/cpio/ventoy/hook/rhel7/ventoy-inotifyd-hook.sh
IMG/cpio/ventoy/hook/rhel7/ventoy-timeout.sh

index e0a9a0bb1610696c4dae6de903428d97de3bbba1..afbaec75542fb11b084a578b56d67606ff044b94 100644 (file)
@@ -51,6 +51,9 @@ if is_inotify_ventoy_part $3; then
     
     if [ -e /sbin/anaconda-diskroot ]; then
         vtlog "set anaconda-diskroot ..."        
+
+        #busybox cp doesn't support -t option (issue 1900)
+        /bin/cp -a /bin/cp $BUSYBOX_PATH/cp
         /sbin/anaconda-diskroot /dev/ventoy
     fi
     
index e0ca553c837589149c59e594aa7648ddd302fa74..cfd339f7effcba75c107e45054375ba5b04a2c51 100644 (file)
@@ -39,6 +39,9 @@ fi
 
 if [ -e /sbin/anaconda-diskroot ]; then
     vtlog "set anaconda-diskroot /dev/ventoy ..."
+
+    #busybox cp doesn't support -t option (issue 1900)
+    /bin/cp -a /bin/cp $BUSYBOX_PATH/cp
     /sbin/anaconda-diskroot /dev/ventoy
 fi
 
index 3960315cba7523937a628fc11afadb1a266c6528..96052b7c7312326b74e5df0853c45c6d18854d5a 100644 (file)
@@ -70,6 +70,9 @@ if is_inotify_ventoy_part $3; then
     
     if [ -e /sbin/anaconda-diskroot ]; then
         vtlog "set anaconda-diskroot ..."        
+
+        #busybox cp doesn't support -t option (issue 1900)
+        /bin/cp -a /bin/cp $BUSYBOX_PATH/cp
         /sbin/anaconda-diskroot /dev/ventoy
     fi
     
index e0ca553c837589149c59e594aa7648ddd302fa74..cfd339f7effcba75c107e45054375ba5b04a2c51 100644 (file)
@@ -39,6 +39,9 @@ fi
 
 if [ -e /sbin/anaconda-diskroot ]; then
     vtlog "set anaconda-diskroot /dev/ventoy ..."
+
+    #busybox cp doesn't support -t option (issue 1900)
+    /bin/cp -a /bin/cp $BUSYBOX_PATH/cp
     /sbin/anaconda-diskroot /dev/ventoy
 fi