Browse Source

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>
lilik-openwrt-22.03
Jeremiah McConnell 7 years ago
parent
commit
eebe024835
1 changed files with 8 additions and 3 deletions
  1. +8
    -3
      utils/lvm2/Makefile

+ 8
- 3
utils/lvm2/Makefile View File

@ -1,6 +1,6 @@
# #
# Copyright (C) 2009-2010 Stefan Monnier # Copyright (C) 2009-2010 Stefan Monnier
# Copyright (C) 2011-2014 OpenWrt.org
# Copyright (C) 2011-2018 OpenWrt.org
# #
# This is free software, licensed under the GNU General Public License v3+. # This is free software, licensed under the GNU General Public License v3+.
# See /LICENSE for more information. # See /LICENSE for more information.
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=LVM2 PKG_NAME:=LVM2
PKG_VERSION:=2.02.177 PKG_VERSION:=2.02.177
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_LICENSE:=GPL-2.0 LGPL-2.1 PKG_LICENSE:=GPL-2.0 LGPL-2.1
PKG_SOURCE:=$(PKG_NAME).$(PKG_VERSION).tgz PKG_SOURCE:=$(PKG_NAME).$(PKG_VERSION).tgz
@ -50,7 +50,12 @@ define Package/lvm2/description
LVM toolset. LVM toolset.
endef endef
CONFIGURE_ARGS += --disable-o_direct
CONFIGURE_ARGS += \
--disable-o_direct \
--with-default-pid-dir=/var/run \
--with-default-dm-run-dir=/var/run \
--with-default-run-dir=/var/run/lvm \
--with-default-locking-dir=/var/lock/lvm
define Build/Compile define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \


Loading…
Cancel
Save