]> git.ipfire.org Git - thirdparty/mkosi.git/commit
debian: Fix bug in Debug::pkgDpkgPm=1 call 1457/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 18 Apr 2023 15:28:00 +0000 (17:28 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 18 Apr 2023 15:53:15 +0000 (17:53 +0200)
commit1612d05f79647c7dca2aedba09044939dd93ed68
tree791c4e119db741f125b55066bcf14ba29a716a12
parentb7efc75001e37d29c898573943297b71e5d25cb1
debian: Fix bug in Debug::pkgDpkgPm=1 call

This was inspired from mmdebstrap's perl construct and I forgot to
replace $fd with f.fileno() in one case.

We also drop the redirection to /dev/null when executing apt because
the extra output is minimal and it allows us to simplify the logic
quite a bit.
mkosi/distributions/debian.py
mkosi/run.py