20 #ifndef DEBIAN_INSTALLER__SYSTEM__DPKG_H
21 #define DEBIAN_INSTALLER__SYSTEM__DPKG_H
23 #include <debian-installer/packages.h>
32 #define DI_SYSTEM_DPKG_ADMINDIR "/var/lib/dpkg/"
33 #define DI_SYSTEM_DPKG_INFODIR DI_SYSTEM_DPKG_ADMINDIR "info/"
34 #define DI_SYSTEM_DPKG_STATUSFILE DI_SYSTEM_DPKG_ADMINDIR "status"
35 #define DI_SYSTEM_DPKG_TMPCONTROLDIR DI_SYSTEM_DPKG_ADMINDIR "tmp.ci/"
38 int di_system_dpkg_package_configure (
di_packages *status,
const char *package,
bool force);
40 int di_system_dpkg_package_control_file_exec (
di_package *package,
const char *name,
int argc,
const char *
const argv[]);
Package.
Definition: package.h:95
int di_exec_mangle_status(int status)
Definition: exec.c:272
di_package_status status
Definition: package.h:104
void di_packages_append_package(di_packages *packages, di_package *package, di_packages_allocator *allocator)
Definition: packages.c:100
uint32_t di_ksize_t
Definition: types.h:78
Packages file - Allocator.
Definition: packages.h:52
void di_log(di_log_level_flags log_level, const char *format,...) __attribute__((format(printf
@ DI_LOG_LEVEL_INFO
Definition: log.h:41
static int di_exec_shell(const char *const cmd)
Definition: exec.h:168
Packages file.
Definition: packages.h:41
static int di_exec(const char *path, const char *const argv[])
Definition: exec.h:78
char * package
Definition: package.h:99