Remove framebuffer video drivers from ramdisks.
We now forcibly remove all framebuffer video drivers from ramdisks, as part of our ongoing effort to keep every kernel we boot, in text mode, so it can be more easily intercepted by LOM hardware, nova console logging, etc. Fixes-Bug: #1178409 Change-Id: Ia72211c97c03c3f60eb9a1483297fe587de51f0b
This commit is contained in:
parent
d23ba2a8a8
commit
0ff3b94c86
@ -165,6 +165,8 @@ function populate_lib () {
|
||||
done
|
||||
|
||||
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"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user