From: Michael Prokop Date: Sun, 3 Dec 2006 11:48:00 +0000 (+0100) Subject: * Display "not using swap partition" only in live-cd mode. X-Git-Tag: 0.6-6 X-Git-Url: http://git.grml.org/?p=grml-autoconfig.git;a=commitdiff_plain;h=af7c237c82776e604a17963fe2bec0ff87c8fb28;hp=4ff9af3f55fe5035c1f1910876ba17e4a61c9bda * Display "not using swap partition" only in live-cd mode. --- diff --git a/autoconfig.functions b/autoconfig.functions index 22a8e83..5307d54 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -964,7 +964,9 @@ if [ -n "$partitions" ]; then case "$f" in swap) eindent if [ -n "$NOSWAP" ]; then - ewarn "Ignoring swap partition ${WHITE}$p${NORMAL}. (Force usage via boot option 'swap', or execute grml-swapon)" ; eend 0 + if [ -z "$INSTALLED" ] ; then + ewarn "Ignoring swap partition ${WHITE}$p${NORMAL}. (Force usage via boot option 'swap', or execute grml-swapon)" ; eend 0 + fi else case "$(dd if=$p bs=1 count=6 skip=4086 2>/dev/null)" in S1SUSP|S2SUSP|pmdisk|[zZ]*) diff --git a/debian/changelog b/debian/changelog index 867569a..3ce03ed 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +grml-autoconfig (0.6-6) unstable; urgency=low + + * Display "not using swap partition" only in live-cd mode. + + -- Michael Prokop Sun, 3 Dec 2006 12:47:42 +0100 + grml-autoconfig (0.6-5) unstable; urgency=low * Adjust swraid bootoption information text, thanks formorer