mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
move mounting in init completely to /mnt
This commit is contained in:
parent
805ee20472
commit
b06d7fef9d
2 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
_run ()
|
||||
{
|
||||
_map _dir /cdrom /ventoy
|
||||
_map _dir mnt/{cdrom,ventoy,efi}
|
||||
### add basic apps
|
||||
_map _binary bash blkid bsdcpio cat cp cut dialog echo env find grep gzip halt journalctl \
|
||||
kmod loadkeys ls lsblk lsmod mkdir mkfs.btrfs modprobe less mount mountpoint mv poweroff \
|
||||
|
|
|
@ -106,7 +106,7 @@ while ! [[ "${_COUNT}" == 10 ]]; do
|
|||
# dd / rufus
|
||||
mount UUID=1234-ABCD /mnt/efi &>/dev/null && break
|
||||
# ventoy
|
||||
if mount LABEL=Ventoy /ventoy &>/dev/null; then
|
||||
if mount LABEL=Ventoy /mnt/ventoy &>/dev/null; then
|
||||
mount /mnt/ventoy/archboot-*-*-"$(uname -r)"-"$(uname -m)".iso /mnt/cdrom &>/dev/null && break
|
||||
mount /mnt/ventoy/archboot-*-*-"$(uname -r)"-latest-"$(uname -m)".iso /mnt/cdrom &>/dev/null && break
|
||||
mount /mnt/ventoy/archboot-*-*-"$(uname -r)"-local-"$(uname -m)".iso /mnt/cdrom &>/dev/null && break
|
||||
|
|
Loading…
Reference in a new issue