From d9d80a1f506c3b21e02b1347627e38a137131eb5 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Thu, 1 Jun 2023 17:38:46 +0200 Subject: [PATCH] copy over base package state for debug one 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 --- src/build_initramfs.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/build_initramfs.sh b/src/build_initramfs.sh index 6fed576..1ed0177 100755 --- a/src/build_initramfs.sh +++ b/src/build_initramfs.sh @@ -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 \