From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58642) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dn7hi-0000QT-0A for guix-patches@gnu.org; Wed, 30 Aug 2017 14:27:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dn7hd-0008Jc-V4 for guix-patches@gnu.org; Wed, 30 Aug 2017 14:27:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:54492) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dn7hd-0008JM-RX for guix-patches@gnu.org; Wed, 30 Aug 2017 14:27:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dn7hd-0002jn-JO for guix-patches@gnu.org; Wed, 30 Aug 2017 14:27:01 -0400 Subject: [bug#28288] [PATCH 2/2] WIP Resent-Message-ID: Date: Wed, 30 Aug 2017 20:26:37 +0200 From: Danny Milosavljevic Message-ID: <20170830202637.6b6ace8b@scratchpost.org> In-Reply-To: <20170830062010.11902-2-mail@cbaines.net> References: <20170830062010.11902-1-mail@cbaines.net> <20170830062010.11902-2-mail@cbaines.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Christopher Baines Cc: 28288@debbugs.gnu.org > + ;; XXX: 'guix-register' wants to palpate the things it registers, so > + ;; bind-mount the store on the target. > + (mkdir-p target-store) > + (mount (%store-directory) target-store "" MS_BIND) What does this do? gnu/build/vm.scm make-iso9660-image already provides /gnu/store a few lines down: (unless (zero? (apply system* `(,grub-mkrescue "-o" ,target ,(string-append "boot/grub/grub.cfg=" config-file) ,(string-append "gnu/store=" os-drv "/..") ^^^^ Maybe I'm missing something... Otherwise LGTM!