mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-18 02:16:59 +02:00
sys-apps/systemd: depend on lz4 >= 1.9.3-r1
Now that lz4 was updated to 1.9.3-r1, systemd has to depend on lz4 >= 1.9.3-r1, so that its dependency graph during the SDK stage3 could be generated correctly. Without that change, the preclean of SDK stage3 could fail because of an inverted dependency order between systemd and lz4, like following: ``` emerge --depclean --with-bdeps=y ... * Dependencies could not be completely resolved due to * the following required packages not being installed: * * >=app-arch/lz4-0_p131:0/r131=[abi_x86_64(-)] pulled in by: * sys-apps/systemd-247.6 ``` Stage3 first runs `emerge --quiet --usepkg --buildpkg --binpkg-respect-use=y --newuse -e --update --deep --with-bdeps=y @system`, which works well. After that, only the stage3 (no other stages) runs preclean, which in fact runs `emerge --depclean --with-bdeps=y` to clean up unnecessary ebuilds. That's where it fails. That happens because systemd still depends on lz4 0_p131. As a result, the main installation step of stage3 seems to first install systemd 247, and after that it updates lz4 to 1.9.3-r1. Then systemd thinks it still depends on 0_p131. When doing it the other way around, the dependency graph is correctly generated, first lz4 1.9.3-r1, then systemd 247.
This commit is contained in:
parent
de5afb0109
commit
1b1a15e76f
@ -69,7 +69,7 @@ COMMON_DEPEND=">=sys-apps/util-linux-2.30:0=[${MULTILIB_USEDEP}]
|
||||
sys-libs/zlib:0=
|
||||
)
|
||||
kmod? ( >=sys-apps/kmod-15:0= )
|
||||
lz4? ( >=app-arch/lz4-0_p131:0=[${MULTILIB_USEDEP}] )
|
||||
lz4? ( >=app-arch/lz4-1.9.3-r1:0=[${MULTILIB_USEDEP}] )
|
||||
lzma? ( >=app-arch/xz-utils-5.0.5-r1:0=[${MULTILIB_USEDEP}] )
|
||||
nat? ( net-firewall/iptables:0= )
|
||||
pam? ( sys-libs/pam:=[${MULTILIB_USEDEP}] )
|
||||
|
Loading…
Reference in New Issue
Block a user