Activity log for bug #1907056

Date Who What changed Old value New value Message
2020-12-07 09:14:08 Michael Vogt bug added bug
2020-12-07 15:23:38 Michael Vogt bug added subscriber Dimitri John Ledkov
2020-12-07 15:24:03 Michael Vogt description Snapd will soon support to have DTBs in the kernel snap that are automatically installed on kernel refreshes. To support this, please add the following file to the pi-kernel: $ cat meta/kernel.yaml assets: pi-dtbs: update: true content: - dtbs This will allow the gadget to select DTBs from the kernel via: $ diff -u meta/gadget.yaml.orig meta/gadget.yaml --- meta/gadget.yaml.orig 2020-12-07 10:10:16.775139010 +0100 +++ meta/gadget.yaml 2020-12-07 10:11:33.482871026 +0100 @@ -10,8 +10,10 @@ type: 0C size: 1200M content: - - source: boot-assets/ + - source: $kernel:pi-dtbs/broadcom target: / + - source: $kernel:pi-dtbs/overlays + target: /overlays - name: ubuntu-boot role: system-boot filesystem: vfat Snapd will soon support to have DTBs in the kernel snap that are automatically installed on kernel refreshes. To support this, please add the following file to the pi-kernel: $ cat meta/kernel.yaml assets:   pi-dtbs:     update: true     content:     - dtbs This will allow the gadget to select DTBs from the kernel via: $ diff -u meta/gadget.yaml.orig meta/gadget.yaml --- meta/gadget.yaml.orig 2020-12-07 10:10:16.775139010 +0100 +++ meta/gadget.yaml 2020-12-07 10:11:33.482871026 +0100 @@ -10,8 +10,10 @@          type: 0C          size: 1200M          content: - - source: boot-assets/ + - source: $kernel:pi-dtbs/broadcom              target: / + - source: $kernel:pi-dtbs/overlays + target: /overlays        - name: ubuntu-boot          role: system-boot          filesystem: vfat If those could be provided in a snap branch that would be *amazing*
2020-12-09 14:57:47 Michael Vogt description Snapd will soon support to have DTBs in the kernel snap that are automatically installed on kernel refreshes. To support this, please add the following file to the pi-kernel: $ cat meta/kernel.yaml assets:   pi-dtbs:     update: true     content:     - dtbs This will allow the gadget to select DTBs from the kernel via: $ diff -u meta/gadget.yaml.orig meta/gadget.yaml --- meta/gadget.yaml.orig 2020-12-07 10:10:16.775139010 +0100 +++ meta/gadget.yaml 2020-12-07 10:11:33.482871026 +0100 @@ -10,8 +10,10 @@          type: 0C          size: 1200M          content: - - source: boot-assets/ + - source: $kernel:pi-dtbs/broadcom              target: / + - source: $kernel:pi-dtbs/overlays + target: /overlays        - name: ubuntu-boot          role: system-boot          filesystem: vfat If those could be provided in a snap branch that would be *amazing* Snapd will soon support to have DTBs in the kernel snap that are automatically installed on kernel refreshes. To support this, please add the following file to the pi-kernel: $ cat meta/kernel.yaml assets:   pi-dtbs:     update: true     content:     - dtbs/ This will allow the gadget to select DTBs from the kernel via: $ diff -u meta/gadget.yaml.orig meta/gadget.yaml --- meta/gadget.yaml.orig 2020-12-07 10:10:16.775139010 +0100 +++ meta/gadget.yaml 2020-12-07 10:11:33.482871026 +0100 @@ -10,8 +10,10 @@          type: 0C          size: 1200M          content: - - source: boot-assets/ + - source: $kernel:pi-dtbs/broadcom/              target: / + - source: $kernel:pi-dtbs/overlays/ + target: /overlays        - name: ubuntu-boot          role: system-boot          filesystem: vfat If those could be provided in a snap branch that would be *amazing*
2020-12-09 19:55:23 Michael Vogt description Snapd will soon support to have DTBs in the kernel snap that are automatically installed on kernel refreshes. To support this, please add the following file to the pi-kernel: $ cat meta/kernel.yaml assets:   pi-dtbs:     update: true     content:     - dtbs/ This will allow the gadget to select DTBs from the kernel via: $ diff -u meta/gadget.yaml.orig meta/gadget.yaml --- meta/gadget.yaml.orig 2020-12-07 10:10:16.775139010 +0100 +++ meta/gadget.yaml 2020-12-07 10:11:33.482871026 +0100 @@ -10,8 +10,10 @@          type: 0C          size: 1200M          content: - - source: boot-assets/ + - source: $kernel:pi-dtbs/broadcom/              target: / + - source: $kernel:pi-dtbs/overlays/ + target: /overlays        - name: ubuntu-boot          role: system-boot          filesystem: vfat If those could be provided in a snap branch that would be *amazing* Snapd will soon support to have DTBs in the kernel snap that are automatically installed on kernel refreshes. To support this, please add the following file to the pi-kernel: $ cat meta/kernel.yaml assets:   pidtbs:     update: true     content:     - dtbs/ This will allow the gadget to select DTBs from the kernel via: $ diff -u meta/gadget.yaml.orig meta/gadget.yaml --- meta/gadget.yaml.orig 2020-12-07 10:10:16.775139010 +0100 +++ meta/gadget.yaml 2020-12-07 10:11:33.482871026 +0100 @@ -10,8 +10,10 @@          type: 0C          size: 1200M          content: - - source: boot-assets/ + - source: $kernel:pidtbs/broadcom/              target: / + - source: $kernel:pidtbs/overlays/ + target: /overlays        - name: ubuntu-boot          role: system-boot          filesystem: vfat If those could be provided in a snap branch that would be *amazing*
2020-12-09 20:05:19 Michael Vogt description Snapd will soon support to have DTBs in the kernel snap that are automatically installed on kernel refreshes. To support this, please add the following file to the pi-kernel: $ cat meta/kernel.yaml assets:   pidtbs:     update: true     content:     - dtbs/ This will allow the gadget to select DTBs from the kernel via: $ diff -u meta/gadget.yaml.orig meta/gadget.yaml --- meta/gadget.yaml.orig 2020-12-07 10:10:16.775139010 +0100 +++ meta/gadget.yaml 2020-12-07 10:11:33.482871026 +0100 @@ -10,8 +10,10 @@          type: 0C          size: 1200M          content: - - source: boot-assets/ + - source: $kernel:pidtbs/broadcom/              target: / + - source: $kernel:pidtbs/overlays/ + target: /overlays        - name: ubuntu-boot          role: system-boot          filesystem: vfat If those could be provided in a snap branch that would be *amazing* Snapd will soon support to have DTBs in the kernel snap that are automatically installed on kernel refreshes. To support this, please add the following file to the pi-kernel: $ cat meta/kernel.yaml assets:   pidtbs:     update: true     content:     - dtbs/broadcom/ - dtbs/overlays/ This will allow the gadget to select DTBs from the kernel via: $ diff -u meta/gadget.yaml.orig meta/gadget.yaml --- meta/gadget.yaml.orig 2020-12-07 10:10:16.775139010 +0100 +++ meta/gadget.yaml 2020-12-07 10:11:33.482871026 +0100 @@ -10,8 +10,10 @@          type: 0C          size: 1200M          content: - - source: boot-assets/ + - source: $kernel:pidtbs/dtbs/broadcom/              target: / + - source: $kernel:pidtbs/dtbs/overlays/ + target: /overlays        - name: ubuntu-boot          role: system-boot          filesystem: vfat If those could be provided in a snap branch that would be *amazing*
2021-02-04 17:11:30 Michael Vogt bug task added snapd
2021-02-05 12:01:33 Michael Vogt description Snapd will soon support to have DTBs in the kernel snap that are automatically installed on kernel refreshes. To support this, please add the following file to the pi-kernel: $ cat meta/kernel.yaml assets:   pidtbs:     update: true     content:     - dtbs/broadcom/ - dtbs/overlays/ This will allow the gadget to select DTBs from the kernel via: $ diff -u meta/gadget.yaml.orig meta/gadget.yaml --- meta/gadget.yaml.orig 2020-12-07 10:10:16.775139010 +0100 +++ meta/gadget.yaml 2020-12-07 10:11:33.482871026 +0100 @@ -10,8 +10,10 @@          type: 0C          size: 1200M          content: - - source: boot-assets/ + - source: $kernel:pidtbs/dtbs/broadcom/              target: / + - source: $kernel:pidtbs/dtbs/overlays/ + target: /overlays        - name: ubuntu-boot          role: system-boot          filesystem: vfat If those could be provided in a snap branch that would be *amazing* Snapd will soon support to have DTBs in the kernel snap that are automatically installed on kernel refreshes. To support this, please add the following file to the pi-kernel: $ cat meta/kernel.yaml assets:   pidtbs:     update: true     content:     - dtbs/broadcom/     - dtbs/overlays/ This will allow the gadget to select DTBs from the kernel. The gadget needs to be updated to have all dtb files removed. And the gadget.yaml needs to change to something like $ head -20 meta/gadget.yaml device-tree: bcm2709-rpi-3-b-plus volumes: pi: schema: mbr bootloader: u-boot structure: - name: ubuntu-seed role: system-seed filesystem: vfat type: 0C size: 1200M content: - source: $kernel:pidtbs/dtbs/broadcom/ target: / - source: $kernel:pidtbs/dtbs/overlays/ target: /overlays - source: boot-assets/ target: / - name: ubuntu-boot role: system-boot ... If those could be provided in a snap branch that would be *amazing*
2021-03-04 14:05:58 Michael Vogt description Snapd will soon support to have DTBs in the kernel snap that are automatically installed on kernel refreshes. To support this, please add the following file to the pi-kernel: $ cat meta/kernel.yaml assets:   pidtbs:     update: true     content:     - dtbs/broadcom/     - dtbs/overlays/ This will allow the gadget to select DTBs from the kernel. The gadget needs to be updated to have all dtb files removed. And the gadget.yaml needs to change to something like $ head -20 meta/gadget.yaml device-tree: bcm2709-rpi-3-b-plus volumes: pi: schema: mbr bootloader: u-boot structure: - name: ubuntu-seed role: system-seed filesystem: vfat type: 0C size: 1200M content: - source: $kernel:pidtbs/dtbs/broadcom/ target: / - source: $kernel:pidtbs/dtbs/overlays/ target: /overlays - source: boot-assets/ target: / - name: ubuntu-boot role: system-boot ... If those could be provided in a snap branch that would be *amazing* Snapd will soon support to have DTBs in the kernel snap that are automatically installed on kernel refreshes. To support this, please add the following file to the pi-kernel: WE ALSO NEED TO UPDATE THE ASSUMES in the meta/snap.yaml, diff will follow shortly. $ cat meta/kernel.yaml assets:   pidtbs:     update: true     content:     - dtbs/broadcom/     - dtbs/overlays/ This will allow the gadget to select DTBs from the kernel. The gadget needs to be updated to have all dtb files removed. And the gadget.yaml needs to change to something like $ head -20 meta/gadget.yaml device-tree: bcm2709-rpi-3-b-plus volumes:   pi:     schema: mbr     bootloader: u-boot     structure:       - name: ubuntu-seed         role: system-seed         filesystem: vfat         type: 0C         size: 1200M         content:           - source: $kernel:pidtbs/dtbs/broadcom/             target: /           - source: $kernel:pidtbs/dtbs/overlays/             target: /overlays           - source: boot-assets/             target: /       - name: ubuntu-boot         role: system-boot ... If those could be provided in a snap branch that would be *amazing*
2021-03-04 16:52:12 Michael Vogt description Snapd will soon support to have DTBs in the kernel snap that are automatically installed on kernel refreshes. To support this, please add the following file to the pi-kernel: WE ALSO NEED TO UPDATE THE ASSUMES in the meta/snap.yaml, diff will follow shortly. $ cat meta/kernel.yaml assets:   pidtbs:     update: true     content:     - dtbs/broadcom/     - dtbs/overlays/ This will allow the gadget to select DTBs from the kernel. The gadget needs to be updated to have all dtb files removed. And the gadget.yaml needs to change to something like $ head -20 meta/gadget.yaml device-tree: bcm2709-rpi-3-b-plus volumes:   pi:     schema: mbr     bootloader: u-boot     structure:       - name: ubuntu-seed         role: system-seed         filesystem: vfat         type: 0C         size: 1200M         content:           - source: $kernel:pidtbs/dtbs/broadcom/             target: /           - source: $kernel:pidtbs/dtbs/overlays/             target: /overlays           - source: boot-assets/             target: /       - name: ubuntu-boot         role: system-boot ... If those could be provided in a snap branch that would be *amazing* Snapd will soon support to have DTBs in the kernel snap that are automatically installed on kernel refreshes. To support this, please add the following file to the pi-kernel: This should also add "assumes: [kernel-assets]" to the meta/snap.yaml so that the updated kernel/gadget are only used by a snap version that understand this, see https://github.com/snapcore/snapd/pull/9999 $ cat meta/kernel.yaml assets:   pidtbs:     update: true     content:     - dtbs/broadcom/     - dtbs/overlays/ This will allow the gadget to select DTBs from the kernel. The gadget needs to be updated to have all dtb files removed. And the gadget.yaml needs to change to something like $ head -20 meta/gadget.yaml device-tree: bcm2709-rpi-3-b-plus volumes:   pi:     schema: mbr     bootloader: u-boot     structure:       - name: ubuntu-seed         role: system-seed         filesystem: vfat         type: 0C         size: 1200M         content:           - source: $kernel:pidtbs/dtbs/broadcom/             target: /           - source: $kernel:pidtbs/dtbs/overlays/             target: /overlays           - source: boot-assets/             target: /       - name: ubuntu-boot         role: system-boot ... If those could be provided in a snap branch that would be *amazing*
2021-05-10 16:24:50 Michael Vogt description Snapd will soon support to have DTBs in the kernel snap that are automatically installed on kernel refreshes. To support this, please add the following file to the pi-kernel: This should also add "assumes: [kernel-assets]" to the meta/snap.yaml so that the updated kernel/gadget are only used by a snap version that understand this, see https://github.com/snapcore/snapd/pull/9999 $ cat meta/kernel.yaml assets:   pidtbs:     update: true     content:     - dtbs/broadcom/     - dtbs/overlays/ This will allow the gadget to select DTBs from the kernel. The gadget needs to be updated to have all dtb files removed. And the gadget.yaml needs to change to something like $ head -20 meta/gadget.yaml device-tree: bcm2709-rpi-3-b-plus volumes:   pi:     schema: mbr     bootloader: u-boot     structure:       - name: ubuntu-seed         role: system-seed         filesystem: vfat         type: 0C         size: 1200M         content:           - source: $kernel:pidtbs/dtbs/broadcom/             target: /           - source: $kernel:pidtbs/dtbs/overlays/             target: /overlays           - source: boot-assets/             target: /       - name: ubuntu-boot         role: system-boot ... If those could be provided in a snap branch that would be *amazing* Snapd will soon support to have DTBs in the kernel snap that are automatically installed on kernel refreshes. To support this, please add the following file to the pi-kernel: This should also add "assumes: [kernel-assets]" to the meta/snap.yaml so that the updated kernel/gadget are only used by a snap version that understand this, see https://github.com/snapcore/snapd/pull/9999 $ cat meta/kernel.yaml assets:   pidtbs:     update: true     content:     - dtbs/ This will allow the gadget to select DTBs from the kernel. The arm64 gadget needs to be updated to have all dtb files removed. And the gadget.yaml needs to change to something like $ head -20 meta/gadget.yaml device-tree: bcm2709-rpi-3-b-plus volumes:   pi:     schema: mbr     bootloader: u-boot     structure:       - name: ubuntu-seed         role: system-seed         filesystem: vfat         type: 0C         size: 1200M         content:           - source: $kernel:pidtbs/dtbs/broadcom/             target: /           - source: $kernel:pidtbs/dtbs/overlays/             target: /overlays           - source: boot-assets/             target: /       - name: ubuntu-boot         role: system-boot ... AFAICT the armhf needs to be updated differently because the layout of the dtbs folder is different in the armhf kernel: $ head -20 meta/gadget.yaml volumes: pi: schema: mbr bootloader: u-boot structure: - name: ubuntu-seed role: system-seed filesystem: vfat type: 0C size: 1200M content: - source: $kernel:pidtbs/dtbs/ target: / - source: boot-assets/ target: / - name: ubuntu-boot role: system-boot If those could be provided in a snap branch that would be *amazing*
2021-05-10 17:11:54 Launchpad Janitor snapd (Ubuntu): status New Confirmed
2021-05-12 19:47:28 Kyle Nitzsche bug added subscriber Kyle Nitzsche
2021-05-18 10:35:49 Anthony Wong bug added subscriber Anthony Wong
2021-06-28 07:30:42 glancr team bug added subscriber glancr team
2022-05-26 07:43:33 Maciej Borzecki snapd: status New Confirmed