[PATCH 2/2] Enable initramfs-tools framebuffer script

Paolo Pisati paolo.pisati at canonical.com
Tue Jul 30 15:29:28 UTC 2019


BugLink: https://launchpad.net/bugs/1838429

Signed-off-by: Paolo Pisati <paolo.pisati at canonical.com>
---
 Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Makefile b/Makefile
index c468f2d..0f6e9b7 100644
--- a/Makefile
+++ b/Makefile
@@ -106,6 +106,9 @@ all:
 	fi
 	$(ENV) chroot chroot apt-get -y update;\
 	$(ENV) chroot chroot apt-get -y install initramfs-tools-ubuntu-core linux-firmware xz-utils
+	# enable initramfs-tools framebuffer script (and includes the necessary
+	# kmods to initrd.img)
+	echo "FRAMEBUFFER=y" > chroot/usr/share/initramfs-tools/conf-hooks.d/ubuntu-core-fb
 	$(ENV) chroot chroot apt-get -y install $(KERNELDEB) $(PKGS)
 	umount chroot/sys
 	umount chroot/proc
-- 
2.7.4




More information about the kernel-team mailing list