2018-02-23 11:10:36 |
Oliver Grawert |
bug |
|
|
added bug |
2018-02-23 11:10:47 |
Oliver Grawert |
description |
The core team thinks this is an ubuntu image bug, so i'm filing this here additionally to
https://forum.snapcraft.io/t/using-content-for-a-role-system-data-partition-makes-it-not-be-system-data-anymore
When i use a gadget.yaml entry like:
- name: writable
type: 83,0FC63DAF-8483-4772-8E79-3D69D8477DE4
filesystem: ext4
filesystem-label: writable
size: 270M
role: system-data
content:
- source: writable/
target: /
The partition is not pre-populated with snaps and seed but only the files defined in content are copied in.
I would expect that the partition is still properly pre-populated with the usual writable/system-data content and that the content from the content: entry is additionally copied in place. Or at least that the role: system-data takes precedence here if this combination is not allowed (though snapcraft or ubuntu-image should then spill a warning at least) so that a bootable system exists. |
The core team thinks this is an ubuntu image bug, so i'm filing this here additionally to
https://forum.snapcraft.io/t/using-content-for-a-role-system-data-partition-makes-it-not-be-system-data-anymore
When i use a gadget.yaml entry like:
- name: writable
type: 83,0FC63DAF-8483-4772-8E79-3D69D8477DE4
filesystem: ext4
filesystem-label: writable
size: 270M
role: system-data
content:
- source: writable/
target: /
The partition is not pre-populated with snaps and seed but only the files defined in content are copied in.
I would expect that the partition is still properly pre-populated with the usual writable/system-data content and that the content from the content: entry is additionally copied in place. Or at least that the role: system-data takes precedence here if this combination is not allowed (though snapcraft or ubuntu-image should then spill a warning at least) so that a bootable system exists. |
|
2018-02-23 11:12:00 |
Oliver Grawert |
summary |
Using “content:” in gadget.ymal for a “role: system-data” partition makes it not be system-data anymore |
Using “content:” in gadget.yaml for a “role: system-data” partition makes it not be system-data anymore |
|
2018-02-28 12:47:09 |
Łukasz Zemczak |
ubuntu-image (Ubuntu): assignee |
|
Łukasz Zemczak (sil2100) |
|
2018-03-07 15:04:09 |
Łukasz Zemczak |
bug task added |
|
ubuntu-image |
|
2018-03-07 15:04:15 |
Łukasz Zemczak |
ubuntu-image: assignee |
|
Łukasz Zemczak (sil2100) |
|
2018-03-09 16:54:39 |
John Agosta |
bug |
|
|
added subscriber John Agosta |
2018-03-16 12:23:42 |
Francis Ginther |
tags |
|
id-5aaae805ae59a6e226e8ad1b |
|
2018-03-27 10:16:18 |
Launchpad Janitor |
ubuntu-image (Ubuntu): status |
New |
Confirmed |
|
2018-03-27 10:16:36 |
Tim Chen |
bug |
|
|
added subscriber Tim Chen |
2018-03-28 03:28:22 |
Chen-Han Hsiao (Stanley) |
bug |
|
|
added subscriber Chen-Han Hsiao (Stanley) |
2020-10-14 15:46:41 |
Matthieu Clemenceau |
tags |
id-5aaae805ae59a6e226e8ad1b |
fr-470 id-5aaae805ae59a6e226e8ad1b |
|
2021-05-17 15:44:44 |
John Agosta |
removed subscriber John Agosta |
|
|
|