names: Don't hard depend on systemd-resolved

Fixes: #2453

- It will be installed later.

Tests:

- Build the Debian package with all the changes and notice that it neither has
dependency on resolvconf nor on systemd-resolved.

- Version 24.18 can upgrade to this package using unattended-upgrade. For this
place the package in a folder repository and add this repository to apt
sources.list and tweak unattened-upgrades settings to accept the new repository.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
Sunil Mohan Adapa 2024-10-01 19:07:00 -07:00 committed by Veiko Aasa
parent 5611585790
commit db92640f3c
No known key found for this signature in database
GPG Key ID: 478539CAE680674E

View File

@ -62,8 +62,7 @@ class NamesApp(app_module.App):
self.add(menu_item)
# 'ip' utility is needed from 'iproute2' package.
packages = Packages('packages-names',
['systemd-resolved', 'libnss-resolve', 'iproute2'])
packages = Packages('packages-names', ['iproute2'])
self.add(packages)
domain_type = DomainType('domain-type-static', _('Domain Name'),