From: Chris Marusich <cmmarusich@gmail.com>
To: Rene <ikhuuma@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: create a symlink
Date: Wed, 03 Apr 2019 00:12:17 -0700 [thread overview]
Message-ID: <87mul736lq.fsf@gmail.com> (raw)
In-Reply-To: <cucef6rix0i.fsf@gmail.com> (Rene's message of "Wed, 27 Mar 2019 19:54:37 -0600")
[-- Attachment #1: Type: text/plain, Size: 1278 bytes --]
Hi Rene,
Rene <ikhuuma@gmail.com> writes:
> On the other hand, in linux there is `--system` argument, how does this
> argument work?, Is there a script that uses it?. To test `--system`, I
> removed it from my linux system and when loging in with my user it does not
> detect any command.
>
> BOOT_IMAGE=/gnu/store/fiqgyafknihbvmz4j62ddb67p79kfcbk-linux-libre-4.19.13/bzImage --root=my-root --system=/var/guix/profiles/system-87-link --load=/var/guix/profiles/system-87-link/boot
To see how the Linux kernel argument "--system" is used, check out the
"boot-time-system" procedure in gnu/build/activation.scm. Ultimately
this is used by the activation-service-type, defined in
gnu/services.scm.
In short, when the system boots, the activation service will atomically
flip the "/run/current-system" symlink. and then run all the activation
scripts defined by services that extend the activation service. The
value of "--system" can be overridden by setting the GUIX_NEW_SYSTEM
environment variable; in fact, we do that in the switch-to-system
procedure in guix/scripts/system.scm, which is used when running
commands like "guix system reconfigure", "guix system roll-back," and
"guix system switch-generation".
Hopefully that helps!
--
Chris
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
next prev parent reply other threads:[~2019-04-03 7:12 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-28 1:54 create a symlink Rene
2019-04-03 7:12 ` Chris Marusich [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-03-12 20:57 Rene
2019-03-13 11:25 ` Danny Milosavljevic
2019-03-13 14:52 ` Ludovic Courtès
2019-03-25 23:06 ` Danny Milosavljevic
2019-03-08 21:13 Rene
2019-03-09 8:22 ` Danny Milosavljevic
2018-04-19 2:54 Rene
2018-04-19 6:26 ` Danny Milosavljevic
2018-04-19 21:23 ` Joshua Branson
2018-04-21 14:31 ` Rene
2018-04-27 5:20 ` Rene
2018-04-27 15:08 ` Danny Milosavljevic
2019-03-07 22:11 ` Rene
2019-03-08 8:15 ` Danny Milosavljevic
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=87mul736lq.fsf@gmail.com \
--to=cmmarusich@gmail.com \
--cc=guix-devel@gnu.org \
--cc=ikhuuma@gmail.com \
/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.