RPM does not allow '-' in the Release field (it is the Version/Release
delimiter). The 'uos20-' prefix produced Release values like 'uos20-b1.el8'
which rpmbuild rejects with 'Illegal char '-' (0x2d)'. Switch to 'uos20.'.
The standard EL 8 build does not include the do_dup2() kernel-panic
workaround needed on UOS 20 kernels. Point UOS 20 users at the UOS20
variant instead, matching the dedicated 'Build for uniontech UOS 20'
section in Other Notes.
Replace the hardcoded 'el7' / 'x86_64' filter with ARCH and EL
variables, populated from `uname -m` and `./compile.sh GETEL`
respectively. UOS 20 still requires manually setting EL=uos20
since it's not auto-detectable from the running system.
PKGREL=1 + 'uos20' prefix concatenated to 'uos201', which reads as
'uos two hundred one' rather than 'uos20 version 1'. Add a hyphen
('uos20-') so the resulting release tag is 'uos20-1' / 'uos20-b12' etc.
Update compile.sh logic and the three doc references (README,
AGENTS.md, docker/README.md) to match.
Add an 'Other Notes' subsection describing the UOS 20 kernel
do_dup2() panic, the openssh-uos20-kernel-panic-fix.patch workaround,
and how to opt in via UOS20=1 (which also prefixes PKGREL with uos20).
Note that ordinary EL7/8/9 builds are unaffected, and link to the
Docker build instructions for the same variant.
* Important Version Updates
- Add dockerfile support for centos 8 series.
- Modify Dockerfile.centos to add CentOS 8 support and fix the problem of CentOS 5 series not being able to build.
- Modify modify_yum_source.sh to add CentOS 8 support and fix CentOS 5 series yum source problem.
* Update CentOS Stream support INT ✘ base
- Changed compile.sh to add support for CentOS Stream 8/9 series.
- Modified docker.README.md to add Stream series description.
- Modified Dockerfile.amazonlinux to add cleanup operations and reduce image size.
- Modify Dockerfile.centos, add cleanup operation, reduce image size
- Added Dockerfile.centos-stream to support Stream series build images.
- Added modify_dnf_source.pl to add Stream series yum source modification function.
- Modified README.md to add Stream series test pass information and correct formatting and word spelling errors.
---------
Co-authored-by: Rex Zhou <zhouruixi@goldwind.com>