diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-09-09 12:58:33 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-09-09 12:58:33 +0100 |
commit | 4c9019e1b6fbecd16b326e991e11294de3c2afa5 (patch) | |
tree | 3346302f26198a4727b865662aefb8ecca69f5c0 /packages/sys-apps/openrc/openrc-0.34.11.exheres-0 | |
parent | 7467ae55e90e898dc17d77714e63d3ee46d4d85f (diff) |
sys-apps/openrc : enable dkms integration
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-0 | 14 |
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 } |