Skip to content

Commit 29b488b

Browse files
committed
(maint) Use the intended vanagon config file when building SPARC
1 parent 311535a commit 29b488b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

configs/platforms/solaris-11-native-sparc.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,6 @@
5555
basedir=default" > /var/tmp/vanagon-noask;
5656
echo "mirror=https://artifactory.delivery.puppetlabs.net/artifactory/generic__remote_opencsw_mirror/testing" > /var/tmp/vanagon-pkgutil.conf;
5757
pkgadd -n -a /var/tmp/vanagon-noask -d http://get.opencsw.org/now all
58-
/opt/csw/bin/pkgutil -U && /opt/csw/bin/pkgutil -y -i bison CSWxz-5.2.8,REV=2022.11.16 || exit 1
58+
/opt/csw/bin/pkgutil -config=/var/tmp/vanagon-pkgutil.conf -U && /opt/csw/bin/pkgutil -config=/var/tmp/vanagon-pkgutil.conf -y -i bison CSWxz-5.2.8,REV=2022.11.16 || exit 1
5959
]
6060
end

configs/platforms/solaris-11-sparc.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@
4141
basedir=default" > /var/tmp/vanagon-noask;
4242
echo "mirror=https://artifactory.delivery.puppetlabs.net/artifactory/generic__remote_opencsw_mirror/testing" > /var/tmp/vanagon-pkgutil.conf;
4343
pkgadd -n -a /var/tmp/vanagon-noask -d http://get.opencsw.org/now all
44-
/opt/csw/bin/pkgutil -U && /opt/csw/bin/pkgutil -y -i gcc4g++ bison CSWxz-5.2.8,REV=2022.11.16 || exit 1
44+
# See PA-6877 for why gcc4g++ needs to be installed seperately from the other packages
45+
/opt/csw/bin/pkgutil -U && /opt/csw/bin/pkgutil -y -i gcc4g++ && \
46+
/opt/csw/bin/pkgutil -config=/var/tmp/vanagon-pkgutil.conf -U && /opt/csw/bin/pkgutil -config=/var/tmp/vanagon-pkgutil.conf -y -i bison CSWxz-5.2.8,REV=2022.11.16 || exit 1
4547
4648
ntpdate pool.ntp.org]
4749
end

0 commit comments

Comments
 (0)