summaryrefslogtreecommitdiff
path: root/data/live-build-config/hooks
diff options
context:
space:
mode:
authorKim Hagen <kim.sidney@gmail.com>2018-11-12 10:07:52 +0100
committerKim Hagen <kim.sidney@gmail.com>2018-11-12 10:07:52 +0100
commit8dcda0e05b0109e12280c446070b1fa94d0a6b4b (patch)
tree3229cfed4504037f0d141ec9a6625cdb8708880c /data/live-build-config/hooks
parenta48a22a8113c0e98ed019c60b1f4c182550d3979 (diff)
downloadvyos-build-8dcda0e05b0109e12280c446070b1fa94d0a6b4b.tar.gz
vyos-build-8dcda0e05b0109e12280c446070b1fa94d0a6b4b.zip
Add uefi to vyos-build
Diffstat (limited to 'data/live-build-config/hooks')
-rwxr-xr-xdata/live-build-config/hooks/live/00-manifest.binary (renamed from data/live-build-config/hooks/00-manifest.binary)0
-rwxr-xr-xdata/live-build-config/hooks/live/00-mk_buildid.chroot (renamed from data/live-build-config/hooks/00-mk_buildid.chroot)0
-rwxr-xr-xdata/live-build-config/hooks/live/01-interfaces.chroot (renamed from data/live-build-config/hooks/01-interfaces.chroot)0
-rwxr-xr-xdata/live-build-config/hooks/live/02-issue.chroot (renamed from data/live-build-config/hooks/02-issue.chroot)0
-rwxr-xr-xdata/live-build-config/hooks/live/03-root_bash_completion.chroot (renamed from data/live-build-config/hooks/03-root_bash_completion.chroot)0
-rwxr-xr-xdata/live-build-config/hooks/live/04-locale.chroot (renamed from data/live-build-config/hooks/04-locale.chroot)0
-rwxr-xr-xdata/live-build-config/hooks/live/05-event_tty.chroot (renamed from data/live-build-config/hooks/05-event_tty.chroot)0
-rwxr-xr-xdata/live-build-config/hooks/live/07-apt.chroot (renamed from data/live-build-config/hooks/07-apt.chroot)0
-rwxr-xr-xdata/live-build-config/hooks/live/08-sysconf.chroot (renamed from data/live-build-config/hooks/08-sysconf.chroot)0
-rwxr-xr-xdata/live-build-config/hooks/live/09-live.chroot (renamed from data/live-build-config/hooks/09-live.chroot)0
-rwxr-xr-xdata/live-build-config/hooks/live/10-unmountfs.chroot (renamed from data/live-build-config/hooks/10-unmountfs.chroot)0
-rwxr-xr-xdata/live-build-config/hooks/live/11-busybox.chroot (renamed from data/live-build-config/hooks/11-busybox.chroot)0
-rwxr-xr-xdata/live-build-config/hooks/live/12-udev-initramfs.chroot (renamed from data/live-build-config/hooks/12-udev-initramfs.chroot)0
-rwxr-xr-xdata/live-build-config/hooks/live/13-vyos_replace.chroot (renamed from data/live-build-config/hooks/13-vyos_replace.chroot)0
-rwxr-xr-xdata/live-build-config/hooks/live/14-firmware-linux-nonfree.chroot (renamed from data/live-build-config/hooks/14-firmware-linux-nonfree.chroot)0
-rwxr-xr-xdata/live-build-config/hooks/live/15-sources_list.chroot (renamed from data/live-build-config/hooks/15-sources_list.chroot)0
-rwxr-xr-xdata/live-build-config/hooks/live/16-fuse.chroot (renamed from data/live-build-config/hooks/16-fuse.chroot)0
-rwxr-xr-xdata/live-build-config/hooks/live/17-gen_initramfs.chroot (renamed from data/live-build-config/hooks/17-gen_initramfs.chroot)0
-rwxr-xr-xdata/live-build-config/hooks/live/18-enable-disable_services.chroot (renamed from data/live-build-config/hooks/18-enable-disable_services.chroot)0
-rwxr-xr-xdata/live-build-config/hooks/live/19-kernel_symlinks.chroot (renamed from data/live-build-config/hooks/19-kernel_symlinks.chroot)0
-rwxr-xr-xdata/live-build-config/hooks/live/20-rm_ddclient_hook.chroot (renamed from data/live-build-config/hooks/20-rm_ddclient_hook.chroot)0
-rwxr-xr-xdata/live-build-config/hooks/live/21-pam_mkhomedir.chroot (renamed from data/live-build-config/hooks/21-pam_mkhomedir.chroot)0
-rwxr-xr-xdata/live-build-config/hooks/live/24-efi_packages.chroot8
-rwxr-xr-xdata/live-build-config/hooks/live/30-frr-configs.chroot (renamed from data/live-build-config/hooks/30-frr-configs.chroot)0
-rwxr-xr-xdata/live-build-config/hooks/live/30-strongswan-configs.chroot (renamed from data/live-build-config/hooks/30-strongswan-configs.chroot)0
-rwxr-xr-xdata/live-build-config/hooks/live/99-cleanup-packages.chroot (renamed from data/live-build-config/hooks/99-cleanup-packages.chroot)0
26 files changed, 8 insertions, 0 deletions
diff --git a/data/live-build-config/hooks/00-manifest.binary b/data/live-build-config/hooks/live/00-manifest.binary
index 6db8b6f3..6db8b6f3 100755
--- a/data/live-build-config/hooks/00-manifest.binary
+++ b/data/live-build-config/hooks/live/00-manifest.binary
diff --git a/data/live-build-config/hooks/00-mk_buildid.chroot b/data/live-build-config/hooks/live/00-mk_buildid.chroot
index 087addad..087addad 100755
--- a/data/live-build-config/hooks/00-mk_buildid.chroot
+++ b/data/live-build-config/hooks/live/00-mk_buildid.chroot
diff --git a/data/live-build-config/hooks/01-interfaces.chroot b/data/live-build-config/hooks/live/01-interfaces.chroot
index 8d218ea4..8d218ea4 100755
--- a/data/live-build-config/hooks/01-interfaces.chroot
+++ b/data/live-build-config/hooks/live/01-interfaces.chroot
diff --git a/data/live-build-config/hooks/02-issue.chroot b/data/live-build-config/hooks/live/02-issue.chroot
index 732ebeb0..732ebeb0 100755
--- a/data/live-build-config/hooks/02-issue.chroot
+++ b/data/live-build-config/hooks/live/02-issue.chroot
diff --git a/data/live-build-config/hooks/03-root_bash_completion.chroot b/data/live-build-config/hooks/live/03-root_bash_completion.chroot
index b7ea8f52..b7ea8f52 100755
--- a/data/live-build-config/hooks/03-root_bash_completion.chroot
+++ b/data/live-build-config/hooks/live/03-root_bash_completion.chroot
diff --git a/data/live-build-config/hooks/04-locale.chroot b/data/live-build-config/hooks/live/04-locale.chroot
index 89a5f954..89a5f954 100755
--- a/data/live-build-config/hooks/04-locale.chroot
+++ b/data/live-build-config/hooks/live/04-locale.chroot
diff --git a/data/live-build-config/hooks/05-event_tty.chroot b/data/live-build-config/hooks/live/05-event_tty.chroot
index a00167f7..a00167f7 100755
--- a/data/live-build-config/hooks/05-event_tty.chroot
+++ b/data/live-build-config/hooks/live/05-event_tty.chroot
diff --git a/data/live-build-config/hooks/07-apt.chroot b/data/live-build-config/hooks/live/07-apt.chroot
index 8db33a78..8db33a78 100755
--- a/data/live-build-config/hooks/07-apt.chroot
+++ b/data/live-build-config/hooks/live/07-apt.chroot
diff --git a/data/live-build-config/hooks/08-sysconf.chroot b/data/live-build-config/hooks/live/08-sysconf.chroot
index 8d1616c0..8d1616c0 100755
--- a/data/live-build-config/hooks/08-sysconf.chroot
+++ b/data/live-build-config/hooks/live/08-sysconf.chroot
diff --git a/data/live-build-config/hooks/09-live.chroot b/data/live-build-config/hooks/live/09-live.chroot
index f19f0ae6..f19f0ae6 100755
--- a/data/live-build-config/hooks/09-live.chroot
+++ b/data/live-build-config/hooks/live/09-live.chroot
diff --git a/data/live-build-config/hooks/10-unmountfs.chroot b/data/live-build-config/hooks/live/10-unmountfs.chroot
index 7992a4d2..7992a4d2 100755
--- a/data/live-build-config/hooks/10-unmountfs.chroot
+++ b/data/live-build-config/hooks/live/10-unmountfs.chroot
diff --git a/data/live-build-config/hooks/11-busybox.chroot b/data/live-build-config/hooks/live/11-busybox.chroot
index fecce616..fecce616 100755
--- a/data/live-build-config/hooks/11-busybox.chroot
+++ b/data/live-build-config/hooks/live/11-busybox.chroot
diff --git a/data/live-build-config/hooks/12-udev-initramfs.chroot b/data/live-build-config/hooks/live/12-udev-initramfs.chroot
index 13bdfb89..13bdfb89 100755
--- a/data/live-build-config/hooks/12-udev-initramfs.chroot
+++ b/data/live-build-config/hooks/live/12-udev-initramfs.chroot
diff --git a/data/live-build-config/hooks/13-vyos_replace.chroot b/data/live-build-config/hooks/live/13-vyos_replace.chroot
index dcb00ff6..dcb00ff6 100755
--- a/data/live-build-config/hooks/13-vyos_replace.chroot
+++ b/data/live-build-config/hooks/live/13-vyos_replace.chroot
diff --git a/data/live-build-config/hooks/14-firmware-linux-nonfree.chroot b/data/live-build-config/hooks/live/14-firmware-linux-nonfree.chroot
index 887831cc..887831cc 100755
--- a/data/live-build-config/hooks/14-firmware-linux-nonfree.chroot
+++ b/data/live-build-config/hooks/live/14-firmware-linux-nonfree.chroot
diff --git a/data/live-build-config/hooks/15-sources_list.chroot b/data/live-build-config/hooks/live/15-sources_list.chroot
index 956f9bba..956f9bba 100755
--- a/data/live-build-config/hooks/15-sources_list.chroot
+++ b/data/live-build-config/hooks/live/15-sources_list.chroot
diff --git a/data/live-build-config/hooks/16-fuse.chroot b/data/live-build-config/hooks/live/16-fuse.chroot
index 126dc626..126dc626 100755
--- a/data/live-build-config/hooks/16-fuse.chroot
+++ b/data/live-build-config/hooks/live/16-fuse.chroot
diff --git a/data/live-build-config/hooks/17-gen_initramfs.chroot b/data/live-build-config/hooks/live/17-gen_initramfs.chroot
index aced728a..aced728a 100755
--- a/data/live-build-config/hooks/17-gen_initramfs.chroot
+++ b/data/live-build-config/hooks/live/17-gen_initramfs.chroot
diff --git a/data/live-build-config/hooks/18-enable-disable_services.chroot b/data/live-build-config/hooks/live/18-enable-disable_services.chroot
index d4d89ba8..d4d89ba8 100755
--- a/data/live-build-config/hooks/18-enable-disable_services.chroot
+++ b/data/live-build-config/hooks/live/18-enable-disable_services.chroot
diff --git a/data/live-build-config/hooks/19-kernel_symlinks.chroot b/data/live-build-config/hooks/live/19-kernel_symlinks.chroot
index e63ca263..e63ca263 100755
--- a/data/live-build-config/hooks/19-kernel_symlinks.chroot
+++ b/data/live-build-config/hooks/live/19-kernel_symlinks.chroot
diff --git a/data/live-build-config/hooks/20-rm_ddclient_hook.chroot b/data/live-build-config/hooks/live/20-rm_ddclient_hook.chroot
index 173b4e5c..173b4e5c 100755
--- a/data/live-build-config/hooks/20-rm_ddclient_hook.chroot
+++ b/data/live-build-config/hooks/live/20-rm_ddclient_hook.chroot
diff --git a/data/live-build-config/hooks/21-pam_mkhomedir.chroot b/data/live-build-config/hooks/live/21-pam_mkhomedir.chroot
index af155ba4..af155ba4 100755
--- a/data/live-build-config/hooks/21-pam_mkhomedir.chroot
+++ b/data/live-build-config/hooks/live/21-pam_mkhomedir.chroot
diff --git a/data/live-build-config/hooks/live/24-efi_packages.chroot b/data/live-build-config/hooks/live/24-efi_packages.chroot
new file mode 100755
index 00000000..c2b1ff11
--- /dev/null
+++ b/data/live-build-config/hooks/live/24-efi_packages.chroot
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+echo I: Download grub-efi packages.
+
+mkdir -p /usr/share/vyos/packages
+cd /usr/share/vyos/packages
+aptitude download grub-efi
+aptitude download grub-efi-amd64
diff --git a/data/live-build-config/hooks/30-frr-configs.chroot b/data/live-build-config/hooks/live/30-frr-configs.chroot
index cc169fb5..cc169fb5 100755
--- a/data/live-build-config/hooks/30-frr-configs.chroot
+++ b/data/live-build-config/hooks/live/30-frr-configs.chroot
diff --git a/data/live-build-config/hooks/30-strongswan-configs.chroot b/data/live-build-config/hooks/live/30-strongswan-configs.chroot
index 25562a65..25562a65 100755
--- a/data/live-build-config/hooks/30-strongswan-configs.chroot
+++ b/data/live-build-config/hooks/live/30-strongswan-configs.chroot
diff --git a/data/live-build-config/hooks/99-cleanup-packages.chroot b/data/live-build-config/hooks/live/99-cleanup-packages.chroot
index 63be7df6..63be7df6 100755
--- a/data/live-build-config/hooks/99-cleanup-packages.chroot
+++ b/data/live-build-config/hooks/live/99-cleanup-packages.chroot