From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: Re: create a symlink Date: Tue, 26 Mar 2019 00:06:16 +0100 Message-ID: <20190326000616.74217cc7@scratchpost.org> References: <87va0m6d3f.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/+Rh/DnsWQ0CB2luTQ0GRvK9"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:58510) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h8Yuw-0000W6-23 for guix-devel@gnu.org; Mon, 25 Mar 2019 19:22:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h8Yfg-0000WM-UX for guix-devel@gnu.org; Mon, 25 Mar 2019 19:06:27 -0400 In-Reply-To: <87va0m6d3f.fsf@gnu.org> 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" To: Ludovic =?ISO-8859-1?Q?Court=E8s?= Cc: guix-devel@gnu.org, Rene --Sig_/+Rh/DnsWQ0CB2luTQ0GRvK9 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Wed, 13 Mar 2019 15:52:36 +0100 Ludovic Court=C3=A8s wrote: > Hello, >=20 > Rene skribis: >=20 > > How I can change "/hurd/" by "/gnu/store/abc..-hurd-0.9/hurd/" in > > through Guix? =20 >=20 > I think /hurd is hard to avoid; it=E2=80=99s akin to /bin/sh, which is al= so > hard-coded in libc (for the =E2=80=98system=E2=80=99 function). As you f= ound out, you=E2=80=99d > need to change macros in libc headers, which means that libc could only > talk to a specific instance of the Hurd servers. Furthermore, /hurd > needs to be writable. >=20 > So I would recommend keeping /hurd, at least as a first approach. In that case, /hurd could be handled like we handle /run/booted-system . Rene could use service extension like (service-extension boot-service-type hurd-boot-gexp) in order to create the "/hurd" symlink (in hurd-boot-gexp). That is, if the Hurd can boot that far (until the root filesystem is mounte= d). In fact, as a hack, we could create a dummy service that does the service extension and use it for the Hurd. --Sig_/+Rh/DnsWQ0CB2luTQ0GRvK9 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlyZXugACgkQ5xo1VCww uqXTzgf7BdXeGR/FJ5zOVrf2zyinCXADSaMXlBLi9ZSBOlkeYH/TqdWbVnrlA3Vq hLBEpEBiOMEY5XhlOpYIYdZ/g8Ml43UdG+WF9B/IOzTccuOp/7+B904cvOELH+EF skbiWu5T96Oot2wkaeZKwXchJc7N7F2EpK09MAvundW0k1uM6CaM6JNwlYOW4g/W eqPwMuQ3reBr++IasI7Wv2c1Ee5ANoQrvpgMXRje3mpHPiZAmWuUwaD7s0gWY5MO aIMvr8AzwlSGkrHeb/bFXeTbEc2pdRJtTchxV75ndkb9rhs4xQHmQtWSU+XznY0X UvzLGHXzJyvjpQj+xZF9LHv5pjgkNA== =FEL+ -----END PGP SIGNATURE----- --Sig_/+Rh/DnsWQ0CB2luTQ0GRvK9--