avahi is an uninstalled depend

This commit is contained in:
Tobias Powalowski 2023-09-19 09:21:28 +02:00
parent 298078b678
commit 487ef757d6

View file

@ -69,7 +69,7 @@ build ()
# only support UTF-8 # only support UTF-8
add_file /usr/share/i18n/charmaps/UTF-8.gz add_file /usr/share/i18n/charmaps/UTF-8.gz
# remove conflicting files from not installed packages: binutils, grub and gdbm # remove conflicting files from not installed packages: binutils, grub and gdbm
find "${BUILDROOT}/usr/share/locale/" -type f \( -name 'grub*' -o -name 'binutils*' -o -name 'gdbm*' -o -name 'bfd*' \ find "${BUILDROOT}/usr/share/locale/" -type f \( -name 'avahi*' -name 'grub*' -o -name 'binutils*' -o -name 'gdbm*' -o -name 'bfd*' \
-o -name 'gettext*' -o -name 'gas*' -o -name 'gold*' -o -name 'gprof*' -o -name 'ld*' \ -o -name 'gettext*' -o -name 'gas*' -o -name 'gold*' -o -name 'gprof*' -o -name 'ld*' \
-o -name 'man-db*' -o -name 'opcodes*' -o -name 'texinfo*' \) -delete -o -name 'man-db*' -o -name 'opcodes*' -o -name 'texinfo*' \) -delete
fi fi
@ -224,10 +224,13 @@ build ()
add_file /usr/share/ca-certificates/trust-source/mozilla.trust.p11-kit add_file /usr/share/ca-certificates/trust-source/mozilla.trust.p11-kit
add_file /usr/share/p11-kit/modules/p11-kit-trust.module add_file /usr/share/p11-kit/modules/p11-kit-trust.module
### remove conflicting grub, man-db, mkinitcpio and rpcbind files ### remove conflicting avahi, grub, man-db, mkinitcpio and rpcbind files
rm "${BUILDROOT}/usr/lib/systemd/system/mkinitcpio-generate-shutdown-ramfs.service" \ rm "${BUILDROOT}/usr/lib/systemd/system/mkinitcpio-generate-shutdown-ramfs.service" \
"${BUILDROOT}/usr/lib/systemd/system/shutdown.target.wants/mkinitcpio-generate-shutdown-ramfs.service" \ "${BUILDROOT}/usr/lib/systemd/system/shutdown.target.wants/mkinitcpio-generate-shutdown-ramfs.service" \
"${BUILDROOT}/usr/lib/systemd/ukify" \ "${BUILDROOT}/usr/lib/systemd/ukify" \
"${BUILDROOT}"/usr/lib/systemd/system/avahi* \
"${BUILDROOT}"/usr/lib/sysusers.d/avahi* \
"${BUILDROOT}"/usr/share/systemd/dbus-1/avahi* \
"${BUILDROOT}"/usr/lib/systemd/system/man-db* \ "${BUILDROOT}"/usr/lib/systemd/system/man-db* \
"${BUILDROOT}"/usr/lib/systemd/system/timers.target.wants/man-db* \ "${BUILDROOT}"/usr/lib/systemd/system/timers.target.wants/man-db* \
"${BUILDROOT}"/usr/lib/tmpfiles.d/man-db* \ "${BUILDROOT}"/usr/lib/tmpfiles.d/man-db* \