From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46572) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1doSUe-00034c-3J for guix-patches@gnu.org; Sun, 03 Sep 2017 06:51:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1doSUZ-0001lN-F2 for guix-patches@gnu.org; Sun, 03 Sep 2017 06:51:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:36165) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1doSUZ-0001lI-BH for guix-patches@gnu.org; Sun, 03 Sep 2017 06:51:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1doSUZ-0004Pt-4O for guix-patches@gnu.org; Sun, 03 Sep 2017 06:51:03 -0400 Subject: [bug#28288] [PATCH 2/5] vm: Create /mnt in the generated ISO image in make-iso9660-image. Resent-Message-ID: From: Christopher Baines Date: Sun, 3 Sep 2017 11:50:38 +0100 Message-Id: <20170903105041.2925-2-mail@cbaines.net> In-Reply-To: <20170903105041.2925-1-mail@cbaines.net> References: <20170903105041.2925-1-mail@cbaines.net> 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: 28288@debbugs.gnu.org This is used in the installation process, as the mountpoint for the target filesystem. * gnu/build/vm.scm (make-iso9660-image): Create /mnt within the generated ISO image. --- gnu/build/vm.scm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gnu/build/vm.scm b/gnu/build/vm.scm index 606257d8c..f6228b40b 100644 --- a/gnu/build/vm.scm +++ b/gnu/build/vm.scm @@ -374,6 +374,7 @@ GRUB configuration and OS-DRV as the stuff in it." (target-store (string-append "/tmp/root" (%store-directory)))) (mkdir-p "/tmp/root/var/run") (mkdir-p "/tmp/root/run") + (mkdir-p "/tmp/root/mnt") (mkdir-p target-store) (mount (%store-directory) target-store "" MS_BIND) @@ -393,6 +394,10 @@ GRUB configuration and OS-DRV as the stuff in it." ,(string-append "gnu/store=" os-drv "/..") "var=/tmp/root/var" "run=/tmp/root/run" + ;; /mnt is used as part of the installation + ;; process, as the mount point for the target + ;; filesystem, so create it. + "mnt=/tmp/root/mnt" "--" ;; Store two copies of the headers. ;; The resulting ISO-9660 image has a DOS MBR and -- 2.14.1