summaryrefslogtreecommitdiffstats
path: root/meta/classes/bootimg.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/bootimg.bbclass')
-rw-r--r--meta/classes/bootimg.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/bootimg.bbclass b/meta/classes/bootimg.bbclass
index 7b3ce65910..859d517dbd 100644
--- a/meta/classes/bootimg.bbclass
+++ b/meta/classes/bootimg.bbclass
@@ -75,6 +75,8 @@ populate() {
75 do 75 do
76 if [ -s "${fs}" ]; then 76 if [ -s "${fs}" ]; then
77 cat ${fs} >> ${DEST}/initrd 77 cat ${fs} >> ${DEST}/initrd
78 else
79 bbfatal "${fs} is invalid. initrd image creation failed."
78 fi 80 fi
79 done 81 done
80 chmod 0644 ${DEST}/initrd 82 chmod 0644 ${DEST}/initrd