On Mon, 3 Dec 2012 18:45, Andrey Borzenkov <arvidjaar@...> wrote:
Package installs file into /etc/modprobe.d. This results in error
[ 37s] dkms-2.2.0.3-9.1.noarch.rpm: directories not owned by a package: [ 37s] - /etc/modprobe.d
I am not sure why - am I supposed to own every intermediate directory? Including /etc?
1. dir /etc is owned by package filesystem dir /etc/modprobe.d is owned by package module-init-tools see "rpm -qf /etc/modprobe.d" as your "dkms" would need parts of module-init-tools (e.g. insmod, modprobe) to work as advertised, a line with: Require: module-init-tools would be your safe bet for a fully working package later. 2. If you are sure you do NOT need any parts of module-init-tools, you can use a line with %dir %{_sysconfdir}/modprobe.d in your %files section, but without module-init-tools the existance of a file in /etc/modprobe.d is questionable for your package. Hope this give the hints you need. -- Yamaban. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org