Rebuild initramfs
authorMichael Prokop <devnull@localhost>
Mon, 1 Sep 2008 21:52:49 +0000 (23:52 +0200)
committerMichael Prokop <devnull@localhost>
Mon, 1 Sep 2008 21:52:49 +0000 (23:52 +0200)
debian/changelog
grml-live

index ca8f17d..d404d4f 100644 (file)
@@ -1,3 +1,10 @@
+grml-live (0.9.1) unstable; urgency=low
+
+  * Rebuild initramfs to make sure that the up2date /etc/grml_version
+    is available in the live initramfs. [Closes: issue516]
+
+ -- Michael Prokop <mika@grml.org>  Mon, 01 Sep 2008 23:51:50 +0200
+
 grml-live (0.9.0) unstable; urgency=low
 
   * Update to kernel 2.6.26-grml[64].
index 48d42a5..e629957 100755 (executable)
--- a/grml-live
+++ b/grml-live
@@ -423,6 +423,7 @@ else
       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_version
+      chroot $CHROOT_OUTPUT update-initramfs -u -t # make sure new /etc/grml_version reaches the initramfs
    fi
 
    # Remove all FAI logs from chroot if class RELEASE is used: