5
0
mirror of git://git.proxmox.com/git/proxmox-backup-restore-image.git synced 2025-01-31 09:47:00 +03:00

build initramfs: add busybox to base image as well

commit 83c46462ac6a99ce386088587c57e8a5131c36ca requires busybox to be
installed, which was only present in the debug image.

switching to busybox from busybox-static reduces the memory-footprint
quite a bit (699k vs. 1.9M) - and busybox only depends on libc6)

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Stoiko Ivanov 2023-06-01 16:32:35 +02:00 committed by Thomas Lamprecht
parent 322f01f6cb
commit 40187818f4

View File

@ -68,6 +68,7 @@ fi
echo "getting base dependencies"
add_pkgs "
busybox:amd64 \
libstdc++6:amd64 \
libssl3:amd64 \
libacl1:amd64 \
@ -107,7 +108,6 @@ echo "getting extra/debug dependencies"
# add debug helpers for debug initramfs, packages from above are included too
add_pkgs "
util-linux:amd64 \
busybox-static:amd64 \
gdb:amd64 \
strace:amd64 \
" 'debug'