summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/lvm2
Commit message (Collapse)AuthorAgeFilesLines
* lvm2: Fix patch errors found with muslKhem Raj2017-04-062-14/+12
| | | | | | | The patches had syntax errors which are only visible when using musl libs Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lvm2: fix lvm2-native RRECOMMENDS problemPatrick Ohly2017-03-311-1/+1
| | | | | | | | | | | lvm2-native doesn't have packages, so the RRECOMMENDS must be limited to the target case. This fixes: ERROR: Nothing RPROVIDES 'lvm2-native-scripts-native' (but virtual:native:.../meta-openembedded/meta-oe/recipes-support/lvm2/lvm2_2.02.166.bb RDEPENDS on or otherwise requires it) Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lvm2: libdevicemapper package needs udev rules and dmsetupPatrick Ohly2017-03-311-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | Applications like kpartx and cryptsetup were broken by moving only libdevicemapper itself into a separate package: as a result of that change, lvm2 was not getting pulled into images anymore although libdevicemapper depends on dmsetup and udev rules to be fully functional. For example, "kpartx -as" started to hang while waiting for the udev rules to trigger, which is what creates the /dev/mapper/ entries for the new partitions (see also https://github.com/docker/docker/issues/22025#issuecomment-243943728). Putting udev rules and dmsetup also into libdevicemapper is perhaps counter-intuitive, but necessary to keep the package functioning. A full lvm2 installation is guaranteed to pull them in, too, both because of implicit library dependencies and (just to be sure) an explicit RDEPENDS. lvm2-native doesn't have packages, so this RDEPENDS must be limited to the target case. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lvm2: Avoid an unnecessary dependency on bashPeter Kjellerstedt2017-03-312-1/+183
| | | | | | | | Rather than having the lvm2 package depend on bash, modify the init scripts it may contain to use /bin/sh instead of /bin/bash. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lvm2: fix bash depends QA issueArmin Kuster2017-03-161-0/+1
| | | | | | | WARNING: lvm2-2.02.166-r0 do_package_qa: QA Issue: /etc/init.d/lvm2-monitor contained in package lvm2 requires /bin/bash, but no providers found in RDEPENDS_lvm2? [file-rdeps] Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Make use of the new bb.utils.filter() functionPeter Kjellerstedt2017-03-071-1/+1
| | | | | Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lvm2: Replace 'lib' with ${nonarch_base_libdir} for placing udev rules.Amarnath Valluri2017-02-231-2/+2
| | | | | Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lvm2: Move libdevmapper to a separate packagePeter Kjellerstedt2017-02-221-1/+8
| | | | | | | | This allows, e.g., cryptsetup to use libdevmapper without having to pull in all of lvm2. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lvm2: Move bash scripts to a separate packagePeter Kjellerstedt2017-02-221-2/+10
| | | | | | | | | | | | By putting the bash scripts in a separate package (lvm2-scripts), the lvm2 package no longer needs to depend on bash. For backwards compatibility, the lvm2 package recommends the lvm2-scripts package. Also remove the adding of ${libdir}/device-mapper/.debug to FILES_${PN}-dbg as it has not been needed since Krogoth. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lvm2: Add a PACKAGECONFIG for lvmetadPeter Kjellerstedt2017-02-221-3/+3
| | | | | | | This allows the support for lvmetad to be disabled. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lvm2: Add a PACKAGECONFIG for dmeventdPeter Kjellerstedt2017-02-221-4/+5
| | | | | | | This allows the support for dmeventd to be disabled. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lvm2: Add a PACKAGECONFIG for udev supportPeter Kjellerstedt2017-02-221-12/+4
| | | | | | | | | | | | The added dependency on util-linux is necessary to avoid the following QA warning which appears when the dependency on udev is removed: WARNING: lvm2-2.02.166-r0 do_package_qa: QA Issue: lvm2 rdepends on util-linux-libblkid, but it isn't a build dependency, missing util-linux in DEPENDS or PACKAGECONFIG? [build-deps] Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lvm2: Standardize how PACKAGECONFIG is definedPeter Kjellerstedt2017-02-221-3/+6
| | | | | | | | The change in 4071e6b4b0 broke support for redefining PACKAGECONFIG in a bbappend without having to resort to use PACKAGECONFIG_class-target. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lvm2: Make sure odirect is always enabledPeter Kjellerstedt2017-02-221-9/+6
| | | | | | | | Make sure that even if PACKAGECONFIG is modified in a bbappend, odirect will still be enabled. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lvm2: Depend on autoconf-archive-native instead of autoconf-archivePeter Kjellerstedt2017-02-221-1/+1
| | | | | | | | This still satisfies the dependency, and allows lvm2 to be built when packages that use GPL-3.0 have been disabled via INCOMPATIBLE_LICENSE. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lvm2: enable native compilationPatrick Ohly2017-02-132-5/+25
| | | | | | | | | | | Required for cryptsetup-native, which useful for setting up dm-verity during a build. "native-sdk" gets added just in case that this may also be used in an SDK. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lvm2: remove unbuildable 2.02.138Patrick Ohly2017-02-131-4/+0
| | | | | | | | | The patches defined in lvm2.inc no longer apply cleanly to 2.02.138 and as no-one has complained, the old version is probably obsolete and can be removed. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lvm2: 2.02.138 -> 2.02.166dengke.du@windriver.com2016-11-238-217/+120
| | | | | Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lvm2: enable option o_directWenlin Kang2016-10-051-1/+2
| | | | | | | | | | During some lvm operations, e.g, create many volumes, we notice a quite big degradation in performance with o_direct disabled, if enabled the performance get much better, so, here we should enable this option. Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lvm2: add PACKAGECONFIG for lvm thin provisioningHongxu Jia2016-09-111-2/+10
| | | | | | | | The thin provisioning tools is runtime dependency, so disable build time detection. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* thin-provisioning-tools: add version 0.6.3Hongxu Jia2016-09-051-1/+1
| | | | | | | | | | | | | | | It is required by lvm2, since lvm2 could find modprobe correctly ------ |lvm lvchange -a y --config devices { preferred_names=["^/dev/mapper/", "^/dev/md/", "^/dev/sd"] } wrl/pool00 |/usr/sbin/thin_check: execvp failed: No such file or directory | Check of pool wrl/pool00 failed (status:2). Manual repair required! ------ The thin-provisioning-tools provides /usr/sbin/thin_check. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lvm2: tweak MODPROBE_CMD for cross compileHongxu Jia2016-09-052-0/+41
| | | | | | | | | | | | | | | Lvm uses variable MODPROBE_CMD at runtime, so build time detection of modprobe is incorrect. ------ |lvm lvcreate --thinpool wrl/pool00 --size 5556m --config devices { preferred_names=["^/dev/mapper/", "^/dev/md/", "^/dev/sd"] filter=["r|/loop1$|","r|/loop2$|","r|/loop3$|","r|/loop4$|","r|/loop5$|","r|/loop6$|","r|/loop7$|"] } |tmp/sysroots/x86_64-linux/usr/bin/modprobe: execvp failed: No such file or directory |tmp/sysroots/x86_64-linux/usr/bin/modprobe failed: 2 ------ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* meta-oe: use bb.utils.contains() instead of base_contains()Ross Burton2016-04-281-2/+2
| | | | | | | | base_contains() is a compatibility wrapper and may warn in the future, so replace all instances with bb.utils.contains(). Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lvm2: make it more explicit that readline support is disabled by defaultAndre McCurdy2016-03-251-8/+7
| | | | | | | | | | Any PACKAGECONFIG default assigned with ??= is lost by subsequent assignments with +=, therefore lvm2 is currently building with the readline PACKAGECONFIG disabled. Make that explicitly clear in the recipe. Also minor formatting updates, to align with style guide. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lvm2: Portable fixes for fixing compile with muslKhem Raj2016-02-015-1/+247
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lvm2: 2.02.125 -> 2.02.138Dai Caiyun2016-01-143-5/+5
| | | | | | | Upgrade lvm2 from 2.02.125 to 2.02.138. Signed-off-by: Dai Caiyun <daicy.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lvm2: add --with-systemdsystemunitdir in configurationAndrei Kholodnyi2015-10-131-1/+2
| | | | | | | Otherwise sed command for blk-availability.service may fail. It will look for the service file in a wrong location Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lvm2: install initscript or systemd unit service conditionallyRoy Li2015-09-231-2/+8
| | | | | | | | | | | | | | Issue: LIN8-854 install systemd unit files and modify them only when DISTRO_FEATURE systemd is enabled, otherwise do_install failed due to no blk-availability.service file sed: can't read tmp/work/armv5e-wrs-linux-gnueabi/lvm2/2.02.125-r0/image/lib/systemd/system/blk-availability.service: No such file or directory install the initscript when init is not systemd Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lvm2: enable lvmetadRoy Li2015-09-081-5/+5
| | | | | | | | | | | | | | the systemd unit file of lvm2-monitor requires lvm2-lvmetad.socket which asks to enable lvmetad, lvmetad is a metadata caching daemon for LVM. so this fixed the below error: # systemctl start lvm2-monitor Failed to start lvm2-monitor.service: Unit lvm2-lvmetad.socket failed to load: No such file or directory. # replace the installation of system unit file by make install_systemd_units Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lvm2: fix shared object file dlopen failedZhixiong Chi2015-07-302-0/+35
| | | | | | | | Add the variable snapshot_library into config file(lvm.conf), so it can link the correct shared object files with correct path. Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lvm2: upgrade from 2.02.97 to 2.02.125Kang Kai2015-07-306-104/+5
| | | | | | | | | | Upgrade lvm2 to 2.02.125: * drop 3 backported patches * remove PR and INC_PR Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lvm2: add systemd supportLi xin2015-06-231-1/+9
| | | | | Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lvm2: fix segfault for snapshotLi Zhou2015-05-282-1/+31
| | | | | | | | | Backport <commit c46d4a745dc8c5cb4cfc0c94863e555387e9af75> from lvm2 upstream <https://git.fedorahosted.org/git/lvm2.git> to solve issue: vgchange segfault in lv_is_merging_cow function. Signed-off-by: Li Zhou <li.zhou@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lvm2: add lvm.con to CONFFILESLiu Jian2014-11-241-0/+2
| | | | | | | | | | | * Files will be over written when updating using rpm. * If there is no %config micro before the file in the spec file, this file will be over-written after updating this package using rpm. This will make our settings lost. Signed-off-by: Jian Liu <jian.liu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* recipes: Add missing pkgconfig dependenciesRichard Purdie2014-07-151-1/+1
| | | | | | | These recipes were all missing pkgconfig dependencies. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lvm2: don't overrwrite EXTRA_OECONFyaoxp2014-06-131-1/+1
| | | | | | | | EXTRA_OECONF has been assigned before ‘EXTRA_OECONF = "--with-usrlibdir=${libdir}"’. collaps the 2 lines into a single EXTRA_OECONF. Signed-off-by: Yao Xinpan <yaoxp@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lvm2: add explicit selinux support controlChong.Lu@windriver.com2014-04-201-0/+4
| | | | | | | | | package has configure options controlling selinux support, so we want to explicitly use them via PACKAGECONFIG. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lvm2: fix mlock() on vectors vma for ARM.Chong.Lu@windriver.com2014-04-202-0/+32
| | | | | | | Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com> Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lvm2: replace CPPFunction with rl_completion_func_t to fix build errorZhenhua Luo2014-03-292-0/+34
| | | | | | | | | | | | | | lvm2 depends on readline, CPPFunction has been replaced by rl_completion_func_t in recent readline, Error log: | lvm.c: In function 'lvm_shell': | lvm.c:189:38: error: 'CPPFunction' undeclared (first use in this function) | rl_attempted_completion_function = (CPPFunction *) _completion; | ^ Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* recipes: bump PRs and remove PRINCsMartin Jansa2014-03-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * resolves following warnings: WARNING: Use of PRINC 17 was detected in the recipe meta-openembedded/meta-systemd/recipes-core/systemd/systemd-machine-units_1.0.bb (or one of its .bbappends) WARNING: Use of PRINC 1 was detected in the recipe meta-openembedded/meta-gpe/recipes-support/fbreader/fbreader_0.12.10.bb (or one of its .bbappends) WARNING: Use of PRINC 1 was detected in the recipe meta-openembedded/meta-gpe/recipes-support/fbreader/fbreader_git.bb (or one of its .bbappends) WARNING: Use of PRINC 1 was detected in the recipe meta-openembedded/meta-multimedia/recipes-multimedia/sox/sox_14.4.0.bb (or one of its .bbappends) WARNING: Use of PRINC 1 was detected in the recipe meta-openembedded/meta-oe/recipes-multimedia/mplayer/mplayer-common.bb (or one of its .bbappends) WARNING: Use of PRINC 1 was detected in the recipe meta-smartphone/meta-android/recipes-bsp/chroot-script/chroot-script_1.0.bb (or one of its .bbappends) WARNING: Use of PRINC 1 was detected in the recipe openembedded-core/meta/recipes-connectivity/avahi/avahi-ui_0.6.31.bb (or one of its .bbappends) WARNING: Use of PRINC 1 was detected in the recipe openembedded-core/meta/recipes-connectivity/bind/bind_9.8.1.bb (or one of its .bbappends) WARNING: Use of PRINC 1 was detected in the recipe openembedded-core/meta/recipes-core/systemd/systemd-serialgetty.bb (or one of its .bbappends) WARNING: Use of PRINC 1 was detected in the recipe openembedded-core/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb (or one of its .bbappends) WARNING: Use of PRINC 1 was detected in the recipe openembedded-core/meta/recipes-extended/screen/screen_4.0.3.bb (or one of its .bbappends) WARNING: Use of PRINC 1 was detected in the recipe openembedded-core/meta/recipes-extended/shadow/shadow-securetty_4.1.4.3.bb (or one of its .bbappends) WARNING: Use of PRINC 1 was detected in the recipe openembedded-core/meta/recipes-extended/shadow/shadow_4.1.4.3.bb (or one of its .bbappends) WARNING: Use of PRINC 1 was detected in the recipe openembedded-core/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb (or one of its .bbappends) WARNING: Use of PRINC 1 was detected in the recipe openembedded-core/meta/recipes-graphics/packagegroups/packagegroup-core-x11-xserver.bb (or one of its .bbappends) WARNING: Use of PRINC 1 was detected in the recipe openembedded-core/meta/recipes-kernel/modutils-initscripts/modutils-initscripts.bb (or one of its .bbappends) WARNING: Use of PRINC 1 was detected in the recipe openembedded-core/meta/recipes-multimedia/libsndfile/libsndfile1_1.0.25.bb (or one of its .bbappends) WARNING: Use of PRINC 1 was detected in the recipe openembedded-core/meta/recipes-support/libcap/libcap_2.22.bb (or one of its .bbappends) WARNING: Use of PRINC 11 was detected in the recipe openembedded-core/meta/recipes-bsp/keymaps/keymaps_1.0.bb (or one of its .bbappends) WARNING: Use of PRINC 11 was detected in the recipe openembedded-core/meta/recipes-core/systemd/systemd-compat-units.bb (or one of its .bbappends) WARNING: Use of PRINC 12 was detected in the recipe openembedded-core/meta/recipes-core/initscripts/initscripts_1.0.bb (or one of its .bbappends) WARNING: Use of PRINC 13 was detected in the recipe openembedded-core/meta/recipes-core/base-files/base-files_3.0.14.bb (or one of its .bbappends) WARNING: Use of PRINC 2 was detected in the recipe meta-openembedded/meta-oe/recipes-navigation/navit/navit_svn.bb (or one of its .bbappends) WARNING: Use of PRINC 2 was detected in the recipe meta-openembedded/meta-oe/recipes-support/lvm2/lvm2_2.02.97.bb (or one of its .bbappends) WARNING: Use of PRINC 2 was detected in the recipe openembedded-core/meta/recipes-connectivity/portmap/portmap_6.0.bb (or one of its .bbappends) WARNING: Use of PRINC 2 was detected in the recipe openembedded-core/meta/recipes-extended/pam/libpam_1.1.6.bb (or one of its .bbappends) WARNING: Use of PRINC 2 was detected in the recipe openembedded-core/meta/recipes-graphics/packagegroups/packagegroup-core-x11.bb (or one of its .bbappends) WARNING: Use of PRINC 3 was detected in the recipe meta-openembedded/meta-efl/recipes-efl/efl/entrance_svn.bb (or one of its .bbappends) WARNING: Use of PRINC 3 was detected in the recipe meta-openembedded/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb (or one of its .bbappends) WARNING: Use of PRINC 3 was detected in the recipe openembedded-core/meta/recipes-bsp/formfactor/formfactor_0.0.bb (or one of its .bbappends) WARNING: Use of PRINC 3 was detected in the recipe openembedded-core/meta/recipes-connectivity/avahi/avahi_0.6.31.bb (or one of its .bbappends) WARNING: Use of PRINC 3 was detected in the recipe openembedded-core/meta/recipes-connectivity/dhcp/dhcp_4.2.5-P1.bb (or one of its .bbappends) WARNING: Use of PRINC 3 was detected in the recipe openembedded-core/meta/recipes-core/init-ifupdown/init-ifupdown_1.0.bb (or one of its .bbappends) WARNING: Use of PRINC 3 was detected in the recipe openembedded-core/meta/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bb (or one of its .bbappends) WARNING: Use of PRINC 5 was detected in the recipe meta-openembedded/meta-oe/recipes-core/meta/distro-feed-configs.bb (or one of its .bbappends) WARNING: Use of PRINC 5 was detected in the recipe openembedded-core/meta/recipes-connectivity/bluez/bluez4_4.101.bb (or one of its .bbappends) WARNING: Use of PRINC 6 was detected in the recipe openembedded-core/meta/recipes-core/packagegroups/packagegroup-base.bb (or one of its .bbappends) WARNING: Use of PRINC 6 was detected in the recipe openembedded-core/meta/recipes-core/packagegroups/packagegroup-core-boot.bb (or one of its .bbappends) WARNING: Use of PRINC 6 was detected in the recipe openembedded-core/meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb (or one of its .bbappends) WARNING: Use of PRINC 7 was detected in the recipe meta-openembedded/meta-oe/recipes-navigation/gpsd/gpsd_3.7.bb (or one of its .bbappends) WARNING: Use of PRINC 7 was detected in the recipe openembedded-core/meta/recipes-core/udev/udev-extraconf_1.0.bb (or one of its .bbappends) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lvm2: Add runtime dependency on bashMihai Prica2013-08-161-1/+2
| | | | | | | Fixes rootfs generation error if bash is not included in the image. Signed-off-by: Mihai Prica <mihai.prica@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lvm2: add PACKAGECONFIG for readlineMartin Jansa2013-07-201-0/+3
| | | | | | * it's autodetected from sysroot Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lvm2: add configure option --with-usrlibdir to install shared library in ↵Olivia Yin2013-05-101-1/+2
| | | | | | | | | | | | | | | | 64-bit systems According to make.tmpl.in, shared lib will be installed under $(usrlibdir) install_lib_shared: $(LIB_SHARED) $(INSTALL_PROGRAM) -D $< $(libdir)/$(<F).$(LIB_VERSION) $(INSTALL_DIR) $(usrlibdir) $(LN_S) -f $(USRLIB_RELPATH)$(<F).$(LIB_VERSION) $(usrlibdir)/$(<F) But default $(usrlibdir) is $(DESTDIR)${prefix}/lib no matter it is 32-bit or 64-bit system. So we need align $(usrlibdir) with $(libdir). Signed-off-by: Olivia Yin <hong-hua.yin@freescale.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* recipes: Unify indentationMartin Jansa2013-04-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * This change is only aesthetic (unlike indentation in Python tasks). * Some recipes were using tabs. * Some were using 8 spaces. * Some were using mix or different number of spaces. * Make them consistently use 4 spaces everywhere. * Yocto styleguide advises to use tabs (but the only reason to keep tabs is the need to update a lot of recipes). Lately this advice was also merged into the styleguide on the OE wiki. * Using 4 spaces in both types of tasks is better because it's less error prone when someone is not sure if e.g. do_generate_toolchain_file() is Python or shell task and also allows to highlight every tab used in .bb, .inc, .bbappend, .bbclass as potentially bad (shouldn't be used for indenting of multiline variable assignments and cannot be used for Python tasks). * Don't indent closing quote on multiline variables we're quite inconsistent wheater it's first character on line under opening quote or under first non-whitespace character in previous line. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Koen Kooi <koen@dominion.thruhere.net>
* lvm2: upgrade to 2.02.97 which is compatible with newer udevMartin Jansa2012-12-162-7/+6
| | | | | | | | | | | * older versions are using symbols removed in newer udev | dmsetup.c:985: error: undefined reference to 'udev_get_dev_path' | collect2: error: ld returned 1 exit status | make[1]: *** [dmsetup] Error 1 | make[1]: Leaving directory `/OE/jansa-test/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/lvm2/2.02.85-r2.0/LVM2.2.02.85/tools' Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lvm2: added missing dependency on udevMarcin Juszkiewicz2012-10-101-0/+1
| | | | | | | | | checking for UDEV... no configure: error: Package requirements (libudev >= 143) were not met: No package 'libudev' found Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
* In LICENSE "&&" should be replaced with "&" [forgot .inc files]Andrei Gherzan2012-01-241-1/+1
| | | | | | | In this way meta-oe recipes will be parsed correctly in yocto. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* lvm2: import from OE rev 58b79786c6b1ee26340b20e7606d2144f52543edKoen Kooi2011-06-243-0/+337
update and clean Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>