summaryrefslogtreecommitdiffstats
path: root/petitboot-paths.h
blob: f8c59646e537362e1d5ebdc8b6bf47e6aeeed539 (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/mnt/"
#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