all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* What is the reason for archive keys ending up in /usr?
@ 2017-06-15 17:11 ng0
  2017-06-16  8:27 ` Ricardo Wurmus
  0 siblings, 1 reply; 5+ messages in thread
From: ng0 @ 2017-06-15 17:11 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 383 bytes --]

user@abyayala ~$ sudo guix archive --generate-key
guix archive: error: key pair exists under '/usr/local/etc/guix'; remove it first

Is this location picked to keep compability with other Operating Systems?
It seems to be the only part of Guix which picks /usr/
-- 
ng0
OpenPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
https://krosos.org/~/ng0/ https://www.infotropique.org

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: What is the reason for archive keys ending up in /usr?
  2017-06-15 17:11 What is the reason for archive keys ending up in /usr? ng0
@ 2017-06-16  8:27 ` Ricardo Wurmus
  2017-06-16  8:39   ` ng0
  0 siblings, 1 reply; 5+ messages in thread
From: Ricardo Wurmus @ 2017-06-16  8:27 UTC (permalink / raw)
  To: ng0; +Cc: guix-devel


ng0 <ng0@infotropique.org> writes:

> user@abyayala ~$ sudo guix archive --generate-key
> guix archive: error: key pair exists under '/usr/local/etc/guix'; remove it first
>
> Is this location picked to keep compability with other Operating Systems?
> It seems to be the only part of Guix which picks /usr/

This depends on how you configured Guix.  “/usr/local” is the default
prefix.  You can override it with “./configure --prefix=/some/other/dir”.

-- 
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

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

* Re: What is the reason for archive keys ending up in /usr?
  2017-06-16  8:27 ` Ricardo Wurmus
@ 2017-06-16  8:39   ` ng0
  2017-06-16  9:11     ` Ricardo Wurmus
  0 siblings, 1 reply; 5+ messages in thread
From: ng0 @ 2017-06-16  8:39 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1023 bytes --]

Ricardo Wurmus transcribed 0.5K bytes:
> 
> ng0 <ng0@infotropique.org> writes:
> 
> > user@abyayala ~$ sudo guix archive --generate-key
> > guix archive: error: key pair exists under '/usr/local/etc/guix'; remove it first
> >
> > Is this location picked to keep compability with other Operating Systems?
> > It seems to be the only part of Guix which picks /usr/
> 
> This depends on how you configured Guix.  “/usr/local” is the default
> prefix.  You can override it with “./configure --prefix=/some/other/dir”.
> 
> -- 
> Ricardo
> 
> GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
> https://elephly.net
> 
> 

I was just asking because this seems to differ on systems updated
with `guix pull` and those through git. My intended build machine
uses /etc/guix/ and the master uses /usr/local/, both are GuixSD.
Then /etc/guix is specificed in 'guix pull' updates.
-- 
ng0
OpenPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
https://krosos.org/~/ng0/ https://www.infotropique.org

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: What is the reason for archive keys ending up in /usr?
  2017-06-16  8:39   ` ng0
@ 2017-06-16  9:11     ` Ricardo Wurmus
  2017-06-16  9:33       ` ng0
  0 siblings, 1 reply; 5+ messages in thread
From: Ricardo Wurmus @ 2017-06-16  9:11 UTC (permalink / raw)
  To: ng0; +Cc: guix-devel


ng0 <ng0@infotropique.org> writes:

> I was just asking because this seems to differ on systems updated
> with `guix pull` and those through git. My intended build machine
> uses /etc/guix/ and the master uses /usr/local/, both are GuixSD.
> Then /etc/guix is specificed in 'guix pull' updates.

Who is “the master”?  I assume that you mean the machine using Guix from
git.

This is nothing to do with using GuixSD.  If you use Guix from git you
can affect its behaviour using the “configure” script.  If you do not
set the prefix it will be the default prefix, which is “/usr/local”.
The same applies to all other locations, including “localstatedir”.

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

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

* Re: What is the reason for archive keys ending up in /usr?
  2017-06-16  9:11     ` Ricardo Wurmus
@ 2017-06-16  9:33       ` ng0
  0 siblings, 0 replies; 5+ messages in thread
From: ng0 @ 2017-06-16  9:33 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 987 bytes --]

Ricardo Wurmus transcribed 0.7K bytes:
> 
> ng0 <ng0@infotropique.org> writes:
> 
> > I was just asking because this seems to differ on systems updated
> > with `guix pull` and those through git. My intended build machine
> > uses /etc/guix/ and the master uses /usr/local/, both are GuixSD.
> > Then /etc/guix is specificed in 'guix pull' updates.
> 
> Who is “the master”?  I assume that you mean the machine using Guix from
> git.
> 
> This is nothing to do with using GuixSD.  If you use Guix from git you
> can affect its behaviour using the “configure” script.  If you do not
> set the prefix it will be the default prefix, which is “/usr/local”.
> The same applies to all other locations, including “localstatedir”.

Okay, then my mistake so far was to not include the prefix in my
update script.

Thanks for clearing that up.
-- 
ng0
OpenPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
https://krosos.org/~/ng0/ https://www.infotropique.org

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2017-06-16  9:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-15 17:11 What is the reason for archive keys ending up in /usr? ng0
2017-06-16  8:27 ` Ricardo Wurmus
2017-06-16  8:39   ` ng0
2017-06-16  9:11     ` Ricardo Wurmus
2017-06-16  9:33       ` ng0

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.