diff mbox series

[2/2] Enable initramfs-tools framebuffer script

Message ID 1564500568-31631-3-git-send-email-paolo.pisati@canonical.com
State New
Headers show
Series None | expand

Commit Message

Paolo Pisati July 30, 2019, 3:29 p.m. UTC
BugLink: https://launchpad.net/bugs/1838429

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

Patch

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