LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 05-21-2010, 09:17 AM   #1
greplinux
Member
 
Registered: Jun 2007
Posts: 118

Rep: Reputation: 17
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
 
Old 05-23-2010, 02:16 AM   #2
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian jessie/sid; OpenSuSE; Fedora
Posts: 1,593

Rep: Reputation: 162Reputation: 162
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
 
Old 05-24-2010, 01:41 AM   #3
greplinux
Member
 
Registered: Jun 2007
Posts: 118

Original Poster
Rep: Reputation: 17
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
creating rpm package javimd786 Linux - Newbie 1 01-05-2010 02:02 PM
LXer: Pretending a Package is Installed by Creating an Empty Package with Checkinstal LXer Syndicated Linux News 0 05-03-2009 04:10 PM
LXer: GNOME Debian Package Finder: Rough and ready package search for the desktop LXer Syndicated Linux News 0 09-04-2008 02:00 AM
Creating a package repository Thakowbbery Suse/Novell 0 10-13-2005 09:40 AM
Creating an RPM package? WeNdeL Linux - Software 3 03-05-2003 10:30 AM


All times are GMT -5. The time now is 06:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration