summaryrefslogtreecommitdiffstats
path: root/petitboot-paths.h
blob: 114d0b22b2a37bf4f185538ea3d67c7fc54afb18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef _PATHS_H
#define _PATHS_H

#ifndef PREFIX
#define PREFIX "/usr"
#endif

#ifndef PKG_SHARE_DIR
#define PKG_SHARE_DIR PREFIX "/share/petitboot"
#endif

#ifndef TMP_DIR
#define TMP_DIR "/var/tmp"
#endif

#define PBOOT_DEVICE_SOCKET "/var/tmp/petitboot-dev"
#define MOUNT_BIN "/bin/mount"
#define UMOUNT_BIN "/bin/umount"

/* at present, all default artwork strings are const. */
#define artwork_pathname(s) (PKG_SHARE_DIR "/artwork/" s)

#endif /* _PATHS_H */
OpenPOWER on IntegriCloud