aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/lvm2/lvm2.inc
blob: db3a1c1820fcc242f285e272b4d0d3d8b4531352 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
SECTION = "utils"
DESCRIPTION = "LVM2 is a set of utilities to manage logical volumes in Linux."
LICENSE = "GPL"
DEPENDS = "device-mapper"
INC_PR = "r2"

S = "${WORKDIR}/LVM2.${PV}"
SRC_URI = "ftp://sources.redhat.com/pub/lvm2/old/LVM2.${PV}.tgz \
           file://crosscompile_fix.patch \
           file://include-limits.patch \
           file://lvm.conf"

# Unset user/group to unbreak install.
EXTRA_OECONF = "--with-user= --with-group= --disable-o_direct"
EXTRA_OECONF_arm = "--with-user= --with-group= --disable-o_direct"

inherit autotools

# We don't need to stage anything (the executables are no needed at build time by any
# other recipe)
do_stage() {
}

do_install_append() {
    # Install machine specific configuration file
    install -m 0644 ${WORKDIR}/lvm.conf ${D}${sysconfdir}/lvm/lvm.conf
}