• ...
  • base images
  • SDK
  • ...
  • ...
  • premade packages

SimpleSwitch™ registry configuration#

By default a pre-configured set of GHCR based package registries are polled at startup of the device.

You can extend/change the configuration by editing /etc/simpleswitch-registry.conf on your device.

The configuration consists of a json list of objects under items, e.g.

{
    "items": [
        {
            // ... item 1...
        },
        {
            // ... item 2...
        }
    ]
}

each object can have the following items

key

type

mandatory

comment

name

Human readable name

yes

ghcr_org

github organization name

yes

namespace

namespace of the packages

yes

prefix before MACHINE

public_data_url

public URL to data.json

no

used by the SimpleSwitch™ launcher

public_bundle_url

public URL to bundle.json

no

used by the SimpleSwitch™ launcher

e.g.

{
    "name": "Tria Technologies",
    "ghcr_org": "avnet-embedded",
    "namespace": "simpleswitch",
    "public_data_url": "https://avnet-embedded.github.io/simpleswitch-launcher-web/data.json",
    "public_bundle_url": "https://avnet-embedded.github.io/simpleswitch-launcher-web/bundle.json"
}

Note

Changing the configuration on the device will not affect the SimpleSwitch™ launcher.

Also a reboot is required for changes to take effect.