Building as the root user isn't a safe operation, for example after some image builds there are root-owned files polluting the azurelinux git checkout, which can't be removed with git clean -fdx because they are root-owned, and when i ran sudo git clean -fdx it removed most of my /dev/* files (including /dev/null), rendering my dev system unusable (luckily a reboot recovered to a usable state).
Instructions for building with kiwi as non-root are here: https://osinside.github.io/kiwi/plugins/self_contained.html
Building as the root user isn't a safe operation, for example after some image builds there are root-owned files polluting the azurelinux git checkout, which can't be removed with
git clean -fdxbecause they are root-owned, and when i ransudo git clean -fdxit removed most of my/dev/*files (including/dev/null), rendering my dev system unusable (luckily a reboot recovered to a usable state).Instructions for building with kiwi as non-root are here: https://osinside.github.io/kiwi/plugins/self_contained.html