unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Creating a package using two sources/origins
@ 2022-12-12 22:35 dabbede
  2022-12-12 22:43 ` (
  0 siblings, 1 reply; 5+ messages in thread
From: dabbede @ 2022-12-12 22:35 UTC (permalink / raw)
  To: help-guix

Dear Guix members,

I would like to contribute to the project by creating a package for
linux-xenomai (a real-time extension to the linux kernel, see
https://source.denx.de/Xenomai/xenomai/-/wikis/home).
My issue is that, according to xenomai's build instructions, I am
supposed to use both a mainstream patched kernel (I'm pretty sure that
a deblobbed linux-libre kernel can work too) and a .tar.bz2 source
tree that contains the user-space libraries and binaries but also some
scripts for preparing the kernel before building.

By looking into linux-libre package definition, I see no problem in
downloading and patching the proper kernel source, however I don't
understand how I am supposed to specify in the package definition that
we need an additional source tree in the build process.
What would you suggest? Using snippets or additional build-phases?
Either way, I'm not skilled enough to download a compressed tar and
unpack it in a reachable directory at the build stage. I'm only aware
of the package's "origin" function to accomplish that. What is the
best way to do the same in a snippet or phase?

Thanks for the advice. I need this input to study more the topic ;-)

Regards, Davide


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

end of thread, other threads:[~2022-12-13 21:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-12 22:35 Creating a package using two sources/origins dabbede
2022-12-12 22:43 ` (
2022-12-12 23:58   ` dabbede
2022-12-13  6:17     ` (
2022-12-13 20:56       ` dabbede

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).