Skip to content

Commit

Permalink
lib/system: Add cryptsetup utility
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 Mar 5, 2019
1 parent 5c726bd commit df1a234
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,7 @@ DEFINE_HOST_PROG(PB_EXEC, pb-exec, [/usr/sbin/pb-exec])
DEFINE_HOST_PROG(SH, sh, [/bin/sh])
DEFINE_HOST_PROG(SCSI_RESCAN, scsi-rescan, [/usr/sbin/scsi-rescan])
DEFINE_HOST_PROG(DMIDECODE, dmidecode, [/sbin/dmidecode])
DEFINE_HOST_PROG(CRYPTSETUP, CRYPTSETUP, [/usr/sbin/cryptsetup])

AC_ARG_WITH(
[tftp],
Expand Down
1 change: 1 addition & 0 deletions lib/system/system.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ const struct pb_system_apps pb_system_apps = {
.sh = HOST_PROG_SH,
.scsi_rescan = HOST_PROG_SCSI_RESCAN,
.dmidecode = HOST_PROG_DMIDECODE,
.cryptsetup = HOST_PROG_CRYPTSETUP,
};

#ifndef TFTP_TYPE
Expand Down
1 change: 1 addition & 0 deletions lib/system/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ struct pb_system_apps {
const char *sh;
const char *scsi_rescan;
const char *dmidecode;
const char *cryptsetup;
};

extern const struct pb_system_apps pb_system_apps;
Expand Down

0 comments on commit df1a234

Please sign in to comment.