linux-automation / meta-lxatac

Build your own LXA TAC images and bundles
MIT License
5 stars 15 forks source link

meta-lxatac-software: bundles: hook.sh: migrate user-specified files #74

Closed hnez closed 7 months ago

hnez commented 8 months ago

Allow users to migrate custom files between installs.

Users can create files like this:

$ cat /etc/rauc/migrate.d/git_config.conf
/etc/gitconfig
/home/root/.gitconfig

Which will result in the listed files being migrated to the new RAUC slot.

jluebbe commented 8 months ago

The code looks good. Do we need documentation for this feature?

SmithChart commented 8 months ago

The code looks good. Do we need documentation for this feature?

Yes, documentation is needed. Probably in the README here and an in the product documentation.

hnez commented 7 months ago

I've added a section to the README (there was no obvious place to put it, so it got a quite prominent spot right at the start now). I've also created a PR against the manual in our internal GitLab instance.