forked from Mirror/pmbootstrap
pmb.install.losetup: Remove debug print (MR 2430)
Looks like an unintended leftover from debugging.
This commit is contained in:
parent
0975d06437
commit
a7e2592f1a
1 changed files with 0 additions and 1 deletions
|
@ -100,7 +100,6 @@ def detach_all() -> None:
|
||||||
losetup = json.loads(losetup_output)
|
losetup = json.loads(losetup_output)
|
||||||
work = get_context().config.work
|
work = get_context().config.work
|
||||||
for loopdevice in losetup["loopdevices"]:
|
for loopdevice in losetup["loopdevices"]:
|
||||||
print(loopdevice["back-file"])
|
|
||||||
if Path(loopdevice["back-file"]).is_relative_to(work):
|
if Path(loopdevice["back-file"]).is_relative_to(work):
|
||||||
pmb.chroot.root(["kpartx", "-d", loopdevice["name"]], check=False)
|
pmb.chroot.root(["kpartx", "-d", loopdevice["name"]], check=False)
|
||||||
pmb.chroot.root(["losetup", "-d", loopdevice["name"]])
|
pmb.chroot.root(["losetup", "-d", loopdevice["name"]])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue