diff --git a/modules/probe.sh b/modules/probe.sh index d7fd221..1bba5f7 100644 --- a/modules/probe.sh +++ b/modules/probe.sh @@ -218,7 +218,7 @@ probe_initrd_in_boot_and_root() { for boot in work/rootfs/boot work/boot; do initrd_image_path=$(probe_initrd_image ${boot}) if [ -n "${initrd_image_path}" ] && [ "${boot}" == "work/boot" ]; then - sudo cp ${initrd_image_path} ${target_rootfs_dir}/boot + sudo cp ${initrd_image_path} work/rootfs/boot break; elif [ -n "${initrd_image_path}" ]; then break;