From aee4a96ce2bc683fe5bea96de89c2119622df186 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Tue, 2 Apr 2019 10:49:27 +0200 Subject: [PATCH] inspect: fully detect Arch Linux from os-release Consider Arch Linux as rolling distribution, so it is recognized using /etc/os-release. The end result does not change, although this makes Arch Linux inspected using os-release only, instead of getting inspection details mixed from both os-release and lsb-release. --- daemon/inspect_fs_unix.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/inspect_fs_unix.ml b/daemon/inspect_fs_unix.ml index 32eabf5d7..cebca0ffa 100644 --- a/daemon/inspect_fs_unix.ml +++ b/daemon/inspect_fs_unix.ml @@ -64,7 +64,7 @@ let arch_binaries = * features. *) let rolling_distros = - [ DISTRO_GENTOO; DISTRO_VOID_LINUX ] + [ DISTRO_ARCHLINUX; DISTRO_GENTOO; DISTRO_VOID_LINUX ] (* Parse a os-release file. *