mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
code cleanup for INITRD variable handing
* Remove an unnecessary check * Instead of ignoring, report the errors (From OE-Core rev: 7afc6df6f0d0bbe0c5cb8ec021d430d6d9714941) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
73c481d2cb
commit
bfa36a2188
@@ -75,6 +75,8 @@ populate() {
|
||||
do
|
||||
if [ -s "${fs}" ]; then
|
||||
cat ${fs} >> ${DEST}/initrd
|
||||
else
|
||||
bbfatal "${fs} is invalid. initrd image creation failed."
|
||||
fi
|
||||
done
|
||||
chmod 0644 ${DEST}/initrd
|
||||
|
||||
Reference in New Issue
Block a user