mknod -m 660 /dev/ventoy b $blkdev_num_mknod
fi
+if [ -f $VTOY_PATH/ventoy_ks_rootpath ]; then
+ vt_ks_rootpath=$(cat $VTOY_PATH/ventoy_ks_rootpath)
+ vtlog "ks rootpath <$vt_ks_rootpath>"
+ if [ -e /sbin/fetch-kickstart-disk ]; then
+ vtlog "fetch-kickstart-disk ..."
+ /sbin/fetch-kickstart-disk /dev/ventoy "$vt_ks_rootpath"
+ fi
+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