Merge "avoid failure if /lib/firmware doesn't exist"

This commit is contained in:
Jenkins 2014-06-24 16:46:20 +00:00 committed by Gerrit Code Review
commit 20879b2ec9

View File

@ -176,7 +176,9 @@ function populate_lib () {
cp -a "$MODULE_DIR" "$TMP_MOUNT_PATH/lib/modules/$KERNEL_VERSION"
echo "Removing kernel framebuffer drivers to enforce text mode consoles..."
find $TMP_MOUNT_PATH/lib/modules/$KERNEL_VERSION/kernel/drivers/video -name '*fb.ko' -exec rm -v {} \;
if [ -d $FIRMWARE_DIR ]; then
cp -a "$FIRMWARE_DIR" "$TMP_MOUNT_PATH/lib/firmware"
fi
}
function busybox_list () {