/
constants.h
34 lines (29 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
/**
* @file constants.h
* @copyright 2012 Jolla Ltd.
* @author Bernd Wachter <bernd.wachter@jollamobile.com>
* @date 2012
*/
#ifndef _CONSTANTS_H
#define _CONSTANTS_H
11
/// The group ID ssu expects to run as. This is usually the GID of the main phone user
12
#define SSU_GROUP_ID 1000
13
/// Path to the main ssu configuration file
14
#define SSU_REPO_CONFIGURATION "/usr/share/ssu/repos.ini"
15
/// Path to board / device family mappings file
16
#define SSU_BOARD_MAPPING_CONFIGURATION "/var/cache/ssu/board-mappings.ini"
17
18
/// Path to config.d for board mappings
#define SSU_BOARD_MAPPING_CONFIGURATION_DIR "/usr/share/ssu/board-mappings.d"
19
20
/// Directory where all the non-user modifiable data sits
#define SSU_DATA_DIR "/usr/share/ssu/"
21
/// The ssu protocol version used by the ssu client libraries
22
#define SSU_PROTOCOL_VERSION "1"
23
24
/// Maximum recursion level for resolving variables
#define SSU_MAX_RECURSION 1024
25
26
/// Path to zypper repo configuration
#define ZYPP_REPO_PATH "/etc/zypp/repos.d"
27
28
29
30
31
32
33
/// Path to the main ssu configuration file
#define SSU_FEATURE_CONFIGURATION "/var/cache/ssu/features.ini"
/// Path to the main ssu configuration file
#define SSU_FEATURE_CONFIGURATION_DIR "/usr/share/ssu/features.d"
34
#endif