summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-09-18 17:09:36 +0200
committerErich Eckner <git@eckner.net>2016-09-18 17:09:36 +0200
commit327b585ea8c64a7fd2631ae5cc7cc79702ad98ae (patch)
treee832ffcb0857905a68090b9028df3e9ed07b2347
parent6f812819d3ee66df817a9d7375265cb0bd1fdf4c (diff)
downloadmakekernel-327b585ea8c64a7fd2631ae5cc7cc79702ad98ae.tar.xz
source config in su a second time
-rw-r--r--makekernel.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/makekernel.in b/makekernel.in
index 3eb7bf4..c1b054c 100644
--- a/makekernel.in
+++ b/makekernel.in
@@ -186,6 +186,7 @@ grep -q '^# CONFIG_MODULES is not set$' .config || make modules_install
echo 'becoming root ...'
su -c ' \
+ . #ETCDIR#/makekernel.conf && \
before_install_hook && \
make install && \
grub-mkconfig -o /boot/grub/grub.cfg && \