2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-02-25 10:59:18 +00:00

fix: Fix CI build.

* WIP in github_action_xcat_test.pl
* Fix typo in build-ubunturepo.sh

Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
This commit is contained in:
Daniel Hilst Selli
2026-01-23 11:22:48 -03:00
parent c638ec3d35
commit 971df49d6e
2 changed files with 2 additions and 1 deletions

View File

@@ -89,7 +89,7 @@ if [ "$SETUP" = "1" ];then
apt-get -y install $REPREPO $DEVSCRIPTS $DEBHELPER $QUILT
echo "Finised setup for xcat-dep build. Rerun this script with SETUP=0 LOCAL_KEY=1 flags"
echo "Finished setup for xcat-dep build. Rerun this script with SETUP=0 LOCAL_KEY=1 flags"
exit 1
fi

View File

@@ -281,6 +281,7 @@ sub build_xcat_core{
my $cmd = "sudo ./build-ubunturepo -c UP=0 BUILDALL=1 GPGSIGN=0";
@output = runcmd("$cmd");
print join "", map { "build-ubunturepo.out: $_\n" } @output;
if($::RUNCMD_RC){
my $lastline = $output[-1];
$lastline =~ s/[\r\n\t\\"']*//g;