Browse Source
Merge pull request #166 from tidewise/initrd_copy
fix target path for initrd image in probe_initrd_in_boot_and_root
2.1.x
Kristian Amlie
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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; |
|
|
|