Public bug reported:

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

** Affects: snapd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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/ubuntu/+source/snapd/+bug/1907056/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to