Debian Developers - Making a multi-binary-kernel-module-package

This is Interesting: Free IT Magazines  
Home > Archive > Debian Developers > May 2007 > Making a multi-binary-kernel-module-package





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Making a multi-binary-kernel-module-package
Pascal Speck

2007-05-29, 7:23 am

Hello, i have a big problem with debian packaging.
I need to create debian packages of a program i've written, but i don't
know how to solve the following problem.

I want to have one Source Tree with a Subdirectory Drivers.
When doin a dpkg-buildpackage, two packages should be built. One of the
Userspace Program and onle of the kernel-module.

the kernel module should include the source with the posibility of
building module-packages with module-assistant.

How should the tree and the rules-file looklike?
Does anyone know a good howto? (I read debian mtg etc.)

Greez Pasal.


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Sune Vuorela

2007-05-29, 7:23 am

On 2007-05-29, Pascal Speck <p.speck@ewersbach.net> wrote:
> Hello, i have a big problem with debian packaging.
> I need to create debian packages of a program i've written, but i don't
> know how to solve the following problem.
>
> I want to have one Source Tree with a Subdirectory Drivers.
> When doin a dpkg-buildpackage, two packages should be built. One of the
> Userspace Program and onle of the kernel-module.


like mga-vid ?

/Sune


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Pascal Speck

2007-05-29, 7:23 am

Yeah, same issue, but where can i get the source of this package with
the /debian/ directory and all files. In Sources of these Programst
the /debian directory is always missing.

Greez Pascal



Am Dienstag, den 29.05.2007, 11:55 +0000 schrieb Sune Vuorela:
> On 2007-05-29, Pascal Speck <p.speck@ewersbach.net> wrote:
>
> like mga-vid ?
>
> /Sune
>
>



--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Sam Morris

2007-05-29, 1:23 pm

On Tue, 29 May 2007 14:18:54 +0200, Pascal Speck wrote:

> Yeah, same issue, but where can i get the source of this package with
> the /debian/ directory and all files. In Sources of these Programst the
> /debian directory is always missing.
>
> Greez Pascal


A debian source package consists of an .orig.tar.gz, a .diff.gz and
a .dsc (which describes the source, and references the other two files).
It sounds like you may only be downloading the .orig.tar.gz.

If you go to <http://packages.debian.org/src:mga-vid> you can download
all three, and extract the package with 'dpkg-source -x mga-vid_*.dsc'.
(This is just a script that extracts the tar archive and applies the
patch).

You can do all of that automatically if you run 'apt-get source vga-mod'.

--
Sam Morris
http://robots.org.uk/

PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B C869 B219 7FDB 5EA0 1078


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com