mkosi: install libidn2 in the final system (#6173)

Recent systemd compiled in a build root which had libidn2-devel installed would
not run in the default installation root which had just libidn and did not have
libidn2. Since a8a2a0ed64 libidn2-devel (or equivalent) is installed in
the build root. Normally, since we install systemd in the installation root,
all dependencies that are needed for the compiled systemd to run are present,
but libidn2 is a new dependency, so the distro packages would just pull in
libidn, and not libidn2.

Temporily add libdn2 to explicitly specified Packages. We can remove that once
distro-compiled systemds have moved to libind2.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-06-22 09:23:29 -04:00 committed by Lennart Poettering
parent f778b8fe27
commit 670d494690
3 changed files with 7 additions and 0 deletions

View file

@ -63,3 +63,6 @@ BuildPackages=
python-lxml python-lxml
qrencode qrencode
xz xz
Packages=
libidn2

View file

@ -77,3 +77,4 @@ BuildPackages=
Packages= Packages=
libqrencode3 libqrencode3
locales locales
libidn2-0

View file

@ -70,3 +70,6 @@ BuildPackages=
qrencode-devel qrencode-devel
tree tree
xz-devel xz-devel
Packages=
libidn2