Merge lp:~c-lobrano/snappy/hw-assign-fix-overwrite-udev-rule into lp:~snappy-dev/snappy/snappy-moved-to-github
Proposed by
Carlo Lobrano
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | John Lenton | ||||
Approved revision: | 719 | ||||
Merged at revision: | 718 | ||||
Proposed branch: | lp:~c-lobrano/snappy/hw-assign-fix-overwrite-udev-rule | ||||
Merge into: | lp:~snappy-dev/snappy/snappy-moved-to-github | ||||
Diff against target: |
159 lines (+87/-9) 3 files modified
.bzrignore (+3/-0) snappy/hwaccess.go (+71/-9) snappy/hwaccess_test.go (+13/-0) |
||||
To merge this branch: | bzr merge lp:~c-lobrano/snappy/hw-assign-fix-overwrite-udev-rule | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
John Lenton (community) | Approve | ||
Review via email: mp+272000@code.launchpad.net |
Commit message
Description of the changes:
- hw-assign now appends each new udev rule for snap to the existing file, if any, in place of overwriting the same file
- hw-unassign now removes only the single udev rule related to the device unassigned, in place of just deleting the file
Description of the change
Proposal fix for Bug #1497299
Please let me know if this fix can be improved somehow or if I misinterpreted something.
Best regards,
Carlo Lobrano
To post a comment you must log in.
Thank you for this!
There's one thing that needs addressing, inline below. Also some stylistic nits for you to consider.