Commit Graph

69 Commits

Author SHA1 Message Date
Daniel Golle 20cc530004 lvm2: update to LVM2 2.03.17 and libdm Version 1.02.187
LVM2 Version 2.03.17 - 10th November 2022
=========================================
  Add new options (--fs, --fsmode) for FS handling when resizing LVs.
  Fix 'lvremove -S|--select LV' to not also remove its historical LV right away.
  Fix lv_active field type to binary so --select and --binary applies properly.
  Switch to use mallinfo2 and use it only with glibc.
  Error out in lvm shell if using a cmd argument not supported in the shell.
  Fix lvm shell's lastlog command to report previous pre-command failures.
  Extend VDO and VDOPOOL without flushing and locking fs.
  Add --valuesonly option to lvmconfig to print only values without keys.
  Updates configure with recent autoconf tooling.
  Fix lvconvert --test --type vdo-pool execution.
  Add json_std output format for more JSON standard compliant version of output.
  Fix vdo_slab_size_mb value for converted VDO volume.
  Fix many corner cases in device_id, including handling of S/N duplicates.
  Fix various issues in lvmdbusd.

DM Version 1.02.187 - 10th November 2022
========================================
  Add DM_REPORT_GROUP_JSON_STD for more JSON standard compliant output format.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-04-04 03:58:39 +01:00
Daniel Golle 4db53132ba lvm2: update LVM2 to 2.03.22 and DM to 1.02.196
Remove downstream patch 004-missing-includes.patch which was merged
upstream in version 2.03.19

LVM2 changelog since version 2.03.17
version 2.03.22 - 02nd August 2023
==================================
  Fix pv_major/pv_minor report field types so they are integers, not strings.
  Add lvmdevices --delnotfound to delete entries for missing devices.
  Always use cachepool name for metadata backup LV for lvconvert --repair.
  Make metadata backup LVs read-only after pool's lvconvert --repair.
  Improve VDO and Thin support with lvmlockd.
  Handle 'lvextend --usepolicies' for pools for all activation variants.
  Fix memleak in vgchange autoactivation setup.
  Update py-compile building script.
  Support conversion from thick to fully provisioned thin LV.
  Cache/Thin-pool can use error and zero volumes for testing.
  Individual thin volume can be cached, but cannot take snapshot.
  Better internal support for handling error and zero target (for testing).
  Resize COW above trimmed maximal size is does not return error.
  Support parsing of vdo geometry format version 4.
  Add lvm.conf thin_restore and cache_restore settings.
  Handle multiple mounts while resizing volume with a FS.
  Handle leading/trailing spaces in sys_wwid and sys_serial used by deivce_id.
  Enhance lvm_import_vdo and use snapshot when converting VDO volume.
  Fix parsing of VDO metadata.
  Fix failing -S|--select for non-reporting cmds if using LV info/status fields.
  Allow snapshots of raid+integrity LV.
  Fix multisegment RAID1 allocator to prevent using single disk for more legs.

version 2.03.21 - 21st April 2023
=================================
  Fix activation of vdo-pool for with 0 length headers (converted pools).
  Avoid printing internal init messages when creation integration devices.
  Allow (write)cache over raid+integrity LV.

version 2.03.20 - 21st March 2023
=================================
  Fix segfault if using -S|--select with log/report_command_log=1 setting.
  Configure now fails when requested lvmlockd dependencies are missing.
  Add some configure Gentoo enhancements for static builds.

version 2.03.19 - 21st February 2023
====================================
  Configure supports --with-systemd-run executed from udev rules.
  Enhancement for build with MuslC systemd and non-bash system shells (dash).
  Do not reset SYSTEMD_READY variable in udev for PVs on MD and loop devices.
  Ensure udev is processing origin LV before its thick snapshots LVs.
  Fix and improve runtime memory size detection for VDO volumes.

version 2.03.18 - 22nd December 2022
====================================
  Fix issues reported by coverity scan.
  Fix warning for thin pool overprovisioning on lvextend (2.03.17).
  Add support for writecache metadata_only and pause_writeback settings.
  Fix missing error messages in lvmdbusd.

DM changelog since version 1.02.187:

Version 1.02.196 - 02nd August 2023
===================================

Version 1.02.195 - 21st April 2023
==================================

Version 1.02.193 - 21st March 2023
==================================

Version 1.02.191 - 21st February 2023
=====================================
  Improve parallel creation of /dev/mapper/control device node.
  Import previous ID_FS_* udev records in 13-dm-disk.rules for suspended DM dev.
  Remove NAME="mapper/control" rule from 10-dm.rules to avoid udev warnings.

Version 1.02.189 - 22nd December 2022
=====================================
  Improve 'dmsetup create' without given table line with new kernels.

(Version 1.02.188 is missing)

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2023-08-05 12:15:55 +01:00
Daniel Golle 68adeddf31 lvm2: update LVM2 to 2.03.17 and DM to 1.02.187
Version 2.03.17 - 10th November 2022
====================================
  Add new options (--fs, --fsmode) for FS handling when resizing LVs.
  Fix 'lvremove -S|--select LV' to not also remove its historical LV right away.
  Fix lv_active field type to binary so --select and --binary applies properly.
  Switch to use mallinfo2 and use it only with glibc.
  Error out in lvm shell if using a cmd argument not supported in the shell.
  Fix lvm shell's lastlog command to report previous pre-command failures.
  Extend VDO and VDOPOOL without flushing and locking fs.
  Add --valuesonly option to lvmconfig to print only values without keys.
  Updates configure with recent autoconf tooling.
  Fix lvconvert --test --type vdo-pool execution.
  Add json_std output format for more JSON standard compliant version of output.
  Fix vdo_slab_size_mb value for converted VDO volume.
  Fix many corner cases in device_id, including handling of S/N duplicates.
  Fix various issues in lvmdbusd.

libdm changes:
Version 1.02.187 - 10th November 2022
=====================================
  Add DM_REPORT_GROUP_JSON_STD for more JSON standard compliant output format.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-12-20 01:41:02 +00:00
Daniel Golle 4e70f5caef
lvm2: update to release 2.03.16
Mostly bug fixes and minor improvements.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-09-07 22:56:06 +01:00
Daniel Golle 63408123df lvm2: update to 2.03.15
Version 2.03.15 - 07th February 2022
====================================
  Remove service based autoactivation. global/event_activation = 0 is NOOP.
  Improve support for metadata profiles for --type writecache.
  Use cache or active DM device when available with new kernels.
  Introduce function to utilize UUIDs from DM_DEVICE_LIST.
  Increase some hash table size to better support large device sets.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-03-18 23:47:14 +00:00
Daniel Golle 74969337cf
lvm2: update to version 2.03.14
Drop two local patches which were replaced by upstream commits.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-11-15 02:16:36 +00:00
Daniel Golle f20f69e63b
lvm2: update to version 2.03.13
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-08-16 14:35:10 +01:00
Daniel Golle f32236e542
lvm2: add hotplug script to scan and enable PVs on hotplug
Automatically scan and activate physical volumes when added at runtime.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-08-08 15:49:20 +01:00
Daniel Golle dc27d43f29
lvm2: update to version 2.03.12
Two notable changes are devices file and metadata based autoactivation.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-05-10 04:20:52 +01:00
Daniel Golle 43597b918a
lvm2: don't use `-normal` suffix for non-SELinux variants
This was probably a work-around for an issue with dependencies which
was fixed by
988ed00802

Remove it as all other packages with `-selinux` variants do provide
a non-SELinux-variant without any suffix and that works now, see
procd vs. procd-selinux
busybox vs. busybox-selinux

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-04-10 12:01:59 +01:00
Ilya Lipnitskiy 5d8d4fbbcb
treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-20 16:02:15 -08:00
Daniel Golle 2b1b63d638 lvm2: update to version 2.03.11
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-01-11 00:46:27 +00:00
Maxim Storchak d39c77ba81 lvm2: provide selinux and non-selinux build variants
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2020-12-31 00:28:58 +00:00
Rosen Penev 744568fd31 lvm2: pass CC explicitly
It seems that in some situations, the host CC gets picked up. Just pass
the target one explicitly.

Refreshed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-20 17:24:18 +00:00
Daniel Golle 7b790a1a09
lvm2: update to version 2.03.10
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-09-27 22:25:42 +01:00
Liangbin Lian 9bb0962d6e lvm2: fix CE in mac
command-count.h generated by makefile was wrong
when using default shell in mac,
set shell to bash to fix it.

Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
2020-08-14 14:19:12 +08:00
Daniel Golle d8d06cfca2 lvm2: depend on libselinux
LVM2 uses libselinux if found at buildtime and then requires it to
be present on run-time.
As LVM2 is usually not installed on space-constraint systems just
always build with libselinux as apart from the extra space usage it
doesn't hurt.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-08-14 01:45:39 +01:00
Daniel Golle f603154641 lvm2: update to version 2.03.09
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-06-07 18:54:49 +01:00
Harrie Rooijackers 3abb7cb464 lvm2: Added script and updated Makefile to activate lvm2 at preinit to allow overlays on lvm2 partitions for mount_root
Signed-off-by: Harrie Rooijackers <Harrie.Rooijackers+OpenWRT@gmail.com>
2020-03-08 13:57:52 +01:00
Rosen Penev 78360ebdda
lvm2: update to 2.03.08
Add PKG_BUILD_PARALLEL for faster compilation.

Replace '  ' with TAB for consistency between packages.

Refresh patches and remove outdated ones.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-03-04 20:21:30 -08:00
Daniel Golle 22eee61766 lvm2: update to version 2.03.05
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-01-07 01:27:16 +02:00
Jan Pavlinec 299e5b0a9b
treewide: add PKG_CPE_ID for better cvescanner coverage
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-09-17 12:40:26 +02:00
Yousong Zhou 9ac5ac81ab treewide: avoid deref symlinks when installing .so
This change is inspired by commit openwrt/openwrt@38b22b1e ("nghttp2:
deduplicate files in libnghttp2")

The packages in this commit are identified with the following command

	grep -rin -E 'INSTALL_(DATA|BIN)' | grep -F '.so' | grep -F '*'

Some of them do not have symlinks and are not affected, but the change
is still applied for consideration of best practices just in case

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-06-21 09:52:32 +08:00
Rosen Penev aae2699ca9
lvm2: Update to 2.03.02
Just bugfixes:

  Fix missing proper initialization of pv_list struct when adding pv.
  Fix (de)activation of RaidLVs with visible SubLVs.
  Prohibit mirrored 'mirror' log via lvcreate and lvconvert.
  Use sync io if async io_setup fails, or use_aio=0 is set in config.
  Fix more issues reported by coverity scan.

Updated Makefile to standards.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-12-25 15:56:01 -08:00
Rosen Penev 154abade7a lvm2: Update to 2.03.01
Moved libblkid depend to fix compilation

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-10 13:41:42 -08:00
Rosen Penev 307ac69e60 LVM2: Update to 2.02.81
Switch to upstream URL.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-08-14 22:28:07 -07:00
Jeremiah McConnell eebe024835 lvm2: use explicit run/lock dir defaults
The configure scripts for lvm2 guess defaults for run/lock based on if
/run exists on the build host.  Use explicit values for the defaults
for consistency across build hosts.

Signed-off-by: Jeremiah McConnell <miah@miah.com>
2018-06-15 17:34:50 -06:00
Daniel Golle 072d43f6be lvm2: update to version 2.02.177
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2018-01-05 02:12:24 +01:00
Daniel Golle d947a6cd79 lvm2: update to version 2.02.176
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-11-07 01:30:02 +01:00
Daniel Golle 8a33af3490 lvm2: update to version 2.02.168
Add HTTP mirror URL as well.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-06-05 18:22:04 +02:00
Alberto Bursi dbe0886898 llvm2: capitalized submenu name (disc -> Disc)
Part of a wider housekeeping effort on the packages repository.

Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
2016-11-02 10:08:11 +01:00
klirichek e9c753b6dd Fixed missing dependency of lvm2 package 2016-10-11 18:43:14 +07:00
Daniel Golle 786b9ffb58 lvm2: update to version 2.02.165
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-09-19 19:11:09 +02:00
Daniel Golle 0d3a10e3b4 lvm2: update to version 2.02.164
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-09-01 22:18:58 +02:00
Daniel Golle 118a96a913 lvm2: update to version 2.02.161
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-07-18 22:59:13 +02:00
Daniel Golle 3a7e81f71e lvm2: update to version 2.02.156
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-06-14 01:22:27 +02:00
Daniel Golle 8edcafcf11 lvm2: fix accidentally augmented goto label
also refresh patches while at it

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-05-20 06:39:57 +02:00
Daniel Golle 04f17f2b9d lvm2: update to version 2.02.154
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-05-19 19:17:38 +02:00
Daniel Golle ac82f83188 lvm2: update to version 2.02.150
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-04-19 14:04:52 +02:00
Daniel Golle edbd16954b lvm2: update to version 2.02.145
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-03-09 02:44:54 +01:00
Alexander Ryzhov 9c491c9970 lvm2: fix libdevmapper deps
Signed-off-by: Alexander Ryzhov <openwrt@ryzhov-al.ru>
2016-02-15 05:40:09 -05:00
Daniel Golle 7be6a76bc3 lvm2: update to version 2.02.141
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-02-10 21:33:03 +02:00
Daniel Golle 6e9cf99476 lvm2: update to 2.02.139
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-01-14 01:38:06 +01:00
Daniel Golle 9377520afd lvm2: update to version 2.02.138
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-12-26 02:21:27 +01:00
Alexander Ryzhov 70f31a5446 lvm2: fix source URL
Signed-off-by: Alexander Ryzhov <openwrt@ryzhov-al.ru>
2015-12-06 07:45:18 -05:00
Daniel Golle 90fa3357f2 lvm2: update to 2.02.136
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-12-03 01:25:11 +01:00
Daniel Golle c6e4be6b25 lvm2: update to version 2.02.132
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-10-05 12:57:03 +02:00
Daniel Golle ab413cbcf5 lvm2: update to version 2.02.130
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-09-07 19:46:07 +02:00
cmf 11e6466cfb [lvm2] - Update to version 2.02.129
This commit updates (and also fixes) the lvm2 package.
The previous Makefile version, was using an incorrect
  package version (2.02.126), which does not exists
  at the specified FTP source site.

Signed-off-by: Carlos Ferreira <carlosmf.pt@gmail.com>
2015-09-04 14:01:26 +01:00
Daniel Golle f4816e2ba1 lvm2: update source, refresh patch
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-07-26 23:35:10 +02:00