mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-12 03:11:40 +00:00
Change minimize-manual to read package section from version
Change minimize-manual to read package section from version instead of package objects, fixing compatibility with (python-)apt 1.9.0.
This commit is contained in:
parent
3a90e5f8f3
commit
4c053597b4
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
|||||||
|
livecd-rootfs (2.598) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
|
* Change minimize-manual to read package section from version instead
|
||||||
|
of package objects, fixing compatibility with (python-)apt 1.9.0
|
||||||
|
|
||||||
|
-- Julian Andres Klode <juliank@ubuntu.com> Mon, 24 Jun 2019 17:53:39 +0200
|
||||||
|
|
||||||
livecd-rootfs (2.597) eoan; urgency=medium
|
livecd-rootfs (2.597) eoan; urgency=medium
|
||||||
|
|
||||||
* Install s390-tools-zkey into the installer layer for zkey support in
|
* Install s390-tools-zkey into the installer layer for zkey support in
|
||||||
|
@ -11,10 +11,11 @@ import apt
|
|||||||
|
|
||||||
def is_root(pkg):
|
def is_root(pkg):
|
||||||
"""Check if the package is a root package (manually inst. meta)"""
|
"""Check if the package is a root package (manually inst. meta)"""
|
||||||
|
section = pkg.candidate.section if pkg.candidate else ""
|
||||||
return (pkg.is_installed and
|
return (pkg.is_installed and
|
||||||
not pkg.is_auto_installed and
|
not pkg.is_auto_installed and
|
||||||
(pkg.section == "metapackages" or
|
(section == "metapackages" or
|
||||||
pkg.section.endswith("/metapackages")))
|
section.endswith("/metapackages")))
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user