diff options
author | Henrik Riomar <henrik.riomar@gmail.com> | 2017-12-29 21:10:44 +0100 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2018-01-03 14:20:58 +0200 |
commit | 23cb10477537a2bbf40ac06a61046f75f2b160c5 (patch) | |
tree | 2a9f983f1e03ee1becb32783b57bf5e90fb2e9c8 /src/apk_defines.h | |
parent | 99e7bb93dfff2f43987b81ce7600ad8fbd0ce64c (diff) | |
download | apk-tools-23cb10477537a2bbf40ac06a61046f75f2b160c5.tar.gz apk-tools-23cb10477537a2bbf40ac06a61046f75f2b160c5.tar.bz2 apk-tools-23cb10477537a2bbf40ac06a61046f75f2b160c5.tar.xz apk-tools-23cb10477537a2bbf40ac06a61046f75f2b160c5.zip |
add new flag --no-commit-hooks
This flag skips running hook scripts
This flag *must* be used during initramfs tmpfs initial install.
The reason that this new flag is needed is that the hooks will currently
always fail as musl and /bin/sh is missing at this stage on diskless.
Diffstat (limited to 'src/apk_defines.h')
-rw-r--r-- | src/apk_defines.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/apk_defines.h b/src/apk_defines.h index c743a31..08a3801 100644 --- a/src/apk_defines.h +++ b/src/apk_defines.h @@ -77,6 +77,7 @@ extern char **apk_argv; #define APK_OVERLAY_FROM_STDIN 0x2000 #define APK_NO_SCRIPTS 0x4000 #define APK_NO_CACHE 0x8000 +#define APK_NO_COMMIT_HOOKS 0x00010000 /* default architecture for APK packages. */ #if defined(__x86_64__) |