Merge lp:~seb128/whoopsie-preferences/touch-writable-image into lp:whoopsie-preferences
| Status: | Merged |
|---|---|
| Approved by: | Iain Lane on 2015-05-21 |
| Approved revision: | 57 |
| Merged at revision: | 57 |
| Proposed branch: | lp:~seb128/whoopsie-preferences/touch-writable-image |
| Merge into: | lp:whoopsie-preferences |
| Diff against target: |
79 lines (+46/-2) 1 file modified
src/whoopsie-preferences.c (+46/-2) |
| To merge this branch: | bzr merge lp:~seb128/whoopsie-preferences/touch-writable-image |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Iain Lane | 2015-05-19 | Approve on 2015-05-21 | |
|
Review via email:
|
|||
Commit Message
Hack to support system-image read-only /etc, and modify files in
/etc/writable/ instead (similar to what is used in systemd in Ubuntu)
(lp: #1437633)
Description of the Change
Hack to support system-image read-only /etc, and modify files in
/etc/writable/ instead (similar to what is used in systemd in Ubuntu)
(lp: #1437633)
- 57. By Sebastien Bacher on 2015-05-19
-
Hack to support system-image read-only /etc, and modify files in
/etc/writable/ instead (similar to what is used in systemd in Ubuntu)
(lp: #1437633)
| Sebastien Bacher (seb128) wrote : | # |
thanks for the review
> I was confused about why you use a static string for the return variable, but I suppose it's so you don't have to free it?
right, that's what is done in the systemd patch and I though it was a good idea and that we could do the same here
| Iain Lane (laney) wrote : | # |
btw I had to add code to resolve the symlink to an absolute path (systemd has a helper to do this), because we create relative symlinks in livecd-rootfs but the code expects an absolute path

I think this is fine. I was confused about why you use a static string for the return variable, but I suppose it's so you don't have to free it?
I have one small comment but I'll fix it when merging. Will test and upload.