summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/drbd
Commit message (Collapse)AuthorAgeFilesLines
* drbd-utils: fix usrmerge install pathMingli Yu2018-08-281-1/+12
| | | | | | | | | | | | | | | | | | | | | Install the files under folder /usr/lib/drbd to instead of /lib/drbd and also /usr/lib/udev to instead of /lib/udev/ when usrmerge enabled to fix below issue: | WARNING: drbd-utils-9.5.0-r0 do_package: QA Issue: drbd-utils: Files/directories were installed but not shipped in any package: /lib/drbd/drbdsetup-84 /lib/drbd/drbdadm-83 /lib/drbd/drbdsetup-83 /lib/drbd/drbdadm-84 /lib/drbd/drbd | Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_insta. | drbd-utils: 5 installed and not shipped files. [installed-vs-shipped] | ERROR: QA Issue: drbd-utils-dbg package is not obeying usrmerge distro feature. /lib should be relocated to /usr. [usrmerge] Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* drbd-utils: upgrade 9.4.0 -> 9.5.0Changqing Li2018-07-271-3/+3
| | | | | Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* drbd-utils: add submodule drbd-headers into SRC_URIchangqing.li@windriver.com2018-07-052-2/+48
| | | | | | | | | | | | | | | 1. add submodule drbd-headers into SRC_URI drbd-headers is git submodule of drbd-utils, so drbd-headers's code will not fetch during do_fetch. but it will get during do_compile(there is a logic in drbd-utils's makefile to do this), but if during do_compile, network is broken, fetch drbd-headers will fail, then do_compile will fail since missing header file. 2. add patch for fix drbd init script Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* drbd-utils: 8.9.6 -> 9.4.0Huang Qiyu2018-06-222-30/+6
| | | | | | | | | 1.Upgrade drbd-utils from 8.9.6 to 9.4.0. 2.Delete 0001-Makefile.in-fix-permission-bits-for-drbd.service.patch, since it is integrated upstream. 3.Upgrade the SRC_URI to use git fetcher Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* drbd-utils: add UPSTREAM_CHECK_URIYi Zhao2018-05-301-0/+2
| | | | | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* drbd: BLACKLIST recipeArmin Kuster2018-05-011-0/+2
| | | | | | | | | | | | | | | | [v2] Wrong version sent to list. forgot to refresh fails do to new kernel headers. | ../drbd/9.0.8-1-r0/drbd-9.0.8-1/drbd/drbd_receiver.c:1479:7: error: 'struct bio' has no member named 'bi_bdev'; did you mean 'bi_iter'? | bio->bi_bdev = device->ldev->backing_bdev; | ^~~~~~~ | bi_iter | .../drbd/9.0.8-1-r0/drbd-9.0.8-1/drbd/drbd_receiver.c:1484:17: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types] | bio->bi_end_io = drbd_peer_request_endio; Signed-off-by: Armin Kuster <akuster808@gmail.com>
* drbd-utils: update SRC_URIYi Zhao2018-02-041-1/+1
| | | | | | | | Update the SCR_URI since the original site is not available. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* drbd-utils: remove ↵Robert Yang2017-10-112-40/+0
| | | | | | | | | | | | 0001-drbd-8.4.4-drbd-tools-only-rmmod-if-DRBD-is-a-module.patch It is already in the source, fixed do_patch failure: Patch 0001-drbd-8.4.4-drbd-tools-only-rmmod-if-DRBD-is-a-module.patch is already applied; check your series file ERROR: drbd-utils-8.9.6-r0 do_patch: Function failed: patch_do_patch Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* drbd-utils: only rmmod if DRBD is a moduleJianchuan Wang2017-09-122-0/+40
| | | | | | | | | | | | | | Account for the case if the DRBD drive is built into the kernel. Otherwise, errors, like the following, will occur: root@localhost:~# /etc/init.d/drbd stop Stopping all DRBD resources: ERROR: Module drbd does not exist in /proc/modules Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* drbd: Add recipeJagadeesh Krishnanjanappa2017-09-082-0/+46
| | | | | | | | | | | | | DRBD is a block device which is designed to build high availability clusters. This is done by mirroring a whole block device via (a dedicated) network. You could see it as a "network RAID-1". This recipe provides DRBD9 kernel modules drbd.ko and drbd_transport_tcp.ko. Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* drbd-utils: remove /var/lock to avoid conflictJackie Huang2017-06-281-0/+5
| | | | | | | | | | | Remove the empty /var/lock to avoid conflict with base-files: | Error: Transaction check error: file /var/lock conflicts between attempted installs of drbd-utils-8.9.6-r0.core2_64 and base-files-3.0.14-r89.qemux86_64 Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* drbd-utils: fix dependency for perl under small-fsYadi.hu2017-05-091-1/+1
| | | | | | | | | | | Perl script drbd-overview fails to run due to some of perl's lib noexists under small rootfs,fixing it through adding explicit definitions Signed-off-by: Marius Tiplea <marius.tiplea@windriver.com> Signed-off-by: Yadi.hu <yadi.hu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* recipes: delete obsolete patchesOleksandr Kravchuk2017-03-161-38/+0
| | | | | | | Deleted bunch of patches which are not used anymore by any recipe. Signed-off-by: Oleksandr Kravchuk <oleksandr.kravchuk@pelagicore.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* drbd-utils: 8.9.3 -> 8.9.6Wang Xin2016-12-151-3/+3
| | | | | | | | | | | 1) Upgrade drbd-utils from 8.9.3 to 8.9.6. 2) Delete one patch, since the data has been changed. 0001-Makefile.in-don-t-compile-documentation.patch 3) Modify EXTRA_OECONF, since the documentation file is not suitable for cross-compile, so we do not compile it. Signed-off-by: Wang Xin <wangxin2015.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* drbd: fix permission bits of drbd.serviceQi.Chen@windriver.com2015-10-212-0/+26
| | | | | | | | The permission bits should be 0644 instead of 0755. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* drbd-utils: fix multilib problemQi.Chen@windriver.com2015-10-211-4/+4
| | | | | | | | | If multilib is enabled, errors about 'installed-not-shipped' would appear. This patch fixes this problem. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* drbd: upgrade 8.4.4 -> 8.9.3Li xin2015-09-113-36/+49
| | | | | | | | | | | | | | | | * Change recipe name from drbd to drbd-utils,since after 8.4.5, the drbd userland tools had been moved to their own repository at http://git.linbit.com/drbd-utils.git (tarball at http://oss.linbit.com/drbd) * Add 0001-Makefile.in-don-t-compile-documentation.patch to avoid build Errors. * Dropped drbd.service,since it is provided by Upstream. Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* drbd ufw linux-atm: correct certain packaging errorJoe Slater2015-07-061-2/+4
| | | | | | | | | | The named packages explicitly install some items under /lib, but the recipes assume they are in base_libdir. We change the recipes. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* meta-networking: standardize SECTION valuesJoe MacDonald2015-06-051-1/+1
| | | | | | | SECTION has been used inconsistently throughout the recipes in this layer. Convert them to all use the same convention. Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* drbd: Add recipesBian Naimeng2014-12-162-0/+63
DRBD is a block device which is designed to build high availability clusters. Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>