From b36c7ee57dee70e1e1f65dee404993408f6b34b3 Mon Sep 17 00:00:00 2001 From: Matthias Fetzer Date: Fri, 3 Dec 2021 10:20:45 +0100 Subject: T4034: Fix package list for xcp-ng-iso build prepare target is running before xcp-ng-iso which copies ./data/package-lists/vyos-x86.list.chroot to $(build_dir)/config/package-lists/vyos-x86.list.chroot. During the build step, this is too late and therefore we need to patch the package list inside the build directory. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7a4850be..ede81a6f 100644 --- a/Makefile +++ b/Makefile @@ -243,7 +243,7 @@ lanner_nca25xx: check_build_config clean prepare xcp-ng-iso: check_build_config clean prepare @set -e @echo $(init_msg) - sed -i 's/vyos-xe-guest-utilities/xe-guest-utilities/g' data/package-lists/vyos-x86.list.chroot + sed -i 's/vyos-xe-guest-utilities/xe-guest-utilities/g' $(build_dir)/package-lists/vyos-x86.list.chroot sed -i 's/vyos-xe-guest-utilities/xe-guest-utilities/g' scripts/build-submodules cd $(build_dir) lb build 2>&1 | tee build.log -- cgit v1.2.3