question the Guix documentation says a bundle created from guix pack can run on machines running the Linux kernel. Does this mean such a bundle can possibly run on Linux kernel with any C library, or just GNU/Linux? (providing no other blocking factors, such as the hardware or driver needed is present; thus I ignore for example lack of X Windows for graphics programs, etc.) (of course the most common such machine would be Android devices)
reference to the said GUix document page: https://guix.gnu.org/blog/2017/creating-bundles-with-guix-pack/ "because Guix captures the complete dependency graph of packages, the tarball contains everything that’s needed to run <program bundled> and is going to work in exactly the same way on any system that runs the kernel Linux!" On Sat, Jul 24, 2021 at 2:06 PM Andy Tai <atai@atai.org> wrote: > > question the Guix documentation says a bundle created from guix pack > can run on machines running the Linux kernel. Does this mean such a > bundle can possibly run on Linux kernel with any C library, or just > GNU/Linux? (providing no other blocking factors, such as the hardware > or driver needed is present; thus I ignore for example lack of X > Windows for graphics programs, etc.) > > (of course the most common such machine would be Android devices)
Andy Tai <atai@atai.org> writes:
> question the Guix documentation says a bundle created from guix
> pack
> can run on machines running the Linux kernel. Does this mean
> such a
> bundle can possibly run on Linux kernel with any C library, or
> just
> GNU/Linux?
The pack includes the C library, so the host C library does not
matter.
--
Ricardo
sorry for the series of questions, but a follow on question:
If I create and distribute such a guix pack bundle, is there an easy
way to create a tar.gz file containing the sources to fit GPL
requirements? I assume now there is no guix command to create a
"source pack" for a guix pack. Even if there is, can a tar.gz of the
directories of the sources be enough to re-create the binary pack?
Or basically the user shall have the full guix git repo built locally,
plus the sources of the programs bundled, before he or she can
re-create the guix pack.
Question is essentially how to meet GPL requirements (user given the
sources to be able to recreate the binaries distributed from these
sources) for a guix pack. Thanks
On Sat, Jul 24, 2021 at 2:48 PM Ricardo Wurmus <rekado@elephly.net> wrote:
>
>
> Andy Tai <atai@atai.org> writes:
>
> > question the Guix documentation says a bundle created from guix
> > pack
> > can run on machines running the Linux kernel. Does this mean
> > such a
> > bundle can possibly run on Linux kernel with any C library, or
> > just
> > GNU/Linux?
>
> The pack includes the C library, so the host C library does not
> matter.
>
> --
> Ricardo
--
Andy Tai, atai@atai.org, Skype: licheng.tai, Line: andy_tai, WeChat: andytai1010
Year 2021 民國110年
自動的精神力是信仰與覺悟
自動的行為力是勞動與技能
Hi,
On Sun, 25 Jul 2021 at 16:16, Andy Tai <atai@atai.org> wrote:
> sorry for the series of questions, but a follow on question:
>
> If I create and distribute such a guix pack bundle, is there an easy
> way to create a tar.gz file containing the sources to fit GPL
> requirements? I assume now there is no guix command to create a
> "source pack" for a guix pack. Even if there is, can a tar.gz of the
> directories of the sources be enough to re-create the binary pack?
> Or basically the user shall have the full guix git repo built locally,
> plus the sources of the programs bundled, before he or she can
> re-create the guix pack.
>
> Question is essentially how to meet GPL requirements (user given the
> sources to be able to recreate the binaries distributed from these
> sources) for a guix pack. Thanks
You can get the source with “guix build --source” but indeed I do not
know how to get from the CLI an archive containing all the sources.
However, the API provides all the tools to write a script for “guix
repl”. :-)
All the best,
simon