Permalink
Browse files

,kernel-install runs 'make' as superuser

  • Loading branch information...
1 parent 247d795 commit 7a4b72d6920093759d5aa92df461161f31756cc6 @rking rking committed with rking@sharpsaw.org Jan 24, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/,kernel-install
View
@@ -11,7 +11,7 @@ img=/boot/kernel-$name
sudo=${SUDO:-sudo}
makeflags=${MAKEFLAGS:--j5}
cd /usr/src/linux
-make $makeflags
+$sudo make $makeflags
$sudo make $makeflags modules_install
[ -e /boot/grub ] || $sudo mount /boot
$sudo cp arch/*/boot/bzImage(.) $img

0 comments on commit 7a4b72d

Please sign in to comment.