deb to snap: add i2c-bcm2709 to initrd's kmods

Message ID 1538132334-31787-2-git-send-email-paolo.pisati@canonical.com
State New
Headers show
Series
  • deb to snap: add i2c-bcm2709 to initrd's kmods
Related show

Commit Message

Paolo Pisati Sept. 28, 2018, 10:58 a.m.
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
---
 Makefile | 2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/Makefile b/Makefile
index 4379a10..16d008e 100644
--- a/Makefile
+++ b/Makefile
@@ -78,6 +78,8 @@  all:
 	fi
 	mkdir -p chroot/etc/initramfs-tools/conf.d
 	echo "COMPRESS=lzma" >chroot/etc/initramfs-tools/conf.d/ubuntu-core.conf
+	# LP1794279: vc4-kms-v3d and hardware accelerated framebuffer support
+	echo "i2c-bcm2708" > chroot/etc/initramfs-tools/modules
 	$(ENV) chroot chroot apt-get -y update
 	$(ENV) chroot chroot apt-get -y --allow-unauthenticated install initramfs-tools-ubuntu-core linux-firmware xz-utils
 	mount --bind /proc chroot/proc