rename lsbRelease to prettyName and set it from os-release as well

Authored by sitter on Jun 28 2019, 12:54 PM.

Description

rename lsbRelease to prettyName and set it from os-release as well

Summary:
previously when lsb_release was not present or working we'd fall back
to os-release, but then not track the pretty name leading to the report
containing no Distribution value.
the more aptly named info variable is now set by both lsb_release and
os-release logic, ensuring that in both scenarios we have the distro
recorded in the report.

systeminformationtest now also checks that the pretty name is set when
testing on os-release (without lsb_release)

this also will allow us to eventually move to prefer os-release instead of
calling the external lsb_release script.

Test Plan: builds & passes

Reviewers: Plasma, apol

Reviewed By: apol

Subscribers: plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D22141

Details

Committed
sitterJul 1 2019, 2:03 PM
Reviewer
apol
Differential Revision
D22141: rename lsbRelease to prettyName and set it from os-release as well
Parents
R871:7f3104b1a9d2: port to KOSRelease
Branches
Unknown
Tags
Unknown