Accepting request 1172475 from devel:BCI:Tumbleweed
🤖: sync package with devel:BCI:Tumbleweed from OBS OBS-URL: https://build.opensuse.org/request/show/1172475 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gcc-12-image?expand=0&rev=2
This commit is contained in:
@@ -40,11 +40,11 @@ LABEL org.opensuse.release-stage="released"
|
||||
|
||||
# endlabelprefix
|
||||
|
||||
RUN set -euo pipefail; zypper -n in --no-recommends gcc12 gcc12-c++ make; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
|
||||
RUN set -euo pipefail; zypper -n in --no-recommends gcc12 gcc12-c++ make gawk; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
|
||||
ENV GCC_VERSION="%%gcc_version%%"
|
||||
|
||||
# symlink all versioned gcc & g++ binaries to unversioned
|
||||
# ones in /usr/local/bin so that plain gcc works
|
||||
RUN set -euo pipefail; for gcc_bin in $(rpm -ql gcc12 gcc12-c++ |grep ^/usr/bin/ ); do \
|
||||
ln -f $gcc_bin $(echo "$gcc_bin" | sed -e 's|/usr/bin/|/usr/local/bin/|' -e 's|-12$||'); \
|
||||
ln -sf $gcc_bin $(echo "$gcc_bin" | sed -e 's|/usr/bin/|/usr/local/bin/|' -e 's|-12$||'); \
|
||||
done
|
||||
|
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 7 12:37:35 UTC 2024 - Dirk Mueller <dmueller@suse.com>
|
||||
|
||||
- install awk; use symlinks rather than hardlinks as they break the compiler
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 17 14:34:54 UTC 2024 - SUSE Update Bot <bci-internal@suse.de>
|
||||
|
||||
|
Reference in New Issue
Block a user