diff --git a/scripts/sync-from-upstream b/scripts/sync-from-upstream index 14b8cf8cc0d3d721b834f2996aea618afd3e1d8d..3b89339fd5c6d24973c2dc97d772a30f603e2472 100755 --- a/scripts/sync-from-upstream +++ b/scripts/sync-from-upstream @@ -18,24 +18,26 @@ while read -r pattern; do sscript+="$pattern;" done <<EOF s/>redhat-release/>rocky-release/g +s/>redhat-sb-certs/>rocky-sb-certs/g s/Red Hat Enterprise Linux/Rocky Linux/g s/RHEL/Rocky Linux/g s/Red Hat, Inc./Rocky Enterprise Software Foundation/g EOF sed -i "$sscript" "${COMPS_ROCKY}" -echo "Making sure some packages are RHEL only" -while read -r pattern; do - mscript+="$pattern;" -done <<EOF -/>insights-client</ s/(<packagereq.*>insights-client<\/packagereq>)/<rhel_only>\1<\/rhel_only>/g -/>rhc</ s/(<packagereq.*>rhc<\/packagereq>)/<rhel_only>\1<\/rhel_only>/g -/>rhc-devel</ s/(<packagereq.*>rhc-devel<\/packagereq>)/<rhel_only>\1<\/rhel_only>/g -/>subscription-manager</ s/(<packagereq.*>subscription-manager<\/packagereq>)/<rhel_only>\1<\/rhel_only>/g -/>subscription-manager-cockpit</ s/(<packagereq.*>subscription-manager-cockpit<\/packagereq>)/<rhel_only>\1<\/rhel_only>/g -/>libdnf-plugin-subscription-manager</ s/(<packagereq.*>libdnf-plugin-subscription-manager<\/packagereq>)/<rhel_only>\1<\/rhel_only>/g -EOF -sed -Ei "$mscript" "${COMPS_ROCKY}" +# This is taken care of upstream now. Left for visibility. +#echo "Making sure some packages are RHEL only" +#while read -r pattern; do +# mscript+="$pattern;" +#done <<EOF +#/>insights-client</ s/(<packagereq.*>insights-client<\/packagereq>)/<rhel_only>\1<\/rhel_only>/g +#/>rhc</ s/(<packagereq.*>rhc<\/packagereq>)/<rhel_only>\1<\/rhel_only>/g +#/>rhc-devel</ s/(<packagereq.*>rhc-devel<\/packagereq>)/<rhel_only>\1<\/rhel_only>/g +#/>subscription-manager</ s/(<packagereq.*>subscription-manager<\/packagereq>)/<rhel_only>\1<\/rhel_only>/g +#/>subscription-manager-cockpit</ s/(<packagereq.*>subscription-manager-cockpit<\/packagereq>)/<rhel_only>\1<\/rhel_only>/g +#/>libdnf-plugin-subscription-manager</ s/(<packagereq.*>libdnf-plugin-subscription-manager<\/packagereq>)/<rhel_only>\1<\/rhel_only>/g +#EOF +#sed -Ei "$mscript" "${COMPS_ROCKY}" echo "Modifications to make sure certain scenarios work" while read -r pattern; do