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

Bug#375928: base-installer: install cryptsetup if necessary

On Thu, June 29, 2006 9:48, Frans Pop said:
> On Thursday 29 June 2006 01:54, David Härdeman wrote:
>> The attached patch allows base-installer to know when cryptsetup is
>> necessary and to install it before the initramfs image has been
>> generated so that the crypto-root hook/script can be included.
> +		if dmsetup table | cut -d' ' -f4 | grep -q "crypt"; then
> +			apt-install cryptsetup
> +		fi
> Does this first line perhaps need a 2>/dev/null?
> I mean, if dmsetup can return error messages if it is not present in the
> installer or crypto is not used during the installation, then it would
> probably better to suppress those.

Seems reasonable.

Reply to: