summaryrefslogtreecommitdiff
path: root/scripts/build/binary_linux-image
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/binary_linux-image')
-rwxr-xr-xscripts/build/binary_linux-image2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/binary_linux-image b/scripts/build/binary_linux-image
index 6227a241c..12a6304a1 100755
--- a/scripts/build/binary_linux-image
+++ b/scripts/build/binary_linux-image
@@ -70,7 +70,7 @@ mkdir -p "${DESTDIR}"
# Installing linux-image
cp chroot/boot/"${LINUX}"-* "${DESTDIR}"
-cp chroot/boot/initrd.img-* "${DESTDIR}"
+cp chroot/boot/initrd.img-* "${DESTDIR}" 2>&1 || Echo_message "Skip installing missing initrd."
case "${LB_INITRAMFS}" in
live-boot)