dist: add workaround for cross-dist build for TL2
Upstream: no Require systemd instead of systemd-udev on TL2 for cross dist build. Signed-off-by: Kairui Song <kasong@tencent.com>
This commit is contained in:
parent
9288a88958
commit
f5a7de40ea
|
|
@ -229,7 +229,7 @@ Requires(preun): coreutils kmod
|
|||
Requires(post): %{_bindir}/kernel-install
|
||||
Requires(preun): %{_bindir}/kernel-install
|
||||
# Kernel install hooks & initramfs
|
||||
%if 0%{?rhel} == 7
|
||||
%if 0%{?rhel} == 7 || "%{?dist}" == ".tl2"
|
||||
Requires(post): systemd
|
||||
Requires(preun): systemd
|
||||
%else
|
||||
|
|
|
|||
Loading…
Reference in New Issue