[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#587887: linux-base: please suppress useless debconf messages on first install



package: linux-base
version: 2.6.32-15
severity: wishlist
tags: patch

Hi,

first of all: thank you all for maintaining linux-2.6 - you're doing an 
awesome job!

<h01ger> hi. i'm using .32.bpo on lenny, together with linux-base. so far so 
good, works great. but i have an issue with automated installs (with d-i and 
preseeding): linux-base informs me that /etc/fstab contains an entry 
(/etc/scd0 iirc) which might not work in future versions. i couldnt care less 
and would like to get rid of this warning,as it prevents fully automated 
installations
<bwh^> h01ger: I put a heuristic in there to work out whether this is a fresh 
installation or upgrade
<bwh^> h01ger: Maybe you can suggest how to improve it
<bwh^> (the problem is that linux-base did not exist in lenny, so we cannot 
check whether the package itself is being upgraded)
<bwh^> Of course you should also be able to preseed the answer
<h01ger> i tried, using what debconf-get-selections |grep linux-base gave me 
after an installation, but that didnt work
<bwh^> weird

# make linux-base install quietly
#
# Boot loader configuration check needed
linux-base      linux-base/disk-id-manual-boot-loader   error
# Configuration files still contain deprecated device names
linux-base      linux-base/disk-id-manual       error
# Apply configuration changes to disk device IDs?
linux-base      linux-base/disk-id-convert-plan-no-relabel      boolean true
# Opdater diskenheds-id'er i systemkonfigurationen?
linux-base      linux-base/disk-id-convert-auto boolean true
# Apply configuration changes to disk device IDs?
linux-base      linux-base/disk-id-convert-plan boolean true

<h01ger> bwh, i wonder if your test fails as there were already .26 packages 
installed...
<h01ger> ha! if /var/log/installer doesnt exist, its a fresh install. bingo

see attached patch

<h01ger> bwh, do you want a wishlist bug about this?
<bwh^> h01ger: Yes, file a wishlist bug, please


cheers,
	Holger
1578a1579,1581
>     if !(-d '/var/log/installer') {
> 	return 0;
>     }

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: