diff options
Diffstat (limited to 'meta-initramfs/recipes-devtools/dracut/dracut_git.bb')
-rw-r--r-- | meta-initramfs/recipes-devtools/dracut/dracut_git.bb | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/meta-initramfs/recipes-devtools/dracut/dracut_git.bb b/meta-initramfs/recipes-devtools/dracut/dracut_git.bb index b91f3fae2..09c86d0b7 100644 --- a/meta-initramfs/recipes-devtools/dracut/dracut_git.bb +++ b/meta-initramfs/recipes-devtools/dracut/dracut_git.bb | |||
@@ -5,13 +5,18 @@ LICENSE = "GPLv2" | |||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
6 | 6 | ||
7 | PE = "1" | 7 | PE = "1" |
8 | PV = "044+git${SRCREV}" | 8 | PV = "045+git${SRCREV}" |
9 | 9 | ||
10 | # v044 tag | 10 | # v045 tag |
11 | SRCREV = "1bc3e733f96033a508841e97fe08da7a12851782" | 11 | SRCREV = "39c9b67f86145953aa30def9d77c68597a4ccfe8" |
12 | SRC_URI = "git://git.kernel.org/pub/scm/boot/dracut/dracut.git;protocol=http" | 12 | SRC_URI = "git://git.kernel.org/pub/scm/boot/dracut/dracut.git;protocol=http \ |
13 | file://0001-util.h-include-sys-reg.h-when-libc-glibc.patch \ | ||
14 | " | ||
13 | 15 | ||
14 | inherit bash-completion | 16 | DEPENDS += "kmod" |
17 | DEPENDS_append_libc-musl = " fts" | ||
18 | |||
19 | inherit bash-completion pkgconfig | ||
15 | 20 | ||
16 | S = "${WORKDIR}/git" | 21 | S = "${WORKDIR}/git" |
17 | 22 | ||
@@ -30,7 +35,9 @@ EXTRA_OECONF = "--prefix=${prefix} \ | |||
30 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" | 35 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" |
31 | PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,,,systemd" | 36 | PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,,,systemd" |
32 | 37 | ||
33 | EXTRA_OEMAKE += 'libdir=${prefix}/lib' | 38 | EXTRA_OEMAKE += 'libdir=${prefix}/lib LDLIBS="${LDLIBS}"' |
39 | |||
40 | LDLIBS_append_libc-musl = " -lfts" | ||
34 | 41 | ||
35 | do_configure() { | 42 | do_configure() { |
36 | ./configure ${EXTRA_OECONF} | 43 | ./configure ${EXTRA_OECONF} |