From c79ab34a7c597c9e3ab202c644121c6944789424 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 23 Sep 2007 10:05:15 +0200 Subject: Adding live-helper 1.0~a19-1. --- helpers/lh_binary_linux-image | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'helpers/lh_binary_linux-image') 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 -- cgit v1.2.3