]> git.proxmox.com Git - proxmox-backup-restore-image.git/commitdiff
build initramfs: add busybox to base image as well
authorStoiko Ivanov <s.ivanov@proxmox.com>
Thu, 1 Jun 2023 14:32:35 +0000 (16:32 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 1 Jun 2023 15:41:47 +0000 (17:41 +0200)
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>
src/build_initramfs.sh

index 504c388b65803c8013268c59ef9d051cdcf1e0b8..d30ef91717608ea303b951fc1ba92b544b5ade62 100755 (executable)
@@ -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'