Displaying 2 results from an estimated 2 matches for "ea5dfc8".
2016 Aug 31
0
[PATCH] tests: use /etc/os-release in test-harder
...ndle distros without them.
Also, make sure it is skipped if the value read from os-release is not
handled when getting the list of packages.
---
tests/test-harder.sh | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/tests/test-harder.sh b/tests/test-harder.sh
index ea5dfc8..7e1b8df 100755
--- a/tests/test-harder.sh
+++ b/tests/test-harder.sh
@@ -25,7 +25,14 @@ set -e
# NOTE: This test will only work if the $pkgs listed below
# for your distro are installed on the host. SEE LIST BELOW.
-if [ -f /etc/arch-release ]; then
+if [ -f /etc/os-release ]; then
+ dist...
2016 Aug 31
8
[PATCH 0/2] supermin: use /etc/os-release
Hi,
let's make supermin use /etc/os-release as primary source instead of
the various release files in /etc; apparently distros (e.g. openSUSE)
are starting removing them.
Thanks,
Pino Toscano (2):
Add simple handling of /etc/os-release
Use os-release to detect the distro
src/Makefile.am | 3 +++
src/dpkg.ml | 3 ++-
src/os_release.ml | 78