** Description changed: 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/ + - 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 + 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*
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1907056 Title: Please add meta/kernel.yaml To manage notifications about this bug go to: https://bugs.launchpad.net/snapd/+bug/1907056/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
