A couple of fixes for making tests pass on Arch Linux
When packaging TuxMake 1.4.0 for Arch Linux, I ran into a couple of test failures.
The first issue is related to building in a clean chroot, which does not have /etc/os-release. The first patch falls back to /usr/lib/os-release if /etc/os-release is not found.
The second issue is related to makepkg.conf's global CFLAGS, which currently leak into the fakelinux Makefile. The second patch defines CFLAGS as a simple make variable (:=), which prevents the global CFLAGS from messing with the tests.
After these two changes, all the tests pass in both a clean chroot and an OCI container.
Each of the commit messages should have the full details, please let me know if there is something missing!