From: Michael Prokop Date: Sun, 28 Oct 2007 14:45:33 +0000 (+0100) Subject: Set /etc/grml_version of live-system to the according value X-Git-Tag: 0.0.7~25 X-Git-Url: https://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=f9fdf13a9a60e4a9b4f7859a0fe38266dff24abf;hp=39ce825bf40a2c829468d6314091cf1f8ec9989a;ds=sidebyside Set /etc/grml_version of live-system to the according value --- diff --git a/debian/changelog b/debian/changelog index a70031e..daed0e3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -9,6 +9,7 @@ grml-live (0.0.7) unstable; urgency=low - buildd/functions.sh: do not mv files if there was an error during grml-live execution - do not re-execute grml-live is the target ISO exists already + * Set /etc/grml_version of live-system to the according value. * Log to /var/log/grml-live.log by default now and support $ZERO_LOGFILE for cleaning up logs. * Added new grml-repository named grml-live which is intented diff --git a/grml-live b/grml-live index 196f96a..c7f48c1 100755 --- a/grml-live +++ b/grml-live @@ -302,6 +302,7 @@ else fai $VERBOSE -C "$GRML_FAI_CONFIG" -c"$CLASSES" -u "$HOSTNAME" dirinstall "$CHROOT_OUTPUT" $FAI_ARGS | tee -a $LOGFILE log "Setting /etc/grml_version to $GRML_NAME $VERSION Release Codename $RELEASENAME [$ISO_DATE]" echo "$GRML_NAME $VERSION Release Codename $RELEASENAME [$ISO_DATE]" > $CHROOT_OUTPUT/etc/grml_version + chmod 644 $CHROOT_OUTPUT/etc/grml_versio umount $CHROOT_OUTPUT/proc 2>/dev/null || /bin/true umount $CHROOT_OUTPUT/sys 2>/dev/null || /bin/true [ -n "$MIRROR_DIRECTORY" ] && umount "${CHROOT_OUTPUT}/${MIRROR_DIRECTORY}"