pmbootstrap/pmb/chroot
Daniele Debernardi d3dc3b2c98
pmb.chroot.shutdown: losetup with auto_init=False (MR 1912)
Do not go through the pmb.chroot.init() code path when running
pmb.install.losetup.umount() inside pmb.chroot.shutdown(). This is not
necessary, as pmb.install.losetup.umount() only gets called if the
chroot is already initialized and /dev/loop-control is mounted inside
the chroot.

Not going through this code path is important for the upcoming workdir
migration patch. Without this fix, it will fail with the following if
running "pmbootstrap install" before the work migration:

ERROR: Could not figure out on which release channel the 'native' chroot is
2020-05-17 08:08:45 +02:00
..
__init__.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
apk.py Disable timeout for installing packages from apk (MR 1925) 2020-04-25 10:52:00 +03:00
apk_static.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
binfmt.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
distccd.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
init.py pmb.chroot.init: verify chroot channel (MR 1912) 2020-05-17 08:08:45 +02:00
initfs.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
initfs_hooks.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
mount.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
other.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
root.py Disable timeout for installing packages from apk (MR 1925) 2020-04-25 10:52:00 +03:00
shutdown.py pmb.chroot.shutdown: losetup with auto_init=False (MR 1912) 2020-05-17 08:08:45 +02:00
user.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
zap.py pmb.config.workdir: save/check chroot init date (!1878) 2020-02-24 18:18:38 +01:00