Skip to content

Fix permissions for files installed by image-configuration class

Frieder Schrempf requested to merge feature/fix-image-config-perms into main

Currently the configuration files installed directly to the root filesystem are owned by the user that runs the build. This causes pollution of the target rootfs from the build host and problems because of unsuitable file ownership and permissions.

To solve this use a fakeroot environment and make the files owned by root by default.

Also implement a task that uses the permission fixup implementation from the package class to apply the same permission and ownership rules as when generating packages.

Edited by Frieder Schrempf

Merge request reports