mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 16:35:02 +01:00
![]() The following patch addresses two issues on older releases: 1) In trunk commit 2911, the line 'undefine VERBOSE' was added to parser/tst/Makefile so that the equality tests would not generate verbose output when $VERBOSE != 1. Unfortunately, the 'undefine' keyword was not introduced in GNU Make until version 3.82. On distro releases like Ubuntu 12.04 LTS that include versions of Make older than that, make check and make clean abort when VERBOSE is not set to 1. The patch fixes that by setting VERBOSE to a zero length string if does not already equal 1. 2) In trunk commit 2923, a workaround for systemd as init was added to the pivot_root regression test. The workaround included a call to ps(1) to determine if systemd is pid 1. Unfortunately, in older versions of the procps package (such as the version in Ubuntu 12.04 LTS), 'ps -hp1' emits the warning Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html The patch below converts the ps call to 'ps hp1' which does not generate the warning. Signed-off-by: Steve Beattie <steve@nxnw.org> Acked-by: John Johansen <john.johansen@canonical.com> |
||
---|---|---|
.. | ||
regression | ||
stress | ||
Makefile |