Copy /etc/grml_version to initrd
[live-boot-grml.git] / backend / initramfs-tools / live.hook
index fc3d6b4..da0457c 100755 (executable)
@@ -16,6 +16,12 @@ do
        fi
 done
 
+# Grml version information:
+if [ -r /etc/grml_version ]
+then
+       cp /etc/grml_version "${DESTDIR}"/etc
+fi
+
 # Checking live-boot
 if [ ! -e /bin/live-boot ]
 then