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

Nicolas Chauvet kwizart at gmail.com
Wed May 23 21:25:30 CEST 2012


2012/5/23 Richard Shaw <hobbes1069 at gmail.com>:
> 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.

Why it is not easier to consider that akmods built on shutdown or
kernel-devel installation instead to recreate the kernel module
loading process ?

Nicolas (kwizart)


More information about the rpmfusion-developers mailing list