diff options
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 |