diff options
author | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2017-06-14 18:53:01 +1000 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2017-07-11 14:32:35 +1000 |
commit | 03fe06fa71f065e918c46a65e6a45e76063a07eb (patch) | |
tree | 312ee68c08e31895cf456e0c80fee9789d76cc5a | |
parent | b003f5f28b2cc7f98adcee7635d44884ff4dc012 (diff) | |
download | petitboot-03fe06fa71f065e918c46a65e6a45e76063a07eb.zip petitboot-03fe06fa71f065e918c46a65e6a45e76063a07eb.tar.gz |
lib/system: Add vgscan, vgchange utilities
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | lib/system/system.c | 2 | ||||
-rw-r--r-- | lib/system/system.h | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 8fedbe1..bba964c 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; |