mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-06 19:22:17 +01:00
overlay sys-apps/systemd: Drop dep on sec-policy/selinux-ntp in a different way
We can add sec-policy/selinux-ntp to package.provided in overlay profiles - that way we don't need to modify the dependencies of the sys-apps/systemd package. Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
This commit is contained in:
parent
7189caf26d
commit
ccee4d536c
@ -18,3 +18,8 @@ sys-devel/bpf-toolchain-14.2.0_p1
|
||||
# Pulled by app-crypt/sbsigntools - we never needed it and it pulls a
|
||||
# ton of other packages.
|
||||
dev-perl/Locale-gettext-1.70.0_p20181130
|
||||
|
||||
# Pulled in by sys-apps/systemd, breaks the build - the image stage
|
||||
# fails with "Failed to resolve typeattributeset statement at
|
||||
# /var/lib/selinux/mcs/tmp/modules/400/ntp/cil:120"
|
||||
sec-policy/selinux-ntp-2.20250618-r1
|
||||
|
||||
@ -98,11 +98,6 @@ DEPEND="${COMMON_DEPEND}
|
||||
PEFILE_DEPEND='dev-python/pefile[${PYTHON_USEDEP}]'
|
||||
|
||||
# baselayout-2.2 has /run
|
||||
#
|
||||
# Flatcar: Drop sec-policy/selinux-ntp from deps (under selinux use
|
||||
# flag). The image stage fails with "Failed to resolve
|
||||
# typeattributeset statement at
|
||||
# /var/lib/selinux/mcs/tmp/modules/400/ntp/cil:120"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
>=acct-group/adm-0-r1
|
||||
>=acct-group/wheel-0-r1
|
||||
@ -137,6 +132,7 @@ RDEPEND="${COMMON_DEPEND}
|
||||
)
|
||||
selinux? (
|
||||
sec-policy/selinux-base-policy[systemd]
|
||||
sec-policy/selinux-ntp
|
||||
)
|
||||
sysv-utils? (
|
||||
!sys-apps/openrc[sysv-utils(-)]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user