X-Git-Url: https://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=grml-live;h=40f3cebb08bf8db5297cfa7ac3f4bf6b0c5865e9;hp=6e4522c2c17079abfa8d7a6d783ead1d828c1778;hb=80c5fd262cb22446fbb465e6896b90a5854345da;hpb=533b646324c35fe26c9dcd2848440aa8b73a2923 diff --git a/grml-live b/grml-live index 6e4522c..40f3ceb 100755 --- a/grml-live +++ b/grml-live @@ -447,6 +447,12 @@ if [ -n "$BUILD_DIRTY" ]; then else [ -n "$CHROOT_OUTPUT" ] || CHROOT_OUTPUT="$OUTPUT/grml_chroot" + # provide inform fai about the ISO we build + [ -d "$CHROOT_OUTPUT/etc/" ] || mkdir -p "$CHROOT_OUTPUT/etc/" + echo '# This file has been generated by grml-live.' > "$CHROOT_OUTPUT/etc/grml_live_version" + [ -n "$GRML_LIVE_VERSION" ] && echo "GRML_LIVE_VERSION=$GRML_LIVE_VERSION" >> "$CHROOT_OUTPUT/etc/grml_live_version" + [ -n "$SUITE" ] && echo "SUITE=$SUITE" >> "$CHROOT_OUTPUT/etc/grml_live_version" + if [ -n "$UPDATE" -o -n "$BUILD_ONLY" ] ; then FAI_ACTION=softupdate else