From 5d93452a3be7dcc71ad1db96f28e6275d00deb20 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 13 Oct 2012 18:33:23 +0000 Subject: [PATCH] Record the version of Genkernel used to build a given initramfs. Signed-off-by: Robin H. Johnson --- gen_initramfs.sh | 1 + 1 file changed, 1 insertion(+) 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 -- 2.26.2