guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] daemon: Check for HAVE_CHROOT instead of CHROOT_ENABLED.


From: Manolis Ragkousis
Subject: [PATCH] daemon: Check for HAVE_CHROOT instead of CHROOT_ENABLED.
Date: Mon, 10 Aug 2015 21:15:10 +0300

Hello everyone,

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 if, is used by the daemon for chrooted
builds. At this specific part of the daemon we only need
 HAVE_CHROOT to be defined, which is true on hurd, for the builds to
work. With this workaround,
things seem to work for me until now. WDYT?

I am sending this patch in order to discuss what could be done and see
if anyone has any better ideas.

Manolis

Attachment: 0001-daemon-Check-for-HAVE_CHROOT-instead-of-CHROOT_ENABL.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]