LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Creating debian package (https://www.linuxquestions.org/questions/linux-newbie-8/creating-debian-package-809296/)

greplinux 05-21-2010 08:17 AM

Creating debian package
 
Hi All,

I wrote a hello world loadable module and tried to pack it as a .deb package. While trying to do so, I came across some technique that were applicable to userland applications.

Is there any way to pack a loadable module in to .deb package?

Thanks

AwesomeMachine 05-23-2010 01:16 AM

There are python scripts to help build more complex debian packages. But it isn't magic. The computer doesn't know what you are thinking. If you want a debian package to compile, install and load a module, you have to write a preinst script that tells the computer what you want it to do. You can also look here: http://search.cpan.org/~asksh/Module...Debian.pm#NAME

greplinux 05-24-2010 12:41 AM

Thank you AwesomeMachine. What I wanted to know is that it is possible to load a driver module by means of a .deb package. From your answer, I get that it is possible.

I will search more in this and let you know if i get any thing.

Thanks again!!

NOTE:
I guess you know the difference between installing a loadable module and user applications.


All times are GMT -5. The time now is 02:52 PM.