diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:20:04 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:20:04 +0200 |
commit | 1b8dfe266937a37a4c642f96ceb2347bf4c00a17 (patch) | |
tree | 0c6aab146bb3c82efd9c7846a9a4e70dcb0ec84f /meta-initramfs/recipes-devtools/dracut/dracut_git.bb | |
download | meta-openembedded-daisy-140929.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-initramfs/recipes-devtools/dracut/dracut_git.bb')
-rw-r--r-- | meta-initramfs/recipes-devtools/dracut/dracut_git.bb | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/meta-initramfs/recipes-devtools/dracut/dracut_git.bb b/meta-initramfs/recipes-devtools/dracut/dracut_git.bb new file mode 100644 index 0000000000..945ba0f21c --- /dev/null +++ b/meta-initramfs/recipes-devtools/dracut/dracut_git.bb | |||
@@ -0,0 +1,41 @@ | |||
1 | SUMMARY = "Initramfs generator using udev" | ||
2 | DESCRIPTION = "Dracut is an event driven initramfs infrastructure. dracut (the tool) is used to create an initramfs image by copying tools and files from an installed system and combining it with the dracut framework, usually found in /usr/lib/dracut/modules.d." | ||
3 | |||
4 | LICENSE = "GPLv2" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | ||
6 | |||
7 | PE = "1" | ||
8 | PV = "036" | ||
9 | |||
10 | # v036 tag | ||
11 | SRCREV = "d50a99c5ceeb7107f624c5d3238d37509b2217a8" | ||
12 | SRC_URI = "git://git.kernel.org/pub/scm/boot/dracut/dracut.git" | ||
13 | |||
14 | S = "${WORKDIR}/git" | ||
15 | |||
16 | do_configure() { | ||
17 | ./configure --prefix=${prefix} \ | ||
18 | --libdir=${libdir} \ | ||
19 | --datadir=${datadir} \ | ||
20 | --sysconfdir=${sysconfdir} \ | ||
21 | --sbindir=${sbindir} \ | ||
22 | --disable-documentation \ | ||
23 | --bindir=${bindir} \ | ||
24 | --includedir=${includedir} \ | ||
25 | --localstatedir=${localstatedir} \ | ||
26 | } | ||
27 | |||
28 | do_install() { | ||
29 | oe_runmake install DESTDIR=${D} | ||
30 | } | ||
31 | |||
32 | FILES_${PN} += "${datadir}/bash-completion \ | ||
33 | ${libdir}/kernel \ | ||
34 | " | ||
35 | |||
36 | RDEPENDS_${PN} = "systemd findutils cpio util-linux-blkid bash ldd" | ||
37 | # This could be optimized a bit, but let's avoid non-booting systems :) | ||
38 | RRECOMMENDS_${PN} = " \ | ||
39 | kernel-modules \ | ||
40 | coreutils \ | ||
41 | " | ||