mirror of
https://git.rockylinux.org/rocky/comps.git
synced 2024-11-21 04:31:23 +00:00
prep sync script for rhel_only
This commit is contained in:
parent
1c8ba4153b
commit
aaf5354b89
@ -18,24 +18,26 @@ while read -r pattern; do
|
|||||||
sscript+="$pattern;"
|
sscript+="$pattern;"
|
||||||
done <<EOF
|
done <<EOF
|
||||||
s/>redhat-release/>rocky-release/g
|
s/>redhat-release/>rocky-release/g
|
||||||
|
s/>redhat-sb-certs/>rocky-sb-certs/g
|
||||||
s/Red Hat Enterprise Linux/Rocky Linux/g
|
s/Red Hat Enterprise Linux/Rocky Linux/g
|
||||||
s/RHEL/Rocky Linux/g
|
s/RHEL/Rocky Linux/g
|
||||||
s/Red Hat, Inc./Rocky Enterprise Software Foundation/g
|
s/Red Hat, Inc./Rocky Enterprise Software Foundation/g
|
||||||
EOF
|
EOF
|
||||||
sed -i "$sscript" "${COMPS_ROCKY}"
|
sed -i "$sscript" "${COMPS_ROCKY}"
|
||||||
|
|
||||||
echo "Making sure some packages are RHEL only"
|
# This is taken care of upstream now. Left for visibility.
|
||||||
while read -r pattern; do
|
#echo "Making sure some packages are RHEL only"
|
||||||
mscript+="$pattern;"
|
#while read -r pattern; do
|
||||||
done <<EOF
|
# mscript+="$pattern;"
|
||||||
/>insights-client</ s/(<packagereq.*>insights-client<\/packagereq>)/<rhel_only>\1<\/rhel_only>/g
|
#done <<EOF
|
||||||
/>rhc</ s/(<packagereq.*>rhc<\/packagereq>)/<rhel_only>\1<\/rhel_only>/g
|
#/>insights-client</ s/(<packagereq.*>insights-client<\/packagereq>)/<rhel_only>\1<\/rhel_only>/g
|
||||||
/>rhc-devel</ s/(<packagereq.*>rhc-devel<\/packagereq>)/<rhel_only>\1<\/rhel_only>/g
|
#/>rhc</ s/(<packagereq.*>rhc<\/packagereq>)/<rhel_only>\1<\/rhel_only>/g
|
||||||
/>subscription-manager</ s/(<packagereq.*>subscription-manager<\/packagereq>)/<rhel_only>\1<\/rhel_only>/g
|
#/>rhc-devel</ s/(<packagereq.*>rhc-devel<\/packagereq>)/<rhel_only>\1<\/rhel_only>/g
|
||||||
/>subscription-manager-cockpit</ s/(<packagereq.*>subscription-manager-cockpit<\/packagereq>)/<rhel_only>\1<\/rhel_only>/g
|
#/>subscription-manager</ s/(<packagereq.*>subscription-manager<\/packagereq>)/<rhel_only>\1<\/rhel_only>/g
|
||||||
/>libdnf-plugin-subscription-manager</ s/(<packagereq.*>libdnf-plugin-subscription-manager<\/packagereq>)/<rhel_only>\1<\/rhel_only>/g
|
#/>subscription-manager-cockpit</ s/(<packagereq.*>subscription-manager-cockpit<\/packagereq>)/<rhel_only>\1<\/rhel_only>/g
|
||||||
EOF
|
#/>libdnf-plugin-subscription-manager</ s/(<packagereq.*>libdnf-plugin-subscription-manager<\/packagereq>)/<rhel_only>\1<\/rhel_only>/g
|
||||||
sed -Ei "$mscript" "${COMPS_ROCKY}"
|
#EOF
|
||||||
|
#sed -Ei "$mscript" "${COMPS_ROCKY}"
|
||||||
|
|
||||||
echo "Modifications to make sure certain scenarios work"
|
echo "Modifications to make sure certain scenarios work"
|
||||||
while read -r pattern; do
|
while read -r pattern; do
|
||||||
|
Loading…
Reference in New Issue
Block a user