Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for TW and ALP #11

Merged
merged 2 commits into from Aug 3, 2022
Merged

add support for TW and ALP #11

merged 2 commits into from Aug 3, 2022

Conversation

jreidinger
Copy link
Member

Problem

yast in container reports that it is not supported on opensuse TW and ALP, but it works there and it prevents submission to factory.

Solution

Add TW and ALP as supported distros.

Testing

  • Tested manually

@@ -40,7 +40,7 @@ echo
# check whether the host system is compatible with the container image,
# can be disabled with VERSION_CHECK=0, use on your risk!!
. /etc/os-release
if [ "$VERSION_CHECK" != "0" ] && { [ "$VERSION_ID" != "15.4" ] || { [ "$ID" != "sles" ] && [ "$ID" != "opensuse-leap" ]; }; }; then
if [ "$VERSION_CHECK" != "0" ] && [ "$ID" != "opensuse-tumbleweed" ] && [ "$ID" != "alp" ] && { [ "$VERSION_ID" != "15.4" ] || { [ "$ID" != "sles" ] && [ "$ID" != "opensuse-leap" ]; }; }; then
echo "ERROR: Unsupported system: $PRETTY_NAME" >&2
echo "Only 'openSUSE Leap 15.4' or 'SLES-15-SP4' systems are curently supported"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please adapt also the error message below.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, that is a part I forgot. I mean that I adapt it only in git and forget. Lets do it.

@jreidinger jreidinger merged commit 15d67e2 into master Aug 3, 2022
@jreidinger jreidinger deleted the enable_tw_alp branch August 3, 2022 14:02
@yast-bot
Copy link

yast-bot commented Aug 3, 2022

✔️ Public Jenkins job #10 successfully finished

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants