Changing in recipe 2 from
chown -R user1:user1 ${D}/home/user1/.config/
to
chown -R user1:user1 ${D}/home/user1
actually seems to solve the problem with those particular recipes.
After getting a bit further in the bitbake process I now have the same problem
with another recipe that wants to add custom files to /etc/polkit-1/rules.d/
but this recipe doesn't contain any 'chown' statement so I can't apply the same
solution here.
file /etc/polkit-1/rules.d conflicts between attempted installs of
disk-automount-0.1-r0.core2_64 and polkit-124-r0.core2_64
disk-automount-0.1 recipe contains:
do_install(){
install -d ${D}/${sysconfdir}/polkit-1/rules.d
install -m 0644 ${S}/00-mount-internal.rules ${D}/${sysconfdir}/polkit-1/rules.d
}
polkit-124 recipe contains:
do_install:append() {
#Fix up permissions on polkit rules.d to work with rpm4 constraints
chmod 700 ${D}/${datadir}/polkit-1/rules.d
chmod 700 ${D}/${sysconfdir}/polkit-1/rules.d
chown polkitd:root ${D}/${datadir}/polkit-1/rules.d
chown polkitd:root ${D}/${sysconfdir}/polkit-1/rules.d
}
Since polkit is maintained by yocto I want to avoid making changes to it but
rather adapt my disk-automount recipe somehow since the problem probably is on
my end.
IIRC install -d will set the permissions to 0755 unless otherwise specified
which might conflict with polkit's chmod 700 so I might try copying chmod 700
${D}/${sysconfdir}/polkit-1/rules.d to my disk-automount recipe.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#62918): https://lists.yoctoproject.org/g/yocto/message/62918
Mute This Topic: https://lists.yoctoproject.org/mt/105458437/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-