File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -63,11 +63,20 @@ case "$1" in
6363 deboot_stage_two
6464 echo " Doing post install setup"
6565 deboot_setup
66+ # somewhere along the line, deboot seems to be unmounting stuff
67+ echo " Remounting file systems"
68+ sleep 1
69+ do_unmount
70+ sleep 1
71+ do_mount
6672 echo " Upgrading the chroot system"
6773 upgrade_chroot
6874 echo " Installing build tools"
6975 install_build_tools
7076 echo " Undoing mountpoints"
77+ # seems to be doing something if we try to unstantly unmount
78+ # /dev so give it a sec to finish
79+ sleep 1
7180 do_unmount
7281 echo " Restoring PATH"
7382 reset_path
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ do_mount ()
5656 mount -t sysfs sys $BASE_DIR /$ROOT_TARGET /sys/;
5757 echo " mount -o bind /dev $BASE_DIR /$ROOT_TARGET /dev/"
5858 mount -o bind /dev $BASE_DIR /$ROOT_TARGET /dev/;
59- echo " mount -t devpts devpts $BASE_DIR /$ROOT_TARGET /dev/pts/"
59+ echo " mount -t devpts devpts -o mode=620,gid=5 $BASE_DIR /$ROOT_TARGET /dev/pts/"
6060 mount -t devpts devpts -o mode=620,gid=5 $BASE_DIR /$ROOT_TARGET /dev/pts/;
6161}
6262do_unmount ()
You can’t perform that action at this time.
0 commit comments