]> git.proxmox.com Git - proxmox-backup-restore-image.git/commitdiff
copy over base package state for debug one
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 1 Jun 2023 15:38:46 +0000 (17:38 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 1 Jun 2023 15:41:47 +0000 (17:41 +0200)
Fixes a small regression in 0cec05b ("build initramfs: download
packages into per-flavor dirs"), which while taking a better
approach in general, missed that the debug package list is selected
with the assumption that it builds on top of the base list, but with
the split into two separate directories (to fix pre-caching), this
was lost.

While the packages selected pulled in a surprising amount of reverse
dependencies, it was still missing some like lvm2 tools (dmeventd and
co) and most notably busybox - which is really nice to have in the
debug image.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/build_initramfs.sh

index 6fed576400aa3f1bf321cad1a218254e24093b21..1ed01774bf2183c20cdfa22344a5a2b5c4220377 100755 (executable)
@@ -110,6 +110,8 @@ fi
 
 echo "getting extra/debug dependencies"
 
+cp -a pkgs/base pkgs/debug
+
 # add debug helpers for debug initramfs, packages from above are included too
 add_pkgs "
     util-linux:amd64 \