Skip to content

Commit 5aaed74

Browse files
committed
init-container: fix getting sources for Alma 10
That case had been forgotten, and the error message was wrong. Signed-off-by: Yann Dirson <yann.dirson@vates.tech>
1 parent cb21a53 commit 5aaed74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/xcp_ng_dev/files/init-container.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ if [ -n "$BUILD_LOCAL" ]; then
9797

9898
case "$OS_NAME,$OS_RELEASE" in
9999
XCP-ng,8.2.*|XCP-ng,8.3.*) ;; # sources always available via git-lfs
100-
XCP-ng,8.99.*|XCP-ng,9.*) if [ -r sources ]; then alma_get_sources -i sources; fi ;;
101-
*) echo >&2 "ERROR: unknown release, cannot know package manager"; exit 1 ;;
100+
XCP-ng,8.99.*|XCP-ng,9.*|AlmaLinux,10.*) if [ -r sources ]; then alma_get_sources -i sources; fi ;;
101+
*) echo >&2 "ERROR: unknown release, don't know how to find sources"; exit 1 ;;
102102
esac
103103

104104
sudo $BDEP "${SPECFLAGS[@]}" -y $specs

0 commit comments

Comments
 (0)