Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
snappy: use $snap.$app as per-app udev tag #612
Conversation
zyga
added some commits
Mar 8, 2016
mvo5
reviewed
Mar 8, 2016
| @@ -112,7 +111,7 @@ ubuntu-core-launcher {{.UdevAppName}} {{.AaProfile}} {{.Target}} "$@" | ||
| SnapArch: arch.UbuntuArchitecture(), | ||
| SnapPath: pkgPath, | ||
| Version: m.Version, | ||
| - UdevAppName: udevPartName, | ||
| + UdevAppName: fmt.Sprintf("%s.%s", m.Name, app.Name), |
mvo5
Mar 8, 2016
Collaborator
I wonder if we should use "_" here for the decliner? This would allow us to still have the full snapname.origin_appname ID style string.
|
Hm, nevermind. |
added a commit
that referenced
this pull request
Mar 8, 2016
mvo5
merged commit 54fb30f
into
snapcore:master
Mar 8, 2016
1 check failed
|
@zyga this branch introduced 7 failures in the integration suite. The failures are like this: sudo snappy install hello-world/edge --allow-unauthenticated I reported the bug at https://bugs.launchpad.net/snappy/+bug/1554804 |
|
@elopio Thanks, we're looking into this now. |
zyga commentedMar 8, 2016
This patch changes the so-called UdevAppName that is passed to
ubuntu-core-launcher from $snap.$origin (or just $snap for frameworks)
to $snap.$app. This change allows for per-application udev device
tagging and aligns us with upcoming changes to the ubuntu-core-launcher
that will simplify its operation.
NOTE: This just sets the base mechanism in place. We can tweak the actual value later.