Disabling console-conf from gadget or core config option

I just got a new build with the snap file in the command as you mentioned, let me give it a try. qq? It is interesting that I didn’t use the revision 25 for other channels/tracks, a bit curious where it is from lol

Oh, ic, let me give it a try, the payload in assertion seems including some important information which may have old information in there.

Are you uploading this gadget snap to the store after you rebuilt it? I assumed you were doing only local development, hence there would not be a newer revision in the store and you wanted to use the locally build gadget snap file.

I uploaded to the edge channel:

20/edge: 1 2021-03-28 (27) 1MB -
installed: 1 (25) 1MB gadget

A quick update, the new signed file is different. Trying now.

1 Like

adding the --disable-console-conf flag to ubuntu-image results with:
error: cannot support with UC20 model requested customizations: console-conf disable

I tried changing the gadget to include

system:
  service:
    console-conf:
      disable: true
full 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:dtbs/dtbs/broadcom/
            target: /
          - source: $kernel:dtbs/dtbs/overlays/
            target: /overlays
          - source: boot-assets/
            target: /
      - name: ubuntu-boot
        role: system-boot
        filesystem: vfat
        type: 0C
        # whats the appropriate size?
        size: 750M
        content:
          # TODO:UC20: install the boot.sel via snapd instead of via the gadget
          - source: boot.sel
            target: uboot/ubuntu/boot.sel
      # NOTE: ubuntu-save is optional for unencrypted devices like the pi, so
      # this structure can be dropped in favor of a different partition for
      # users who wish to instead use a different partition, since with MBR we
      # are limited to only 4 primary partitions.
      # TODO: look into switching over to GPT, the pi bootloader firmware now
      #       has support for this
      - name: ubuntu-save
        role: system-save
        filesystem: ext4
        type: 83,0FC63DAF-8483-4772-8E79-3D69D8477DE4
        size: 16M
      - name: ubuntu-data
        role: system-data
        filesystem: ext4
        type: 83,0FC63DAF-8483-4772-8E79-3D69D8477DE4
        # XXX: make auto-grow to partition
        size: 1500M
        defaults:
system:
  service:
    console-conf:
      disable: true

but I get gadget.yaml parse error: Invalid gadget.yaml @ system when running ubuntu-image.
Did I correctly place the console-conf stuff in the gadget.yaml?

you miss the defaults: toplevel here …

defaults:
  system:
    service:
      console-conf:
        disable: true

should work …

1 Like

oh riiiiiiight…
thanks.