summaryrefslogtreecommitdiff
path: root/data/live-build-config/includes.chroot/etc
diff options
context:
space:
mode:
authorzsdc <taras@vyos.io>2020-02-28 14:56:44 +0200
committerzsdc <taras@vyos.io>2020-02-28 14:59:33 +0200
commitcb9b13d91011a82451cb621369fc388c9485773d (patch)
treec102e4b660c1f95097886eb4273b5524c92c8ed1 /data/live-build-config/includes.chroot/etc
parent309576112ee5d7c4e48fa9a0dc325a5039b40ae1 (diff)
downloadvyos-build-cb9b13d91011a82451cb621369fc388c9485773d.tar.gz
vyos-build-cb9b13d91011a82451cb621369fc388c9485773d.zip
initramfs: T1971: Extended initramfs-hook script
Included: * libnss_dns.so.2 (required for DNS resolving from initramfs) * ca-certificates.crt (required for fetching files via HTTPS)
Diffstat (limited to 'data/live-build-config/includes.chroot/etc')
-rwxr-xr-xdata/live-build-config/includes.chroot/etc/initramfs-tools/hooks/10-vyos-addons (renamed from data/live-build-config/includes.chroot/etc/initramfs-tools/hooks/10-vyos-add-modules)6
1 files changed, 6 insertions, 0 deletions
diff --git a/data/live-build-config/includes.chroot/etc/initramfs-tools/hooks/10-vyos-add-modules b/data/live-build-config/includes.chroot/etc/initramfs-tools/hooks/10-vyos-addons
index 7ae51b48..79130d7c 100755
--- a/data/live-build-config/includes.chroot/etc/initramfs-tools/hooks/10-vyos-add-modules
+++ b/data/live-build-config/includes.chroot/etc/initramfs-tools/hooks/10-vyos-addons
@@ -21,3 +21,9 @@ manual_add_modules igb ixgbe ixgbevf i40e i40evf
# include listed modules to initramfs and load them during the boot
# force_load xxx
+
+# executable to copy to initramfs, with library dependencies
+copy_exec /usr/lib/x86_64-linux-gnu/libnss_dns.so.2
+
+# copy other files ("other" here is a file type, so do not delete this keyword)
+copy_file other /etc/ssl/certs/ca-certificates.crt