mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
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.
This commit is contained in:
parent
22bbdb5f79
commit
309b8fe7e6
1 changed files with 5 additions and 0 deletions
|
@ -374,6 +374,7 @@ (define* (make-iso9660-image grub config-file os-drv target
|
|||
(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 @@ (define* (make-iso9660-image grub config-file os-drv target
|
|||
,(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
|
||||
|
|
Loading…
Reference in a new issue