info: Allow specifying the path of /etc/os-release

/etc/os-release is a specification invented on Linux. It is adopted by
most Linux distributions, but it haven't been considered important
enough for other non-Linux systems to implement it. On FreeBSD, the base
system doesn't include an os-release file. To get an os-release file,
users can install an additional package called 'etc_os-release'. Since
it isn't considered as a part of the system, it can't be put in /etc and
gnome-control-center is unable to find it.

Therefore, to allow gnome-control-center finding os-release file in a
different location, we have to add an option to allow changing the
default path. An alternative solution is to use 'uname' function when
os-release can't be opened, but the proposal was rejected.
11 jobs for wip/lantw/info-allow-specifying-the-path-of-etc-os-release in 4 minutes and 52 seconds (queued for 1 second)
latest
Status Job ID Name Coverage
  Build
passed #365826
build

00:03:16

 
  Test
passed #365828
asan

00:01:35

passed #365827
test

00:01:28

 
  Manual
manual #365833
allowed to fail manual
armv8
manual #365829
allowed to fail manual
flatpak
manual #365832
allowed to fail manual
msan
manual #365834
allowed to fail manual
ppc64le
manual #365830
allowed to fail manual
tsan
manual #365831
allowed to fail manual
ubsan
 
  Review
manual #365835
allowed to fail manual
review
manual #365836
allowed to fail manual
stop_review