Need API/cli method to know if "is_snappy"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snappy |
Fix Released
|
High
|
Unassigned |
Bug Description
Standard methods of determining the OS does not distinguish between regular Ubuntu and Snappy.
(amd64)
Name Date Version Developer
ubuntu-core 2015-07-29 4 ubuntu
docker 2015-08-03 1.6.1.002 canonical
generic-amd64 2015-07-29 1.4 canonical
(amd64)
Codename: vivid
(amd64)
('Ubuntu', '15.04', 'vivid')
Ideally, we should have:
1. lsb_release should denote it is a snappy variant and disclose the channel, i.e
$ lsb_release --all
Distributor ID: Ubuntu
Description: Ubuntu 15.04
Release: 15.04
Codename: vivid
Variant: ubuntu-core
Channel: stable
2. Provide Python interface to determine if something is Snappy.
description: | updated |
Changed in snappy: | |
status: | New → Triaged |
importance: | Undecided → High |
is the "variant" widely supported? If not, given the substantial
difference between snappy and non-snappy systems, we might also use the
"Distributor ID", making that "Ubuntu Core" or "Ubuntu Personal" instead
of just "Ubuntu" when it's a snappy system. both deb-based server and
desktop could call themselves Ubuntu because their semantics for package
management are identical.
Mark