Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
include etc/ as well #69
Conversation
|
We're clearly making assumptions about what lives under the You suggest moving everything under |
|
See LP: #1632134 |
warsaw
referenced this pull request
Oct 11, 2016
Merged
Make sure <unpack>/image/etc gets into the system-data directory #72
|
Superseded by #72 |
warsaw
closed this
Oct 11, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mvo5 commentedOct 5, 2016
•
Edited 1 time
-
mvo5
Oct 7, 2016
Trivial branch that ensures that
/etcfiles created bysnap prepare-imagealso end up in the image.Sorry for the super short pull-request, the recent feature freeze of snapd made us very busy. The background of this PR is that
snap prepare-imagemay now create files in /etc as well. However the current ubuntu-image will not put these files into /etc on the image because it currently only looks for /var. I think ideally ubuntu-image should just include all subdirs (that are not /boot or /home) in the writable partition under the system-data/ dir (just like its doing for /var now). However this was a short term fix.Note that this fix is important because we change the way that cloud-init is disabled/enabled. Prepare-image now puts a /etc/cloud/cloud-init.disabled file into the image. So without this change images generated by ubuntu-image will start cloud init and casue 5 min boot delays.