On Mon, Dec 11 2023 at 11:21:48 AM +00:00:00, Ross Burton <[email protected]> wrote:
So the class is redundant, yes. Can you also add a check to the gsettings.bbclass so its harmless instead of crashing?

something like this?
gsettings_postinstrm () {
[ -d $D${datadir}/glib-2.0/schemas ] && glib-compile-schemas $D${datadir}/glib-2.0/schemas
}

glib-compile-schemas hasn't an option to not fail if the directory was not found

But maybe crashing isn't that bad. Helps to keep the recipes more clean I think?



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107326): 
https://lists.openembedded.org/g/openembedded-devel/message/107326
Mute This Topic: https://lists.openembedded.org/mt/103076498/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to