From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: Guix binary tarball Date: Mon, 08 Jun 2015 12:34:21 +0300 Message-ID: <87vbey35nm.fsf@gmail.com> References: <20150515164602.GA13539@debian> <87d217itfr.fsf@kepler.schwinge.homeip.net> <87zj4bxzpb.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37958) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1tRz-0004nn-45 for guix-devel@gnu.org; Mon, 08 Jun 2015 05:34:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z1tRu-0007sf-60 for guix-devel@gnu.org; Mon, 08 Jun 2015 05:34:35 -0400 In-Reply-To: <87zj4bxzpb.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sun, 07 Jun 2015 18:14:56 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org, Thomas Schwinge Ludovic Court=C3=A8s (2015-06-07 19:14 +0300) wrote: > Thomas Schwinge skribis: > >> I'm not a fan of extracting tarballs inside populated directories; so I'm >> in favor on the suggested change to extract inside a temporary directory, >> and then move everything in place as a separate step. > > OK. I had come to the conclusion that yes, doing it in two steps is > reasonable, but it=E2=80=99s the user=E2=80=99s choice, and I wondered wh= ether > describing the additional steps in the manual would make things look > more complicated than they are. WDYT? I agree with Thomas. I believe it would be better to split this step. (OTOH a user who installs Guix should probably know what to do with a tarball without additional documentation) [...] >> It's very common, but I don't think there's a hard requirement for the >> root user's home directory to be /root. Maybe instead of shipping it in >> the tarball, the symbolic link should be created by an explicit command? >> >> $ sudo ln -sf /var/guix/profiles/per-user/root/guix-profile ~root/.g= uix-profile > > Yes, why not. What do people think? I totally agree, I think there is no need to put "/root" into the tarball, and to add this step instead. --=20 Alex