Files
snapd/gadget
alfonsosanchezbeato d5f47ca71f many: read system options when handling kernel command line (#12561)
* o/devicestate: read system options when handling kernel command line

Use the kernel command line options when building the kernel command
line.

* tests: add cmdline-option test

cmdline-option checks that we can change the kernel command line using
the kernel system options.

* overlord: make task keys for the update cmdline task constants

* o/devicestate: export CurrentGadgetInfo so it can be used from configcore

* o/configcore: validate kernel command line against allow list

* o/devicestate: use the full string when looking for the kernel command

line options.

* tests/nested/manual/cmdline-option: run remotely all commands

* overlord: copy strings instead of using constants for task keys

Until some better way is found.

* gadget,overlord: change checking allowed parameters to a filter function

* o/devicestate: filter out unallowed arguments when building the kernel cmdline

Filter arguments not allowed by the gadget.

* gadget: name return params in FilterKernelCmdline and add test cases

* overlord: address review comments

* gadget,overlord: address review comments
2023-03-07 17:48:17 +01:00
..
2023-01-16 14:23:11 +01:00
2021-08-26 18:24:02 +01:00