mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 14:41:31 +02:00
* This also adds reverse sort into the umount list, because of cascading mounts, so that /foo/anything is always before /foo, and as such is always unmounted first. If the list were not sorted, "mount point busy" errors might occur, depending on various conditions. TEST= 1) With a previously created chroot, I ran enter_chroot.sh, and got the correct prompt. After logging out of that prompt, everything else was correctly unmounted, without any error messages. When entering chroot twice from two different shells, everything was correctly unmounted after the last shell exited. 2) Repeat 1 but with cleanly created chroot just for this purpose. 3) In the chroot, make packages for one board (x86-generic) using build_packages 4) The messages "openpty failed: 'out of pty devices'" whenever trying to emerge anything (or other commands looking up pts) have disappeared. Review URL: http://codereview.chromium.org/2714010
Description
Languages
Shell
93.1%
Python
6.9%