Merge "avoid failure if /lib/firmware doesn't exist"
This commit is contained in:
commit
20879b2ec9
@ -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 {} \;
|
||||
cp -a "$FIRMWARE_DIR" "$TMP_MOUNT_PATH/lib/firmware"
|
||||
if [ -d $FIRMWARE_DIR ]; then
|
||||
cp -a "$FIRMWARE_DIR" "$TMP_MOUNT_PATH/lib/firmware"
|
||||
fi
|
||||
}
|
||||
|
||||
function busybox_list () {
|
||||
|
Loading…
Reference in New Issue
Block a user