summaryrefslogtreecommitdiff
path: root/packages/sys-apps/openrc/openrc-0.34.11.exheres-0
diff options
context:
space:
mode:
Diffstat (limited to 'packages/sys-apps/openrc/openrc-0.34.11.exheres-0')
-rw-r--r--packages/sys-apps/openrc/openrc-0.34.11.exheres-014
1 files changed, 12 insertions, 2 deletions
diff --git a/packages/sys-apps/openrc/openrc-0.34.11.exheres-0 b/packages/sys-apps/openrc/openrc-0.34.11.exheres-0
index ebb5e77..a68dc2b 100644
--- a/packages/sys-apps/openrc/openrc-0.34.11.exheres-0
+++ b/packages/sys-apps/openrc/openrc-0.34.11.exheres-0
@@ -17,6 +17,9 @@ MYOPTIONS="
*description = [ provider for the init daemon ]
number-selected = at-most-one
]]
+ dkms [[ description = [
+ Enable DKMS (dynamic kernel module support) integration
+ ] ]]
ncurses
newnet [[ description = [
Enable the new network stack (experimental)
@@ -28,6 +31,7 @@ PLATFORMS="~amd64 ~x86"
DEPENDENCIES="
build+run:
+ dkms? ( sys-kernel/dkms )
ncurses? ( sys-libs/ncurses )
pam? ( sys-libs/pam )
run:
@@ -39,8 +43,9 @@ DEPENDENCIES="
REMOTE_IDS="github:OpenRC/${PN}"
DEFAULT_SRC_PREPARE_PATCHES=(
- "${FILES}"/openrc-enable-rclogger.patch
- "${FILES}"/openrc-disable-cgroupsv2.patch
+ # Redcore Linux : enable rclogger, disable cgroupsv2
+ "${FILES}"/"${PN}"-enable-rclogger.patch
+ "${FILES}"/"${PN}"-disable-cgroupsv2.patch
)
@@ -71,6 +76,11 @@ pkg_setup() {
src_prepare() {
default
+ # Redcore Linux : enable dkms integration
+ if option dkms; then
+ expatch "${FILES}"/"${PN}"-dkms.patch
+ fi
+
edo sed -e 's#readelf #${READELF:-readelf} #g' \
-i src/test/runtests.sh
}