Permalink
Browse files

Install, and reference, LICENSE and COPYING in the ISO image

This puts the LICENSE and COPYING files, which define the software license
terms, in the ISO image.  That helps users understand the terms that they are
receiving this software under.

It also references that file from the ISO9660 metadata, because why not?

Signed-off-by: Daniel Pittman <daniel@rimspace.net>
  • Loading branch information...
slippycheeze committed Jan 8, 2013
1 parent 38b6d3a commit 2a4b7b1aba84af0041e51c2ae039ad39466161de
Showing with 7 additions and 0 deletions.
  1. +3 −0 build-bundle-file.sh
  2. +3 −0 iso-build-files/build_initial_directories.sh
  3. +1 −0 iso-build-files/rebuild_iso.sh
View
@@ -456,6 +456,9 @@ cd tmp-build-dir
echo "creating razor microkernel overlay tarball"
tar zc${TAR_V}f build_dir/dependencies/razor-microkernel-overlay.tar.gz usr etc opt tmp root
+# ensure the copyright and license content is added to the image
+cp COPYING LICENSE tmp-build-dir/build_dir/
+
# and create a gzipped tarfile containing the dependencies folder and the set
# of scripts that are used to build the ISO (so that all the user has to do is
# copy over this one file to a directory somewhere and unpack it and they will
@@ -58,3 +58,6 @@ cd ..
mkdir newiso
cp -rp original-iso-files/boot newiso
sed -i "s/timeout 300/timeout 100/" newiso/boot/isolinux/isolinux.cfg
+
+# Install the copyright and license files in the new ISO image
+cp COPYING LICENSE newiso/
@@ -106,4 +106,5 @@ EOF
-A 'Razor Microkernel' -sysid 'LINUX' \
-p "${preparer:0:128}" \
-V "Razor MK ${ISO_VERSION:0:22}" \
+ -copyright 'LICENSE' \
-o "${ISO_NAME}" newiso

0 comments on commit 2a4b7b1

Please sign in to comment.