USB support for at91/sam9x

2020-08-26 Thread Adrian Schmutzler
Hi, I just realized that build-bots fail for at91/sam9x: ERROR: module /builder/shared-workdir/build/build_dir/target-arm_arm926ej-s_musl_eabi/linux-at91_sam9x/linux-5.4.60/drivers/bluetooth/btusb.ko is missing. I didn't spot this during testing, as I didn't build with all kmods enabled. The

Re: [PATCH] build: opkg-key variable key folder

2020-08-26 Thread Paul Spooren
On 26.08.20 09:17, Baptiste Jonglez wrote: On 25-08-20, Paul Spooren wrote: The key folder is used by `opkg` and `usign` to store and retrieve trusted public keys. Using `opkg-key` outside a running device is unfeasible as the key folder is hard coded to `/etc/opkg/keys`. This commit adds a v

Re: [PATCH] build: opkg-key variable key folder

2020-08-26 Thread Baptiste Jonglez
On 25-08-20, Paul Spooren wrote: > The key folder is used by `opkg` and `usign` to store and retrieve > trusted public keys. Using `opkg-key` outside a running device is > unfeasible as the key folder is hard coded to `/etc/opkg/keys`. > > This commit adds a variable OPKG_KEYS which defaults to `/

Re: [PATCH opkg] opkg: allow to configure the path to the signature verification script

2020-08-26 Thread Baptiste Jonglez
On 25-08-20, Paul Spooren wrote: > On 24.08.20 05:07, Baptiste Jonglez wrote: > > From: Baptiste Jonglez > > > > Currently, package index signatures are only checked when opkg runs on the > > OpenWrt device. The verification script is hard-coded to a path in > > /usr/sbin/. > > > > Making this

Re: UCI: Making a config read-only?

2020-08-26 Thread Jo-Philipp Wich
Hi, > Is there a way to truly make a configuration read only in UCI, so that > changes are rejected, and not stored in /tmp/.uci/ ? there is no such facility implemented in uci or libuci. ~ Jo signature.asc Description: OpenPGP digital signature ___

UCI: Making a config read-only?

2020-08-26 Thread Michael Jones
I wish to make a configuration file read-only in UCI. I tried to do this by bind-mounting the default config for it in /rom onto the file in /etc/config. However, while this does prevent changes to that config from persisting across reboots, it doesn't prevent changes from showing up in, e.g. "uc

[PATCH] imagebuilder: add package signature verification

2020-08-26 Thread Paul Spooren
The ImageBuilder downloads pre-built packages and adds them to images. This process uses `opkg` which has the capability to verify package list signatures, as enabled per default on running OpenWrt devices. Until now this was disabled for ImageBuilders because neither the OPKG keys nor the `opkg-a