Skip to content
This repository has been archived by the owner on Jan 15, 2025. It is now read-only.

(maint) Use the intended vanagon config file when building SPARC #881

Conversation

cthorn42
Copy link
Collaborator

No description provided.

@cthorn42 cthorn42 requested review from a team as code owners July 28, 2024 18:17
@cthorn42 cthorn42 force-pushed the maint/master/use_vanagon-config_for_sparc branch from ebf615a to cd0df2d Compare July 29, 2024 18:58
@@ -41,7 +41,9 @@
basedir=default" > /var/tmp/vanagon-noask;
echo "mirror=https://artifactory.delivery.puppetlabs.net/artifactory/generic__remote_opencsw_mirror/testing" > /var/tmp/vanagon-pkgutil.conf;
pkgadd -n -a /var/tmp/vanagon-noask -d http://get.opencsw.org/now all
/opt/csw/bin/pkgutil -U && /opt/csw/bin/pkgutil -y -i gcc4g++ bison CSWxz-5.2.8,REV=2022.11.16 || exit 1
# See PA-6877 for why gcc4g++ needs to be installed seperately from the other packages
/opt/csw/bin/pkgutil -U && /opt/csw/bin/pkgutil -y -i gcc4g++
Copy link
Contributor

@joshcooper joshcooper Jul 31, 2024

Choose a reason for hiding this comment

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

One nit, previously all of the pkgutil commands were chained together with && so if any of them failed, we fall back to exit 1.

Suggested change
/opt/csw/bin/pkgutil -U && /opt/csw/bin/pkgutil -y -i gcc4g++
/opt/csw/bin/pkgutil -U && /opt/csw/bin/pkgutil -y -i gcc4g++ && \

The \ is needed since the lines span multiple lines. Or you could put it all on one long line.

Also should we be passing the conf file with the -U command?

/opt/csw/bin/pkgutil -config=/var/tmp/vanagon-pkgutil.conf -U && ...

@cthorn42 cthorn42 force-pushed the maint/master/use_vanagon-config_for_sparc branch from cd0df2d to 29b488b Compare August 1, 2024 20:35
@joshcooper joshcooper merged commit e60911b into puppetlabs-toy-chest:master Aug 2, 2024
3 checks passed
@AriaXLi AriaXLi added the maintenance Maintenance chores are typically excluded from changelogs label Sep 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
maintenance Maintenance chores are typically excluded from changelogs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants