/etc/kernel/postinst.d

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
notspecial
Posts: 16
Joined: 7. Feb 2024, 19:25

/etc/kernel/postinst.d

Post by notspecial »

Hi,

Salix 15.0 64-bit.

I'm looking for information about /etc/kernel/postinst.d. How is this directory used? What triggers looking in this directory for post install scripts?

I checked the online documentation (very nice site), but did not find anything relevant.

Thanks. :)
User avatar
gapan
Salix Wizard
Posts: 6439
Joined: 6. Jun 2009, 17:40

Re: /etc/kernel/postinst.d

Post by gapan »

There is no such directory on a Salix system.
Image
Image
notspecial
Posts: 16
Joined: 7. Feb 2024, 19:25

Re: /etc/kernel/postinst.d

Post by notspecial »

Ah, okay, thanks. That info helped me figure out where the directory came from -- virtualbox guest additions.

Originally where I was going with that /etc directory is perhaps supporting the generic kernel in Salix 15.0. The huge kernel is going away in the next Slackware release. I'll guess that means going away in Salix too, but regardless does not help with 15.0. The key point is finding a way to automate generating an initrd in Salix. I can hack that on my own, but when I saw the referenced /etc directory I thought that might provide a hook of some sort. A little more web surfing indicates the package manager probably needs to support that /etc directory (seems like a Red Hat and Debian thing). I think Current now supports automatically creating an initrd but again, no help with 15.0. Oh well. :)
Post Reply