Package: live-config Version: 3.0~a26 Severity: important Tags: patch
In function Cmdline file existence is ignored during _SCRIPTS list construction. This leaves live system in unconfigured state. Here is the patch to fix the issue. commit 1f698315d768ee12b95e20d63775e91bb8738f2c Author: Stanislav Bogatyrev <real...@realloc.spb.ru> Date: Wed Sep 21 18:50:18 2011 +0400 Check if config script exists diff --git a/scripts/config.sh b/scripts/config.sh index a8c1c00..392f469 100755 --- a/scripts/config.sh +++ b/scripts/config.sh @@ -91,7 +91,9 @@ Cmdline () then for _CONFIG in $(echo ${LIVE_CONFIGS} | sed -e 's|,| |g') do - _SCRIPTS="${_SCRIPTS} $(ls /lib/live/config/???-${_CONFIG})" + if [ -e /lib/live/config/???-${_CONFIG} ];then + _SCRIPTS="${_SCRIPTS} $(ls /lib/live/config/???-${_CONFIG})" + fi done fi @@ -100,7 +102,9 @@ Cmdline () then for _NOCONFIG in $(echo ${LIVE_NOCONFIGS} | sed -e 's|,| |g') do - _SCRIPTS="$(echo ${_SCRIPTS} | sed -e "s|$(ls /lib/live/config/???-${_NOCONFIG})||")" + if [ -e /lib/live/config/???-${_NOCONFIG} ];then + _SCRIPTS="$(echo ${_SCRIPTS} | sed -e "s|$(ls /lib/live/config/???-${_NOCONFIG})||")" + fi done fi } -- System Information: Debian Release: 6.0.2 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org