summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/drbd/drbd-utils
Commit message (Collapse)AuthorAgeFilesLines
* drbd-utils: Fix build with gcc-15Nguyen Dat Tho2025-04-101-0/+34
| | | | | | | | | | | | To fix error: http://errors.yoctoproject.org/Errors/Details/851808/ In file included from string_matching.cpp:1: ./string_matching.h:10:18: error: 'uint16_t' does not name a type 10 | extern const uint16_t PATTERN_LIMIT; | ^~~~~~~~ ./string_matching.h:7:1: note: 'uint16_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>' Signed-off-by: Nguyen Dat Tho <tho3.nguyen@lge.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* drbd-utils: upgrade 9.28.0 -> 9.30.0Yi Zhao2025-03-212-154/+18
| | | | | | | | | | ChangeLog: https://github.com/LINBIT/drbd-utils/blob/v9.30.0/ChangeLog * Refresh local patches. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* drbd-utils: upgrade 9.27.0 -> 9.28.0Yi Zhao2024-09-112-93/+9
| | | | | | | | | | | | | | ChangeLog: https://github.com/LINBIT/drbd-utils/blob/v9.28.0/ChangeLog * Drop backport patch: 0001-configure.ac-Add-an-option-to-disable-host-udev-vers.patch * Refresh patch: 0001-drbd-utils-support-usrmerge.patch Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* drbd-utils: Fix a udev rule reproducibilityYoann Congal2024-03-051-0/+55
| | | | | | | | | | | | | drbd-utils configure step check the build host udev version to enable or disable the target udev rule. This leads to a clear non-reproducibility. This patch fixes this by adding a configure option to the configure step which allows to skip the udev version checks and unconditionally enable the udev rule. Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* drbd-utils: upgrade 9.22.0 -> 9.27.0Xiangyu Chen2024-03-024-160/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rebased patches: 0001-drbd-utils-support-usrmerge.patch 0001-drbdmon-add-LDFLAGS-when-linking.patch removed patches that already in upstream code repository 0001-replace-off64_t-with-off_t.patch 0002-drbdadm-drop-use-of-GLOB_MAGCHAR-use-strchr-heuristi.patch add keyutils depends Change log ========== 9.27.0 * adjust,v9: retry for diskless primaries * tests: sanitize env (e.g., TZ) * drbdmeta: dump and restore the members field 9.26.0 * config,v9: new config option load-balance-paths * config,v9: new config options rdma-ctrls-(snd|rcv)buf-size * drbdadm,v9: fix segfault if proxy has no path * drbd: increase maximum CPU mask size * systemd: introduce drbd-graceful-shutdown.service * drbdmeta,v9: fix regression, allow attach after offline resize * drbdsetup,v9: add path established information to JSON status * events2: terminate on module unload even under --poll * events2: specif exit code if module unload * docs: add spdx license file * drbdmon: various smaller improvements * drbdsetup,v9: support for TLS/kTLS 9.25.0 * drbdsetup,v9,show: fix meta disk format for json * drbdmon: various updates * build: fix RHEL6 spec builds * drbdmeta: {hex,}dump superblock * drbdmon: major rewrite * build: gcc v12 cleanups * misc: put locks into separate dir * selinux: add fowner fsetsid, they dropped a global noaudit rule 9.24.0 * windrbd: various fixes * v9: Support user-defined block-size * doc,v9: improvements all over the place * drbdadm,v9: implement drbdadm role <res:peer> * drbdadm,v9: pass --verbose/--statistics to drbdsetup status * drbd{adm,meta}: add repair-md subcommand 9.23.1 * drbdadm,v9,resync-after: fix too strict check 9.23.0 * drbdadm,v9,floating: fixup fake uname for 9.2.x strict_names=1 * drbdadm,v9,parser: fixup globs, also rm GNU libc specific extensions * drbdadm,v9,parser: allow via outside-address for NATed peers Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* *.patch: add Upstream-Status to all patchesMartin Jansa2023-06-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is new patch-status QA check in oe-core: https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a This is temporary work around just to hide _many_ warnings from optional patch-status (if you add it to WARN_QA). This just added Upstream-Status: Pending everywhere without actually investigating what's the proper status. This is just to hide current QA warnings and to catch new .patch files being added without Upstream-Status, but the number of Pending patches is now terrible: 5 (26%) meta-xfce 6 (50%) meta-perl 15 (42%) meta-webserver 21 (36%) meta-gnome 25 (57%) meta-filesystems 26 (43%) meta-initramfs 45 (45%) meta-python 47 (55%) meta-multimedia 312 (63%) meta-networking 756 (61%) meta-oe Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* .patch: fix Upstream-Status formatting issues reported by patchreview tool ↵Martin Jansa2023-02-241-1/+1
| | | | | | | from oe-core Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* drbd,drbd-utils: Upgrade to 9.2.1 and drbd-utils to 9.22.0Khem Raj2022-12-232-0/+144
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* drbd-utils: fix for usrmergeChangqing Li2022-04-221-15/+104
| | | | | | | | | | | * fix following error: systemd-analyze --man=false verify /lib/systemd/system/drbd.service drbd.service: Command /lib/drbd/scripts/drbd is not executable: No such file or directory * enhancement for usrmerge Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* drbd-utils: update 9.13.1 -> 9.20.2Sakib Sajal2022-04-103-48/+52
| | | | | | | | | | | | | | | | | | | Dropped patch which is merged upstream: 0001-v84-Make-setup_options-definitions-as-extern.patch Refreshed patch: 0001-drbd-utils-support-usrmerge.patch The compiled binaries are not linked to LDFLAGS options provided by the build system cause QA issue: do_package_qa: QA Issue: File /usr/sbin/drbdmon in package drbd-utils doesn't have GNU_HASH (didn't pass LDFLAGS?) Add LDFLAGS when linking drmdmon binary. Suppress new Clang warning -Wdefaulted-function-deleted and -Wunused-private-field Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* drbd-utils: Uphgrade to 9.13.1Khem Raj2020-08-131-0/+32
| | | | | | Fix build with gcc10 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* drbd-utils: switch to add patch from change source in do_configureChangqing Li2019-09-051-0/+108
| | | | | | | | | | it is not proper change source in do_configure, it will make source not updated even local.conf have change the DISTRO_FEATURES [YOCTO: #13493] Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* drbd-utils: update to 9.8.0Oleksandr Kravchuk2019-04-091-43/+0
| | | | | Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* drbd-utils: add submodule drbd-headers into SRC_URIchangqing.li@windriver.com2018-07-051-0/+43
| | | | | | | | | | | | | | | 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-221-25/+0
| | | | | | | | | 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: remove ↵Robert Yang2017-10-111-39/+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-121-0/+39
| | | | | | | | | | | | | | 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>
* 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: fix permission bits of drbd.serviceQi.Chen@windriver.com2015-10-211-0/+25
| | | | | | | | 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: upgrade 8.4.4 -> 8.9.3Li xin2015-09-111-0/+38
* 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>