[Lunar-commits] <lunar> Added another kernel config location
Peter de Ridder
peter at lunar-linux.org
Sun Jan 6 02:22:48 CET 2013
commit 8d03b26a255045f566a4e3b87f424425e67f2e8c
Author: Peter de Ridder <peter at lunar-linux.org>
Date: Sat, 05 Jan 2013 17:22:48 -0800
URL: https://github.com/lunar-linux/lunar/commit/8d03b26a255045f566a4e3b87f424425e67f2e8c
Added another kernel config location
---
libs/kernel.lunar | +2/-0
1 file changed, 2 insertions(+)
--- a/libs/kernel.lunar
+++ b/libs/kernel.lunar
@@ -57,6 +57,8 @@ update_bootloader() {
kernel_config_exists() {
if [ -e /proc/config.gz ]; then
echo "/proc/config.gz"
+ elif [ -e /lib/modules/$(uname -r)/source/.config ]; then
+ echo "/lib/modules/$(uname -r)/source/.config"
elif [ -e /boot/config-$(uname -r)-$(arch).gz ]; then
echo "/boot/config-$(uname -r)-$(arch).gz"
elif [ -e /usr/src/linux/.config ]; then
More information about the Lunar-commits
mailing list