diff options
author | Christopher Baines <mail@cbaines.net> | 2017-09-03 11:48:11 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2017-09-06 08:43:44 +0100 |
commit | 309b8fe7e65c39e04b7a5f89adb5a0a72867cdff (patch) | |
tree | d15726d5c98907b17b696a4729e0bdd943300de4 /gnu/build | |
parent | 22bbdb5f794c9fe2f350f4295b8dcf93438ad011 (diff) | |
download | guix-309b8fe7e65c39e04b7a5f89adb5a0a72867cdff.tar.gz guix-309b8fe7e65c39e04b7a5f89adb5a0a72867cdff.zip |
vm: Create /mnt in the generated ISO image in make-iso9660-image.
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.
Diffstat (limited to 'gnu/build')
-rw-r--r-- | gnu/build/vm.scm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/build/vm.scm b/gnu/build/vm.scm index 606257d8c3..f6228b40bb 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 |