aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Riomar <henrik.riomar@gmail.com>2018-01-08 16:37:44 +0100
committerTimo Teräs <timo.teras@iki.fi>2018-01-09 11:49:15 +0200
commit0bd97e8aef5208bc92c3e72049f7fea198a90bd1 (patch)
treee74fea02988d4d3609dd9bdb77fda7dd3f7c6b5b
parent6fad003643073e42a2d2d04874bfbd564b5e4af7 (diff)
downloadmkinitfs-0bd97e8aef5208bc92c3e72049f7fea198a90bd1.tar.bz2
mkinitfs-0bd97e8aef5208bc92c3e72049f7fea198a90bd1.tar.xz
skip hooks on diskless install
We can not run hooks before musl and busybox is installed. Use the new flag --initramfs-diskless-boot in order to skip hooks. This flag also implies --initdb and the relevant --force flags for initramfs diskless boot.
-rwxr-xr-xinitramfs-init.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/initramfs-init.in b/initramfs-init.in
index f3a3ee5..7c78c58 100755
--- a/initramfs-init.in
+++ b/initramfs-init.in
@@ -598,7 +598,7 @@ if [ "$KOPT_chart" = yes ]; then
pkgs="$pkgs acct"
fi
-apkflags="--initdb --progress --force"
+apkflags="--initramfs-diskless-boot --progress"
if [ -z "$ALPINE_REPO" ]; then
apkflags="$apkflags --no-network"
else