[Pkg-dkms-maint] Bug#762324: linux-image-3.16-2-amd64: sed error when executing /etc/kernel/postinst.d/dkms

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Mon Sep 22 15:42:02 UTC 2014


Hello,

On Mon, Sep 22, 2014 at 06:28:54PM +0300, Jacek Sobczak wrote:
> + for file in '"$@"'
> + [[ -n /etc/modprobe.d/dkms.conf ]]
> + [[ -w /etc/modprobe.d/dkms.conf ]]
Funny, that's the result of:

	[[ $file && -w $file ]]

with file=/etc/modprobe.d/dkms.conf.

> + [[ /etc/modprobe.d/dkms.conf = /etc/sysconfig/kernel ]]
> + sed /etc/modprobe.d/dkms.conf
> sed: -e expression #1, char 6: unknown command: `m'
That's line 3522 of /usr/sbin/dkms:

	sed "${sa_mc_o[@]}" "$file" > "$temp_dir_name/${file##*/}.new"

It seems sa_mc_o is empty.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |



More information about the Pkg-dkms-maint mailing list