Manolis Ragkousis skribis:
> On 18 August 2015 at 19:48, Ludovic Courtès wrote:
>> But note that the Hurd’s libc should really provide ,
>> ‘mount’ (including MS_BIND), and ‘umount’, as discussed earlier. What’s
>> the status of this?
>
> Half-way there. I am currently testing it in darnassus,
On 18 August 2015 at 19:48, Ludovic Courtès wrote:
>> ‘unshare’ is actually no longer used, so we can patch the daemon (in
>> upstream Nix) to get rid of HAVE_UNSHARE.
Done :-)
Manolis
On 18 August 2015 at 19:48, Ludovic Courtès wrote:
> But note that the Hurd’s libc should really provide ,
> ‘mount’ (including MS_BIND), and ‘umount’, as discussed earlier. What’s
> the status of this?
Half-way there. I am currently testing it in darnassus, because my
local vms are busy with th
Mark H Weaver skribis:
> Manolis Ragkousis writes:
>
>> There is an issue with the chrooted builds on Hurd. In
>> nix/libstore/build.cc CHROOT_ENABLED
>> is false because HAVE_UNSHARE && HAVE_SYS_MOUNT_H are not defined on Hurd.
>>
>> The part that we are interested from build.cc is at line 1768
Manolis Ragkousis writes:
> There is an issue with the chrooted builds on Hurd. In
> nix/libstore/build.cc CHROOT_ENABLED
> is false because HAVE_UNSHARE && HAVE_SYS_MOUNT_H are not defined on Hurd.
>
> The part that we are interested from build.cc is at line 1768. The
> part of the code in that
f anyone has any better ideas.
Manolis
From 9fd91c191d47d77f4abeee41c6846462badb5762 Mon Sep 17 00:00:00 2001
From: Manolis Ragkousis
Date: Mon, 10 Aug 2015 20:56:03 +0300
Subject: [PATCH] daemon: Check for HAVE_CHROOT instead of CHROOT_ENABLED.
* nix/libstore/build.cc (DerivationGoal::startBuilder