From b76977e710cebed3a799f0ac0b25b1a380323745 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sun, 8 Sep 2013 19:50:07 -0400 Subject: add mkinitcpio version marker in buildroot creation It doesn't make any sense that this was added during the final image creation. This fixes a subtle bug that would manifest itself if the user archived the build root manually. Signed-off-by: Dave Reisner --- functions | 3 +++ 1 file changed, 3 insertions(+) (limited to 'functions') diff --git a/functions b/functions index 532884f..e54f4bf 100644 --- a/functions +++ b/functions @@ -648,6 +648,9 @@ initialize_buildroot() { ;; esac + # mkinitcpio version stamp + printf '%s' "$version" >"$workdir/root/VERSION" + # kernel module dir install -dm755 "$workdir/root/usr/lib/modules/$kernver/kernel" -- cgit v1.2.3-24-g4f1b