How to add systemd service file to akmods package [SOLVED]

Richard Shaw hobbes1069 at gmail.com
Wed May 23 21:16:17 CEST 2012


On Wed, May 23, 2012 at 10:22 AM, Richard Shaw <hobbes1069 at gmail.com> wrote:
> I'm attempting to update my ZFS kmod packages and I released that for
> the akmods package I also need a systemd service file so that it runs
> early enough, but also so that the SPL kmod is built before the ZFS
> kmod.
>
> kmodtool doesn't give me any way to modify what files are packaged for
> the akmods package.
>
> I guess the simplest solution would be to create an additional package
> with just the service file and make sure the kmod-spl and kmod-zfs
> packages require it?

The short answer is, "you don't".

Apparently, when akmods builds the package is automatically installs
all the packages that are generated other than the debuginfo packages.
I just created a <kmod-name>-systemd package and now everything's
happy.

Richard


More information about the rpmfusion-developers mailing list