all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: guix-devel@gnu.org
Subject: Re: initrd: why do we need static linking?
Date: Tue, 05 May 2020 11:33:17 +0200	[thread overview]
Message-ID: <87h7wun2ua.fsf@gnu.org> (raw)
In-Reply-To: <87h7ww438s.fsf@elephly.net> (Ricardo Wurmus's message of "Mon, 04 May 2020 08:34:59 +0200")

Hi,

Ricardo Wurmus <rekado@elephly.net> skribis:

> why do we need to link packages statically to include them in the
> initrd?  Can’t we just copy the package closure into the initrd?

You can refer to any package in the initrd gexp and its whole closure is
automatically included in the initrd.

However, to minimize the size of the initrd (it must fit in memory,
uncompressed), we typically use stripped statically-linked packages.

HTH!

Ludo’.


  reply	other threads:[~2020-05-05  9:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-04  6:34 initrd: why do we need static linking? Ricardo Wurmus
2020-05-05  9:33 ` Ludovic Courtès [this message]
2020-05-05 19:59   ` raingloom
2020-05-06 14:13     ` Ludovic Courtès

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=87h7wun2ua.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=rekado@elephly.net \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

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.