[3/4] lib/system: Add vgscan, vgchange utilities
diff mbox

Message ID 20170615045431.29572-4-sam@mendozajonas.com
State Accepted
Headers show

Commit Message

Samuel Mendoza-Jonas June 15, 2017, 4:54 a.m. UTC
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
---
 configure.ac        | 2 ++
 lib/system/system.c | 2 ++
 lib/system/system.h | 2 ++
 3 files changed, 6 insertions(+)

Patch
diff mbox

diff --git a/configure.ac b/configure.ac
index 1496054..aff619e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -332,6 +332,8 @@  DEFINE_HOST_PROG(UMOUNT, umount, [/bin/umount])
 DEFINE_HOST_PROG(WGET, wget, [/usr/bin/wget])
 DEFINE_HOST_PROG(IP, ip, [/sbin/ip])
 DEFINE_HOST_PROG(UDHCPC, udhcpc, [/sbin/udhcpc])
+DEFINE_HOST_PROG(VGSCAN, vgscan, [/usr/sbin/vgscan])
+DEFINE_HOST_PROG(VGCHANGE, vgchange, [/usr/sbin/vgchange])
 
 AC_ARG_WITH(
     [tftp],
diff --git a/lib/system/system.c b/lib/system/system.c
index 917d444..b895610 100644
--- a/lib/system/system.c
+++ b/lib/system/system.c
@@ -28,6 +28,8 @@  const struct pb_system_apps pb_system_apps = {
 	.wget		= HOST_PROG_WGET,
 	.ip		= HOST_PROG_IP,
 	.udhcpc		= HOST_PROG_UDHCPC,
+	.vgscan		= HOST_PROG_VGSCAN,
+	.vgchange	= HOST_PROG_VGCHANGE,
 };
 
 #ifndef TFTP_TYPE
diff --git a/lib/system/system.h b/lib/system/system.h
index ab25101..08301c0 100644
--- a/lib/system/system.h
+++ b/lib/system/system.h
@@ -13,6 +13,8 @@  struct pb_system_apps {
 	const char *wget;
 	const char *ip;
 	const char *udhcpc;
+	const char *vgscan;
+	const char *vgchange;
 };
 
 extern const struct pb_system_apps pb_system_apps;