All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] howto build debion packages from a Xenomai Git repository
@ 2010-02-03 19:37 Stefan Kisdaroczi
  2010-02-03 19:48 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 7+ messages in thread
From: Stefan Kisdaroczi @ 2010-02-03 19:37 UTC (permalink / raw)
  To: xenomai

[-- Attachment #1: Type: text/plain, Size: 1624 bytes --]

Hi all,

below a howto which works for me on a Debian Lenny system.

Regards, Stefan

Building debian packages from a Xenomai Git repository:

This example shows how to build Xenomai 2.5.1, feel free to adapt to your needs.

Prerequisites:

Install the following packages:
 # apt-get install devscripts git-core git-buildpackage debhelper dh-kpatches findutils

You need a local Xenomai Git repository:
 $ git clone git://xenomai.org/xenomai-2.5.git

Finished with prerequisites, here is the starting point for later builds:

Go to the Xenomai Git working tree:
 $ cd xenomai-2.5

Update the Git repository:
 xenomai-2.5$ git fetch origin

Create and checkout a new branch based on a git treeish object.
In this example, we create a branch v2.5.1-deb based on git tag v2.5.1:
 xenomai-2.5$ git-checkout -b v2.5.1-deb v2.5.1

Create a new debian changelog entry:
 xenomai-2.5$ debchange -v 2.5.1-0.1 Release 2.5.1

Commit the changelog to the v2.5.1-deb branch:
 xenomai-2.5$ git-commit -a --author="Your Name <your@domain.hid>" -m 2.5.1-0.1

Build the packages in the directory ../build :
 xenomai-2.5$ git-buildpackage \
  --git-upstream-branch=v2.5.1 \
  --git-debian-branch=v2.5.1-deb \
  --git-export-dir=../build \
  -uc -us

Thats all folks, now switch back to the master branch:
 xenomai-2.5$ git checkout master

You could now delete the branch v2.5.1-deb:
 xenomai-2.5$ git branch -D v2.5.1-deb

If you keep the branch you can later switch back to it,
cherry pick some commits from another branch, adapt and
commit the changelog and build the packages again.



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 251 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Xenomai-help] howto build debion packages from a Xenomai Git repository
  2010-02-03 19:37 [Xenomai-help] howto build debion packages from a Xenomai Git repository Stefan Kisdaroczi
@ 2010-02-03 19:48 ` Gilles Chanteperdrix
  2010-02-03 20:34   ` Stefan Kisdaroczi
  0 siblings, 1 reply; 7+ messages in thread
From: Gilles Chanteperdrix @ 2010-02-03 19:48 UTC (permalink / raw)
  To: Stefan Kisdaroczi; +Cc: xenomai

Stefan Kisdaroczi wrote:
> Hi all,
> 
> below a howto which works for me on a Debian Lenny system.
> 
> Regards, Stefan

That is nice. Would you mind putting it in the wiki, including the
kernel build? If you agree, please tell me what your login on the wiki
is, and I will give you the permissions to write.

The page we have looks outdated, it mentions inclusion in the official
debian distribution, which looks currently unmaintained, and still uses
svn whereas we switched to git:
http://www.xenomai.org/index.php/Building_Debian_packages

Regards.

-- 
					    Gilles.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Xenomai-help] howto build debion packages from a Xenomai Git repository
  2010-02-03 19:48 ` Gilles Chanteperdrix
@ 2010-02-03 20:34   ` Stefan Kisdaroczi
  2010-02-03 20:37     ` Gilles Chanteperdrix
  0 siblings, 1 reply; 7+ messages in thread
From: Stefan Kisdaroczi @ 2010-02-03 20:34 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai

[-- Attachment #1: Type: text/plain, Size: 683 bytes --]

Am 03.02.2010 20:48, schrieb Gilles Chanteperdrix:
> Stefan Kisdaroczi wrote:
>> Hi all,
>>
>> below a howto which works for me on a Debian Lenny system.
>>
>> Regards, Stefan
> 
> That is nice. Would you mind putting it in the wiki, including the
> kernel build? If you agree, please tell me what your login on the wiki
> is, and I will give you the permissions to write.

ok, my login is 'kisda'.

> The page we have looks outdated, it mentions inclusion in the official
> debian distribution, which looks currently unmaintained, and still uses
> svn whereas we switched to git:
> http://www.xenomai.org/index.php/Building_Debian_packages
> 
> Regards.
> 



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 251 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Xenomai-help] howto build debion packages from a Xenomai Git repository
  2010-02-03 20:34   ` Stefan Kisdaroczi
@ 2010-02-03 20:37     ` Gilles Chanteperdrix
  2010-02-04 10:18       ` Stefan Kisdaroczi
  0 siblings, 1 reply; 7+ messages in thread
From: Gilles Chanteperdrix @ 2010-02-03 20:37 UTC (permalink / raw)
  To: Stefan Kisdaroczi; +Cc: xenomai

Stefan Kisdaroczi wrote:
> Am 03.02.2010 20:48, schrieb Gilles Chanteperdrix:
>> Stefan Kisdaroczi wrote:
>>> Hi all,
>>>
>>> below a howto which works for me on a Debian Lenny system.
>>>
>>> Regards, Stefan
>> That is nice. Would you mind putting it in the wiki, including the
>> kernel build? If you agree, please tell me what your login on the wiki
>> is, and I will give you the permissions to write.
> 
> ok, my login is 'kisda'.

you should have the permission to write now.

-- 
					    Gilles.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Xenomai-help] howto build debion packages from a Xenomai Git repository
  2010-02-03 20:37     ` Gilles Chanteperdrix
@ 2010-02-04 10:18       ` Stefan Kisdaroczi
  2010-02-04 10:26         ` Gilles Chanteperdrix
  0 siblings, 1 reply; 7+ messages in thread
From: Stefan Kisdaroczi @ 2010-02-04 10:18 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai

[-- Attachment #1: Type: text/plain, Size: 775 bytes --]

Am 03.02.2010 21:37, schrieb Gilles Chanteperdrix:
> Stefan Kisdaroczi wrote:
>> Am 03.02.2010 20:48, schrieb Gilles Chanteperdrix:
>>> Stefan Kisdaroczi wrote:
>>>> Hi all,
>>>>
>>>> below a howto which works for me on a Debian Lenny system.
>>>>
>>>> Regards, Stefan
>>> That is nice. Would you mind putting it in the wiki, including the
>>> kernel build? If you agree, please tell me what your login on the wiki
>>> is, and I will give you the permissions to write.
>>
>> ok, my login is 'kisda'.
> 
> you should have the permission to write now.

Worked. I did not modify the kernel building howto, but i plan to extend it
according to the howto I sent last year to the list:
https://mail.gna.org/public/xenomai-help/2009-10/msg00203.html

Stefan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 251 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Xenomai-help] howto build debion packages from a Xenomai Git repository
  2010-02-04 10:18       ` Stefan Kisdaroczi
@ 2010-02-04 10:26         ` Gilles Chanteperdrix
  2010-03-04 17:08           ` Stefan Kisdaroczi
  0 siblings, 1 reply; 7+ messages in thread
From: Gilles Chanteperdrix @ 2010-02-04 10:26 UTC (permalink / raw)
  To: Stefan Kisdaroczi; +Cc: xenomai

Stefan Kisdaroczi wrote:
> Am 03.02.2010 21:37, schrieb Gilles Chanteperdrix:
>> Stefan Kisdaroczi wrote:
>>> Am 03.02.2010 20:48, schrieb Gilles Chanteperdrix:
>>>> Stefan Kisdaroczi wrote:
>>>>> Hi all,
>>>>>
>>>>> below a howto which works for me on a Debian Lenny system.
>>>>>
>>>>> Regards, Stefan
>>>> That is nice. Would you mind putting it in the wiki, including the
>>>> kernel build? If you agree, please tell me what your login on the wiki
>>>> is, and I will give you the permissions to write.
>>> ok, my login is 'kisda'.
>> you should have the permission to write now.
> 
> Worked. I did not modify the kernel building howto, but i plan to extend it
> according to the howto I sent last year to the list:
> https://mail.gna.org/public/xenomai-help/2009-10/msg00203.html

Ok, no problem. You may remove the note about xenomai having been merged
into an official debian package, since the official debian package is 5
releases behind Xenomai, and ships with versions of the I-pipe patches
which have been announced as bogus on Xenomai mailing lists. So, it is
not a good idea to advise people to use that.

You may also want to mention your "unofficial" apt repository.

-- 
Gilles Chanteperdrix, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Xenomai-help] howto build debion packages from a Xenomai Git repository
  2010-02-04 10:26         ` Gilles Chanteperdrix
@ 2010-03-04 17:08           ` Stefan Kisdaroczi
  0 siblings, 0 replies; 7+ messages in thread
From: Stefan Kisdaroczi @ 2010-03-04 17:08 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai

[-- Attachment #1: Type: text/plain, Size: 1371 bytes --]

Am 04.02.2010 11:26, schrieb Gilles Chanteperdrix:
> Stefan Kisdaroczi wrote:
>> Am 03.02.2010 21:37, schrieb Gilles Chanteperdrix:
>>> Stefan Kisdaroczi wrote:
>>>> Am 03.02.2010 20:48, schrieb Gilles Chanteperdrix:
>>>>> Stefan Kisdaroczi wrote:
>>>>>> Hi all,
>>>>>>
>>>>>> below a howto which works for me on a Debian Lenny system.
>>>>>>
>>>>>> Regards, Stefan
>>>>> That is nice. Would you mind putting it in the wiki, including the
>>>>> kernel build? If you agree, please tell me what your login on the wiki
>>>>> is, and I will give you the permissions to write.
>>>> ok, my login is 'kisda'.
>>> you should have the permission to write now.
>>
>> Worked. I did not modify the kernel building howto, but i plan to extend it
>> according to the howto I sent last year to the list:
>> https://mail.gna.org/public/xenomai-help/2009-10/msg00203.html
> 
> Ok, no problem. You may remove the note about xenomai having been merged
> into an official debian package, since the official debian package is 5
> releases behind Xenomai, and ships with versions of the I-pipe patches
> which have been announced as bogus on Xenomai mailing lists. So, it is
> not a good idea to advise people to use that.

Hi Gilles,

I have updated the "Building Debian packages howto" in the wiki.
Please review, comments and corrections welcome.

Stefan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 251 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-03-04 17:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-03 19:37 [Xenomai-help] howto build debion packages from a Xenomai Git repository Stefan Kisdaroczi
2010-02-03 19:48 ` Gilles Chanteperdrix
2010-02-03 20:34   ` Stefan Kisdaroczi
2010-02-03 20:37     ` Gilles Chanteperdrix
2010-02-04 10:18       ` Stefan Kisdaroczi
2010-02-04 10:26         ` Gilles Chanteperdrix
2010-03-04 17:08           ` Stefan Kisdaroczi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.