diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2020-07-23 22:36:13 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2020-07-24 00:56:47 +0200 |
commit | f6f9384b423e9bb9b8cee294f4ddbeee7c518463 (patch) | |
tree | f2715f329934a6dbfcfe5989cdb824d36a7b553e /gkbuilds | |
parent | Switch from MDEV to UDEV (diff) | |
download | genkernel-f6f9384b423e9bb9b8cee294f4ddbeee7c518463.tar.gz genkernel-f6f9384b423e9bb9b8cee294f4ddbeee7c518463.tar.bz2 genkernel-f6f9384b423e9bb9b8cee294f4ddbeee7c518463.zip |
mdadm: Switch to UDEV usage
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'gkbuilds')
-rw-r--r-- | gkbuilds/mdadm.gkbuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gkbuilds/mdadm.gkbuild b/gkbuilds/mdadm.gkbuild index 2307d0e6..b43f753e 100644 --- a/gkbuilds/mdadm.gkbuild +++ b/gkbuilds/mdadm.gkbuild @@ -10,6 +10,7 @@ src_prepare() { -e "/^CXFLAGS = /s:^CXFLAGS = \(.*\)$:CXFLAGS = ${CFLAGS} ${defs}:" \ -e "/^CWFLAGS = /s:^CWFLAGS = \(.*\)$:CWFLAGS = -Wall:" \ -e "s/^# LDFLAGS = -static/LDFLAGS = -static/" \ + -e "s|^UDEVDIR := .*|UDEVDIR = $(get_udevdir)|" \ Makefile \ || die "Failed to sed mdadm Makefile" } @@ -19,6 +20,8 @@ src_compile() { } src_install() { + gkmake V=1 DESTDIR="${D}" install-udev + mkdir -p "${D}"/sbin || die "Failed to create '${D}/sbin'!" cp -a mdadm "${D}"/sbin/ \ |