From f61b0401dab4fd633d8895367e461b7263188e12 Mon Sep 17 00:00:00 2001 From: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com> Date: Thu, 29 Jan 2026 14:46:49 -0300 Subject: [PATCH] fix: Fix xcat-genesis-scripts and xcat-vlan build in build-ubunturepo Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com> --- build-ubunturepo | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build-ubunturepo b/build-ubunturepo index 6132e6720..8a849b6d1 100755 --- a/build-ubunturepo +++ b/build-ubunturepo @@ -267,10 +267,17 @@ then fi for target_arch in $target_archs do + tar_orig="${file_low}_${ver}.orig.tar.gz" + if grep -q "3.0 (quilt)" "${file}/debian/source/format" && [ ! -f "$tar_orig" ]; then + tar czf "$tar_orig" --exclude debian -C "$file" . + fi + if grep -q $file $update_log || [ "$BUILDALL" == 1 -o "$file" = "perl-xCAT" ]; then rm -f $PKGDIR/${file_low}_*.$target_arch.deb cd $file CURDIR=$(pwd) + + find . -name '*.dch' -delete dch -v $pkg_version -b -c debian/changelog $build_string if [ "$target_arch" = "all" ]; then #xcat probe use some functions shipped by xCAT, for below reasons we need to copy files to xCAT-probe directory