SECTION = "utils" DESCRIPTION = "LVM2 is a set of utilities to manage logical volumes in Linux." LICENSE = "GPL" INC_PR = "r4" S = "${WORKDIR}/LVM2.${PV}" SRC_URI = "ftp://sources.redhat.com/pub/lvm2/LVM2.${PV}.tgz \ file://lvm.conf" # Unset user/group to unbreak install. EXTRA_OECONF = "--with-user= --with-group= --disable-o_direct" inherit autotools do_install_append() { # Install machine specific configuration file install -m 0644 ${WORKDIR}/lvm.conf ${D}${sysconfdir}/lvm/lvm.conf } TARGET_CC_ARCH += "${LDFLAGS}"