From: Robin H. Johnson Date: Sat, 13 Oct 2012 18:33:23 +0000 (+0000) Subject: Record the version of Genkernel used to build a given initramfs. X-Git-Tag: v3.4.44~11 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5d93452a3be7dcc71ad1db96f28e6275d00deb20;p=genkernel.git Record the version of Genkernel used to build a given initramfs. Signed-off-by: Robin H. Johnson --- diff --git a/gen_initramfs.sh b/gen_initramfs.sh index 29fa652..f986ed4 100755 --- a/gen_initramfs.sh +++ b/gen_initramfs.sh @@ -88,6 +88,7 @@ append_base_layout() { mknod -m 600 ttyS0 c 4 64 date -u '+%Y%m%d-%H%M%S' > ${TEMP}/initramfs-base-temp/etc/build_date + echo "Genkernel $GK_V" > ${TEMP}/initramfs-base-temp/etc/build_id cd "${TEMP}/initramfs-base-temp/" log_future_cpio_content