From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Xenomai <xenomai@xenomai.org>
Subject: [Xenomai] Debian: reworking kernel package generation.
Date: Sat, 13 Apr 2013 15:57:17 +0200 [thread overview]
Message-ID: <5169643D.9020207@xenomai.org> (raw)
Hi,
currently, the kernel packages for the Debian distribution are generated
the following way:
during compilation of the xenomai source package, static patches with
both Xenomai and I-pipe are generated for all the I-pipe patches in
Xenomai sources, using the "prepare-patch.sh" script, then put into the
"linux-patch-xenomai" package.
In the past, in order to compile a kernel with Xenomai enabled, this
package needed to be installed in addition to a kernel source package,
the DKMS system would then probably automate the patching and the user
would have to run "make-kpkg" to have a kernel automagically generated.
The drawback of this approach is the double maintenance issue caused by
having a "prepare-patch" script which does almost the same thing, but
not really, as the "prepare-kernel" script, and breaks regularly when
preper-kernel is modified, but the advantage was the simplicity and
maybe outweighted the drawback.
Today, DKMS is no longer in use, so after installing the
"linux-patch-xenomai" package, patches have to be applied by hand, so
this whole approach brings little value compared to running directly the
"prepare-kernel.sh" script, and limits the compilation of Debian
packages to only those I-pipe patches that were provided at package
compilation time.
So, I propose to:
- remove the generation of the linux-patch-xenomai kernel
- remove the prepare-patch script
- require people who want to compile xenomai kernels to install the
xenomai source package and run prepare-kernel.sh script, and change the
installation instructions in accordance with this new approach.
If nobody is opposed to this approach, I will make the modifications in
the next few weeks for the 2.6.3 release.
Regards.
--
Gilles.
next reply other threads:[~2013-04-13 13:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-13 13:57 Gilles Chanteperdrix [this message]
2013-04-13 15:15 ` [Xenomai] Debian: reworking kernel package generation Gilles Chanteperdrix
2013-04-15 14:34 ` Jeff Webb
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5169643D.9020207@xenomai.org \
--to=gilles.chanteperdrix@xenomai.org \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.