Permalink
Browse files

Merge pull request #30 from cavalier38/kernel_options

Support other kernel configuration locations
  • Loading branch information...
sofar committed Nov 18, 2012
2 parents f09fe35 + 5dac503 commit 108afe439c69dcea47edbb684c0b0850b3256df6
Showing with 4 additions and 0 deletions.
  1. +4 −0 libs/kernel.lunar
View
@@ -57,8 +57,12 @@ update_bootloader() {
kernel_config_exists() {
if [ -e /proc/config.gz ]; then
echo "/proc/config.gz"
+ elif [ -e /boot/config-$(uname -r)-$(arch).gz ]; then
+ echo "/boot/config-$(uname -r)-$(arch).gz"
elif [ -e /usr/src/linux/.config ]; then
echo "/usr/src/linux/.config"
+ elif [ -e $CONFIG_CACHE/.config.current ]; then
+ echo "$CONFIG_CACHE/.config.current"
elif [ -e $CONFIG_CACHE/.config.2.6.stable ]; then
echo "$CONFIG_CACHE/.config.2.6.stable"
else

0 comments on commit 108afe4

Please sign in to comment.