Files
bpfire/lfs/lvm2
Adolf Belka b5f4ca0b0d lvm2: Update to version 2.03.26
- Update from version 2.03.23 to 2.03.26
- Update of rootfile not required
- Changelog
    2.03.26
	  Fix internal error reported by pvmove on a VG with single PV.
	  Also accept --mknodes --refresh for vgscan.
	  Fix vgmknodes --refresh to wait for udev before checking /dev content.
	  Use log/report_command_log=1 config setting by default for JSON output format.
	  Fix unreleased memory pools on RAID lvextend.
	  Add --integritysettings option to manipuilate dm-integrity settings.
    2.03.25
	  Utilize more radix_tree instead of dm_hash and btree.
	  Refactor DM uuid caching from device_mapper directory.
	  Enhance checking for DM uuid device.
	  Fix lvm shell command completion on tab key (2.03.24).
	  Avoid lockd_vg call to lvmlockd for local VGs.
	  Allow forced change of locktype from none.
	  Handle OPTIONS defined in /etc/sysconfig/lvmlockd.
    2.03.24
	  Lvconvert supports VDO options for thin-pool with vdo conversion.
	  Improve placement to .data.rel.ro and .rodata sections.
	  Fix support for -y and -W when creating thinpool with vdo.
	  Bettter support for runtime valgrind detection.
	  Allow command interruption when communicating with dmeventd.
	  Fix resize of VDO volume used for thin pool data volume.
	  Use -Wl,-z,now and -Wl,--as-needed for compilation by default.
	  Require 3.7 as minimal version for sanlock.
	  Share code for closing opened desriptors on program startup.
	  Fix memleak in lvmcache.
	  Add configure --with-default-event-activation=ON setting.
	  Fix return value from reporter function when hitting internal error.
	  Skip checking of pools for lvremove and vgremove commands.
	  VDO modprobes dm-vdo for 6.9 kernel and kvdo for older kernel version.
	  Fix lvs reporting for VDO volumes with new upstream kernel driver.
	  Don't import DM_UDEV_DISABLE_OTHER_RULES_FLAG in LVM rules, DM rules cover it.
	  Fix table line generation for cache snapshots using cachevol.
	  Enhance lvconvert support for external origins stacking.
	  When swapping LV names also swap properties like hostname, time and data.
	  Fix removal of stacked external origins.
	  Lock filesystem when converting volume to read-only external origin.
	  Support external origin between different thin-pool.
	  Improve validation of acceptable volumes for external origins.
	  Reduce amount of preloaded devices for complex device trees.
	  Avoid logging problems from monitoring snapshots with inactive origins.
	  Check for cache policy module presence in kernel's builtin modules file.
	  Add configure --with-modulesdir to select kernel modules directory.
	  Support creation of thin-pool with VDO use for its data volume.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-09-16 17:08:09 +00:00

92 lines
3.5 KiB
Plaintext

###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2024 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
VER = 2.03.26
THISAPP = LVM2.$(VER)
DL_FILE = $(THISAPP).tgz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_BLAKE2 = bf7abb8cea32336d8e4c695111fa73fffb242925b2276ddbffcc74c5547a6338a8c7e0dab6a6f77efa31fb9a3f4fad59792b36dedd5c03baeef4dfff5fbf545d
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
b2 : $(subst %,%_BLAKE2,$(objects))
dist:
@$(PAK)
###############################################################################
# Downloading, checking, b2sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_BLAKE2,$(objects)) :
@$(B2SUM)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
$(UPDATE_AUTOMAKE)
cd $(DIR_APP) && \
./configure \
--prefix=/usr \
--with-usrlibdir=/usr/lib \
--enable-pkgconfig \
--with-udevdir=/lib/udev/rules.d \
--with-default-locking-dir=/run/lvm \
--enable-udev_rules \
--enable-udev_sync
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
# copy the tailored lvm udev rules file that will mount volumes without systemd
cp -rf $(DIR_SRC)/config/lvm/69-dm-lvm.rules /lib/udev/rules.d/
@rm -rf $(DIR_APP)
@$(POSTBUILD)