Skip to content

Commit

Permalink
lib/system: Add vgscan, vgchange utilities
Browse files Browse the repository at this point in the history
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
  • Loading branch information
sammj committed Jul 11, 2017
1 parent b003f5f commit 03fe06f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down
2 changes: 2 additions & 0 deletions lib/system/system.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions lib/system/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 03fe06f

Please sign in to comment.