autoconfig.functions: make sure we can access /proc/cmdline 0.5-26
authorMichael Prokop <mika@grml.org>
Thu, 16 Nov 2006 20:35:22 +0000 (21:35 +0100)
committerMichael Prokop <mika@grml.org>
Thu, 16 Nov 2006 20:35:22 +0000 (21:35 +0100)
when just sourcing this file too

autoconfig.functions
debian/changelog

index 344929b..03e4aac 100755 (executable)
@@ -89,6 +89,7 @@ mount_sys(){
 # }}}
 
 # {{{ Read in boot parameters
+[ -f /proc/version ] || mount_proc # make sure we can access /proc/cmdline when sourcing this file too
 CMDLINE="$(cat /proc/cmdline)"
 [ -d /cdrom/bootparams/ ] && CMDLINE="$CMDLINE $(cat /cdrom/bootparams/* | tr '\n' ' ')"
 # }}}
index 1902813..0fca2b6 100644 (file)
@@ -1,3 +1,10 @@
+grml-autoconfig (0.5-26) unstable; urgency=low
+
+  * autoconfig.functions: make sure we can access /proc/cmdline
+    when just sourcing this file too
+
+ -- Michael Prokop <mika@grml.org>  Thu, 16 Nov 2006 21:33:35 +0100
+
 grml-autoconfig (0.5-25) unstable; urgency=low
 
   * grml-autoconfig script: deprecate CONFIG_KERNEL, CONFIG_LANGUAGE,