Closed Nixia408 closed 1 year ago
I don't have the hardware to build aarch64 packages but you can easily do it yourself. See https://www.sudo.ws/docs/packaging/ for instructions.
I don't have the hardware to build aarch64 packages but you can easily do it yourself. See https://www.sudo.ws/docs/packaging/ for instructions.
Thanks for your answer. When I followed the instrcuctions, I encountered a new problem, it prompts (error: unable to find AUDIT_USER_CMD in libaudit.h for --with-linux-audit)?
Do you have the audit-libs-devel package installed?
Do you have the audit-libs-devel package installed? there is no package named audit-libs-devel in centos 7 aarch64 system
Centos 7 does have a audit-libs-devel package, for example http://mirror.centos.org/altarch/7/os/aarch64/Packages/audit-libs-devel-2.8.5-4.el7.aarch64.rpm.
Centos 7 does have a audit-libs-devel package, for example http://mirror.centos.org/altarch/7/os/aarch64/Packages/audit-libs-devel-2.8.5-4.el7.aarch64.rpm.
Finally, I successfully generated the rpm file.However, during the build it prompts an error like this, does this affect the final rpm file
That error comes from not having the which
utility installed and can be ignored. The pp script was trying to locate rpmbuild
using which
but this failed since which
is not installed. It will try to run rpmbuild
anyway so the resulting packages should be fine. There is a minor problem due to /bin/ed
not being present but that will only affect a few lines in the sample sudoers file which you are probably not using.
I now have an arm64 build box and will be producing packages for RHEL, Debian, Ubuntu and SLES.
my system is Centos7.6, I can find sudo-1.9.5-3.el7.x86_64.rpm on official websites. but I cannot find the same version rpm file for aarch64?