Set /etc/grml_version of live-system to the according value
authorMichael Prokop <devnull@localhost>
Sun, 28 Oct 2007 14:45:33 +0000 (15:45 +0100)
committerMichael Prokop <devnull@localhost>
Sun, 28 Oct 2007 14:45:33 +0000 (15:45 +0100)
debian/changelog
grml-live

index a70031e..daed0e3 100644 (file)
@@ -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
     - 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
   * 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
index 196f96a..c7f48c1 100755 (executable)
--- 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
    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}"
    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}"