mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-07-12 18:19:42 -07:00
b92d67b9dd
Verification of the running R36S against docs/PortMaster_CFW.md flagged a few required/recommended/nice-to-have items missing. Closes four: sudo (REQUIRED, section 2): ArchR runs everything as root so PortMaster sets ESUDO="" and "$ESUDO" ports work, but the guide lists sudo/doas as required and the live port log printed "No sudo present." Ships a /usr/bin/sudo shim (archr package, ROCKNIX/dArkOS pattern) that strips sudo's own options and execs the command as the already-root user. libjpeg.so.62 (commonly expected, section 4): the base libjpeg-turbo is built WITH_JPEG8=ON (SONAME libjpeg.so.8); ports compiled against standard libjpeg-turbo expect libjpeg.so.62. New compat-libjpeg62 package builds the same 3.0.1 source WITH_JPEG8=OFF into /usr/lib/compat and is pulled in via portmaster-compat-libs; archr-compat-symlinks then exposes it in the default path. vmstat (nice-to-have, section 10): procps-ng shipped only free/top/ps; add src/vmstat to the build + install so memory-pressure monitoring is available. perf_event_paranoid (nice-to-have, section 10): ship sysctl.d/90-archr-perf.conf setting kernel.perf_event_paranoid=1 so perf can sample userspace CPU events (default 2 blocks non-root profiling). (ltrace, the remaining nice-to-have, is being build-tested separately; virtual/debug already documents why upstream 0.7.3 was excluded.)