diff options
author | Dave Reisner <dreisner@archlinux.org> | 2013-09-09 01:50:07 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2013-09-09 01:50:07 +0200 |
commit | b76977e710cebed3a799f0ac0b25b1a380323745 (patch) | |
tree | a168f231587b2938e99d10cea0360a75544e4cea /functions | |
parent | d0cbe1615281a935d492cc1fd7542198f22f71ad (diff) | |
download | mkinitcpio-b76977e710cebed3a799f0ac0b25b1a380323745.tar.gz mkinitcpio-b76977e710cebed3a799f0ac0b25b1a380323745.tar.xz |
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 <dreisner@archlinux.org>
Diffstat (limited to 'functions')
-rw-r--r-- | functions | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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" |