summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_linux-image
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:05:15 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:22:26 +0100
commitc79ab34a7c597c9e3ab202c644121c6944789424 (patch)
tree324691f4f851c719b864229b399584f035b2873f /helpers/lh_binary_linux-image
parent0d5ff4ca7596790f853cf637e0fe225cad810a76 (diff)
downloadlive-build-c79ab34a7c597c9e3ab202c644121c6944789424.zip
live-build-c79ab34a7c597c9e3ab202c644121c6944789424.tar.gz
Adding live-helper 1.0~a19-1.
Diffstat (limited to 'helpers/lh_binary_linux-image')
-rwxr-xr-xhelpers/lh_binary_linux-image16
1 files changed, 16 insertions, 0 deletions
diff --git a/helpers/lh_binary_linux-image b/helpers/lh_binary_linux-image
index b4cee2e..077b4e3 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