Skip to content

Commit 4c0b026

Browse files
Fix mounting filesystems on crouton
1 parent caef399 commit 4c0b026

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

distro/arch.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ def config(de_name: str, distro_version: str, verbose: bool) -> None:
1515
"-o rw,nosuid,relatime,size=16339804k,nr_inodes=4084951,mode=755,inode64")
1616
bash("mount --types devpts /dev/pts /mnt/depthboot/dev/pts"
1717
" -o rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000")
18-
bash("mount --types tmpfs /dev/shm /mnt/depthboot/dev/shm -o rw,nosuid,nodev,relatime,inode64")
18+
bash("mount --bind /dev/shm /mnt/depthboot/dev/shm")
1919
bash("mount --types tmpfs /run /mnt/depthboot/run"
2020
" -o rw,nosuid,nodev,noexec,relatime,size=3280692k,mode=755,inode64")
21-
bash("mount --types tmpfs /tmp /mnt/depthboot/tmp -o rw,nosuid,nodev,inode64")
21+
bash("mount --bind /tmp /mnt/depthboot/tmp")
2222

2323
# Uncomment worldwide arch mirror
2424
with open("/mnt/depthboot/etc/pacman.d/mirrorlist", "r") as read:

0 commit comments

Comments
 (0)