X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=grml-live;h=dc36d244cdcc0d236cff986667c49b26e394c8c2;hb=5eabf98c5e2bcb6a2a1ad5da385253acca03cdcd;hp=f10006637bd37a41b548b08e863a070c8ff58422;hpb=339590e244585c5334c41250b10abdc01e732a17;p=grml-live.git diff --git a/grml-live b/grml-live index f100066..dc36d24 100755 --- a/grml-live +++ b/grml-live @@ -447,11 +447,10 @@ if [ -n "$BUILD_DIRTY" ]; then else [ -n "$CHROOT_OUTPUT" ] || CHROOT_OUTPUT="$OUTPUT/grml_chroot" - # inform fai about the suite we build - if [ -n "$SUITE" ] ; then - [ -d "$CHROOT_OUTPUT/etc/grml" ] || mkdir -p "$CHROOT_OUTPUT/etc/grml" - echo "SUITE=$SUITE" > "$CHROOT_OUTPUT/etc/grml/grml-live-build-info" - fi + # provide inform fai about the ISO we build + 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