1
0
James Ketrenos 9f79072520 Updated to latest xe-solutions with updated platform support
Signed-off-by: James Ketrenos <james.p.ketrenos@intel.com>
2021-01-14 13:47:26 -08:00

37 lines
1.0 KiB
Markdown

NOTE: These containers are for internal Intel
development purposes only for use with building
and testing software enabling Red Hat Enterprise
Linux.
# To upgrade to a minor release
Generate a new 10-rhel-partner.in file, which assumes we have
build containers already for the target distro and the partner
keys exist in:
https://gitlab.devtools.intel.com/vtt/sws/gfx-build-docker-images
```bash
export OS_RELEASE=8.2
git clone --depth=1 --branch=master \
https://gitlab.devtools.intel.com/vtt/sws/gfx-build-docker-images tmp
TARGET=${OS_RELEASE}/10-rhel-partner.in
REPOS=tmp/rhel-${OS_RELEASE}/dockerfiles/
[ ! -d $(dirname ${TARGET}) ] && mkdir $(dirname ${TARGET})
cat << EOF > ${TARGET}
# Remove any pre-configured repositories
RUN rm -rf /etc/yum.repos.d/*
# Partner keys from:
# https://gitlab.devtools.intel.com/vtt/sws/gfx-build-docker-images
EOF
for repo in ${REPOS}/*.repo; do
echo "RUN { \\"
cat "${repo}" | while read line; do echo " echo '${line//\"/\\\"}' ; \\"; done
echo "} > /etc/yum.repos.d/$(basename ${repo})"
done >> ${TARGET}
rm -rf tmp
```