Boots into initramfs then switch_root

This commit is contained in:
2026-03-26 09:00:28 +08:00
parent 8acf025a9d
commit 215eb0dc75
11 changed files with 173 additions and 32 deletions

View File

@@ -5,11 +5,11 @@ cd /build
echo "##################################################### Installing basic packages"
apk add alpine-base \
openrc busybox-openrc bash nftables \
lm-sensors lm-sensors-fancontrol lm-sensors-fancontrol-openrc
lm-sensors lm-sensors-fancontrol lm-sensors-fancontrol-openrc e2fsprogs
# For diagnotics
apk add \
iproute2 iproute2-ss curl bind-tools procps strace tcpdump lsof jq \
iproute2 iproute2-ss curl bind-tools procps strace tcpdump lsof jq binutils \
openssl nftables conntrack-tools ethtool findmnt kmod coreutils util-linux
echo '[ -x /bin/bash ] && exec /bin/bash -l' >> "/root/.profile"