projects
/
genkernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
097e88f
)
Record the version of Genkernel used to build a given initramfs.
author
Robin H. Johnson
<robbat2@gentoo.org>
Sat, 13 Oct 2012 18:33:23 +0000
(18:33 +0000)
committer
Robin H. Johnson
<robbat2@gentoo.org>
Sat, 13 Oct 2012 18:33:23 +0000
(18:33 +0000)
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
gen_initramfs.sh
patch
|
blob
|
history
diff --git
a/gen_initramfs.sh
b/gen_initramfs.sh
index 29fa65246de39fd26275b7ecd60f28724b24face..f986ed4f202b5a5e7b50349d1f015b28f48d87c1 100755
(executable)
--- 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