From d5bf92af2b9667ecd8856f5702400ae9f247edad Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Sat, 7 Dec 2019 04:44:04 +0100 Subject: [PATCH] include nilfs module in raspi initrd --- modules/default.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/default.mk b/modules/default.mk index 9f7860e..ec3f2f4 100644 --- a/modules/default.mk +++ b/modules/default.mk @@ -42,7 +42,8 @@ _raspberry_config: ${CFGROOT} printf '%s\n' "$${RPICONFIG}" >>"$${CFGROOT}/boot/config.txt" _raspberry_initrd: ${CFGROOT} - k=$${CFGROOT}/lib/modules/*-v7+; \ + printf 'nilfs2\n' >>"$${CFGROOT}/etc/initramfs-tools/modules" + k="$$(echo "$${CFGROOT}"/lib/modules/*-v7+)"; \ chroot $${CFGROOT} update-initramfs -c -k "$${k##*/}"; \ printf 'initramfs initrd.img-%s\n' "$${k##*/}" >>"$${CFGROOT}/boot/config.txt" -- 2.39.2