summaryrefslogtreecommitdiff
path: root/data/live-build-config/includes.chroot
diff options
context:
space:
mode:
authorkroy-the-rabbit <kroy@kroy.io>2020-03-10 20:54:11 -0500
committerGitHub <noreply@github.com>2020-03-10 20:54:11 -0500
commit208d90f0d713c4602c834461e08ede9c82e0640d (patch)
treeb8380d255de093280a9fd4ef4f3774cde8b5ba81 /data/live-build-config/includes.chroot
parent7a0978ff9776e6d032365a486fc2fd1033828766 (diff)
downloadvyos-build-208d90f0d713c4602c834461e08ede9c82e0640d.tar.gz
vyos-build-208d90f0d713c4602c834461e08ede9c82e0640d.zip
T2118: Add fsck tools to initramfs image
Diffstat (limited to 'data/live-build-config/includes.chroot')
-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