Record the version of Genkernel used to build a given initramfs.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
cleanup-cruft
Robin H. Johnson 12 years ago
parent 097e88ff46
commit 5d93452a3b

@ -88,6 +88,7 @@ append_base_layout() {
mknod -m 600 ttyS0 c 4 64 mknod -m 600 ttyS0 c 4 64
date -u '+%Y%m%d-%H%M%S' > ${TEMP}/initramfs-base-temp/etc/build_date 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/" cd "${TEMP}/initramfs-base-temp/"
log_future_cpio_content log_future_cpio_content

Loading…
Cancel
Save