diff options
author | Daniel Baumann <daniel@debian.org> | 2007-09-23 10:05:15 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 18:22:26 +0100 |
commit | c79ab34a7c597c9e3ab202c644121c6944789424 (patch) | |
tree | 324691f4f851c719b864229b399584f035b2873f /helpers/lh_binary_linux-image | |
parent | 0d5ff4ca7596790f853cf637e0fe225cad810a76 (diff) | |
download | vyos-live-build-c79ab34a7c597c9e3ab202c644121c6944789424.tar.gz vyos-live-build-c79ab34a7c597c9e3ab202c644121c6944789424.zip |
Adding live-helper 1.0~a19-1.
Diffstat (limited to 'helpers/lh_binary_linux-image')
-rwxr-xr-x | helpers/lh_binary_linux-image | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/helpers/lh_binary_linux-image b/helpers/lh_binary_linux-image index b4cee2eb6..077b4e319 100755 --- a/helpers/lh_binary_linux-image +++ b/helpers/lh_binary_linux-image @@ -98,5 +98,21 @@ mkdir -p "${DESTDIR}" cp chroot/boot/"${LINUX}"-* "${DESTDIR}" cp chroot/boot/initrd.img-* "${DESTDIR}" +# Including boot parameter documentation +if [ "${LIVE_BINARY_IMAGES}" != "net" ] +then + DESTDIR="binary" +fi + +case "${LH_INITRAMFS}" in + casper) + cp "${LH_BASE:-/usr/share/live-helper}"/data/casper/parameters.txt "${DESTDIR}"/parameters.txt + ;; + + live-initramfs) + cp chroot/usr/share/doc/live-initramfs/parameters.txt "${DESTDIR}"/parameters.txt + ;; +esac + # Creating stage file Create_stagefile .stage/binary_linux-image |