diff options
author | Kim Hagen <kim.sidney@gmail.com> | 2016-02-05 11:26:15 -0500 |
---|---|---|
committer | Kim Hagen <kim.sidney@gmail.com> | 2016-02-05 11:26:15 -0500 |
commit | 9d55d9c93d232441509232b3613354f9d409c961 (patch) | |
tree | 0faf8bd71588cfaa1ff87b16c30b4183f6c3e8a2 | |
parent | 89b0d6e89a06a0e56f32f4ee5f875b62fe885ee0 (diff) | |
download | vyos-build-9d55d9c93d232441509232b3613354f9d409c961.tar.gz vyos-build-9d55d9c93d232441509232b3613354f9d409c961.zip |
Add binary hook for backwards compatibility and a hook that creates symlinks for vmlinuz and initrd.img.
-rwxr-xr-x | data/live-build-config/hooks/00-manifest.binary | 4 | ||||
-rwxr-xr-x | data/live-build-config/hooks/17-kernel_symlinks.chroot | 6 |
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 |