From 24cdc08ddb22a13bc6296c85d3f749097c51ee0e Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Thu, 16 Nov 2006 21:35:22 +0100 Subject: [PATCH 1/1] autoconfig.functions: make sure we can access /proc/cmdline when just sourcing this file too --- autoconfig.functions | 1 + debian/changelog | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/autoconfig.functions b/autoconfig.functions index 344929b..03e4aac 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -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' ' ')" # }}} diff --git a/debian/changelog b/debian/changelog index 1902813..0fca2b6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Thu, 16 Nov 2006 21:33:35 +0100 + grml-autoconfig (0.5-25) unstable; urgency=low * grml-autoconfig script: deprecate CONFIG_KERNEL, CONFIG_LANGUAGE, -- 2.1.4