I installed
corectrl from sources (https://gitlab.com/corectrl/corectrl/-/wikis/Installation#build) and the problem is that it still asks me for a password to run even though I added polkit rules (https://gitlab.com/corectrl/corectrl/-/wikis/Setup#dont-ask-for-user-password).
Before that, I installed
corectrl-git from the AUR. Earlier I made my iso without the Artix themes because I just don't like them and it didn't run Calamares with polkit.
pacman -R artix-backgrounds artix-branding-base artix-dark-theme artix-desktop-presets artix-gtk-presets artix-qt-presets mate-icon-theme-faenza xcursor-premium
I think this command broke iso and polkit in general. Or is the problem somewhere else?
The (weird) issue with calamares and polkit has been fixed in latest weeklies. I didn't have much time to investigate, but it seems polkit in our live ISOs doesn't honor /etc/polkit-1/rules.d, only the ones under /usr/share/polkit-1/rules.d; no such issue in my installed systems. So, if you're baking your own ISO, move 90-live.rules and your corectl ones to the latter.
The packages you mentioned are branding and cosmetic, have nothing to do with polkit.
Thank you! Now it works.
Where and how exactly should I move 90-live.rules in my own iso?
And when I start Calamares, in addition to asking for the PolKit password, a window appears with the text.
(https://i.imgur.com/8hcHLzN.png)
It seems that I saw somewhere a file that makes Calamares executable (I don’t remember where and which one) and therefore I thought that by deleting packages with Artix themes I break the installer with this.
/usr/share/polkit-1/ruled.d