pmbootstrap/pmb/install
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
_install.py pmb.install._install: fix subpartitions size calculation (MR 1915) 2020-04-20 03:19:30 +03:00
blockdevice.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
file.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
format.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
losetup.py pmb.chroot.shutdown: losetup with auto_init=False (MR 1912) 2020-05-17 08:08:45 +02:00
partition.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
recovery.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00