]> git.proxmox.com Git - proxmox-backup-restore-image.git/commit
build initramfs: download packages into per-flavor dirs
authorStoiko Ivanov <s.ivanov@proxmox.com>
Thu, 1 Jun 2023 14:32:32 +0000 (16:32 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 1 Jun 2023 15:41:47 +0000 (17:41 +0200)
commitfb04ffde9a7a78bdc3cf88ca3aab01e4cf8bfadd
treeb7134f698ad71673033831889a78aa7b64fc35ab
parent0d1c7ed1b00744c57018e396d65e0bd1b2aaeeca
build initramfs: download packages into per-flavor dirs

commit f773602bd35c84c292649fb1c6e215050f25c21e introduced pre-caching
packages in the source-package, but resulted in both initrds getting
all packages installed:
* DOWNLOAD_ONLY=1 .../build_intiramfs.sh puts all packages in to pkgs
* installation when running w/o DOWNLOAD_ONLY installs all files
  matching '*.deb' - which results in all packages being installed

Additionally the TO_DOWNLOAD variable contained all packages anyways
(apt-rdepends yields packagenames - the file-existance check matches
on deb-filenames (containing version+arch) - so this was stripped out

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