forked from python-distro/distro
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add --root-dir option to cli python-distro#161
Also fix the root_dir arg of LinuxDistribution() to be an absolute path to the root of a filesystem and not a path to /etc Reported-by: Sebastian Pipping <[email protected]> @hartwork Signed-off-by: Philippe Ombredanne <[email protected]>
- Loading branch information
1 parent
0f4cb42
commit ab9d3c1
Showing
6 changed files
with
80 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Fedora release 30 (Thirty) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
NAME=Fedora | ||
VERSION="30 (Thirty)" | ||
ID=fedora | ||
VERSION_ID=30 | ||
VERSION_CODENAME="" | ||
PLATFORM_ID="platform:f30" | ||
PRETTY_NAME="Fedora 30 (Thirty)" | ||
ANSI_COLOR="0;34" | ||
LOGO=fedora-logo-icon | ||
CPE_NAME="cpe:/o:fedoraproject:fedora:30" | ||
HOME_URL="https://fedoraproject.org/" | ||
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/30/system-administrators-guide/" | ||
SUPPORT_URL="https://fedoraproject.org/wiki/Communicating_and_getting_help" | ||
BUG_REPORT_URL="https://bugzilla.redhat.com/" | ||
REDHAT_BUGZILLA_PRODUCT="Fedora" | ||
REDHAT_BUGZILLA_PRODUCT_VERSION=30 | ||
REDHAT_SUPPORT_PRODUCT="Fedora" | ||
REDHAT_SUPPORT_PRODUCT_VERSION=30 | ||
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Fedora release 30 (Thirty) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Fedora release 30 (Thirty) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters