![]() |
Packaging debs: module-init-tools
I've compiled module-init-tools-3.3-pre1 for OS2008, mainly because I wanted a working modprobe. I've created a .deb, but I have to install it with dpkg --force-conflicts due to the conflicts with busybox.
Is there a way to create the control file so dpkg or apt does this automatically? |
Re: Packaging debs: module-init-tools
Not that I know of. The control file fields are described here: http://www.debian.org/doc/debian-pol...rolfields.html
A workaround could be to install the conflicting files in /usr/local, and set /usr/local/{bin,sbin} first in the PATH in your .profile file. Another workaround could be to call your file modprobe.new, and include a post-inst script which renames the old one and either symlinks or renames the new one (symlink is probably better), and a postrm (or prerm) script which does the opposite. (BTW I though the reason modprobe (the installed one) didn't work was because of a missing depmod? Which, IIRC, needs Perl to work? Something like that?) |
Re: Packaging debs: module-init-tools
Quote:
I wasn't aware of any perl dependency, but thus far, it all works well. I experimented with nfs and smbfs. An initial depmod was required for modules.dep creation. Code:
root@Nokia-N800-44-4 /root # modprobe nfs |
All times are GMT. The time now is 12:16. |
vBulletin® Version 3.8.8