summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdata/live-build-config/hooks/00-manifest.binary4
-rwxr-xr-xdata/live-build-config/hooks/17-kernel_symlinks.chroot6
2 files changed, 10 insertions, 0 deletions
diff --git a/data/live-build-config/hooks/00-manifest.binary b/data/live-build-config/hooks/00-manifest.binary
new file mode 100755
index 0000000..6db8b6f
--- /dev/null
+++ b/data/live-build-config/hooks/00-manifest.binary
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+echo I: Backwards compat packages.txt
+echo "ii vyatta-version " > binary/live/packages.txt
diff --git a/data/live-build-config/hooks/17-kernel_symlinks.chroot b/data/live-build-config/hooks/17-kernel_symlinks.chroot
new file mode 100755
index 0000000..e63ca26
--- /dev/null
+++ b/data/live-build-config/hooks/17-kernel_symlinks.chroot
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+echo I: Creating kernel symlinks.
+cd /boot
+ln -s initrd.img-* initrd.img
+ln -s vmlinuz-* vmlinuz