summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-03-11 07:12:52 +0100
committerGitHub <noreply@github.com>2020-03-11 07:12:52 +0100
commit965d8ef487d83c0869b6c23b7c43ce5b2929bb68 (patch)
treeb8380d255de093280a9fd4ef4f3774cde8b5ba81
parent7a0978ff9776e6d032365a486fc2fd1033828766 (diff)
parent208d90f0d713c4602c834461e08ede9c82e0640d (diff)
downloadvyos-build-965d8ef487d83c0869b6c23b7c43ce5b2929bb68.tar.gz
vyos-build-965d8ef487d83c0869b6c23b7c43ce5b2929bb68.zip
Merge pull request #88 from kroy-the-rabbit/patch-1
T2118: Add fsck tools to initramfs image
-rwxr-xr-xdata/live-build-config/includes.chroot/etc/initramfs-tools/hooks/10-vyos-addons6
1 files changed, 6 insertions, 0 deletions
diff --git a/data/live-build-config/includes.chroot/etc/initramfs-tools/hooks/10-vyos-addons b/data/live-build-config/includes.chroot/etc/initramfs-tools/hooks/10-vyos-addons
index 79130d7c..d533eaca 100755
--- a/data/live-build-config/includes.chroot/etc/initramfs-tools/hooks/10-vyos-addons
+++ b/data/live-build-config/includes.chroot/etc/initramfs-tools/hooks/10-vyos-addons
@@ -25,5 +25,11 @@ manual_add_modules igb ixgbe ixgbevf i40e i40evf
# executable to copy to initramfs, with library dependencies
copy_exec /usr/lib/x86_64-linux-gnu/libnss_dns.so.2
+# missing fsck in initramfs
+copy_exec /usr/sbin/fsck
+copy_exec /usr/sbin/fsck.ext2
+copy_exec /usr/sbin/fsck.ext3
+copy_exec /usr/sbin/fsck.ext4
+
# copy other files ("other" here is a file type, so do not delete this keyword)
copy_file other /etc/ssl/certs/ca-certificates.crt