On Wed, 5 Feb 2025 at 05:36, Zoltán Böszörményi <[email protected]> wrote:
> Add a crypto policy file (identical to the one shipped by
> rpm-sequoia) and use its path in SEQUOIA_CRYPTO_POLICY envvar
> for runCmd('rpmkeys') commands.
This complicated maintaining the policy file even further. Rather, you
should set the location of the policy in the rpm recipe where the
wrappers are defined:
do_install:append:class-native() {
for tool in ${WRAPPER_TOOLS}; do
test -x ${D}$tool && create_wrapper ${D}$tool \
RPM_CONFIGDIR=${STAGING_LIBDIR_NATIVE}/rpm \
RPM_ETCCONFIGDIR=${STAGING_DIR_NATIVE} \
MAGIC=${STAGING_DIR_NATIVE}${datadir_native}/misc/magic.mgc \
RPM_NO_CHROOT_FOR_SCRIPTS=1
done
}
This should allow dropping patch 2/3 (the tweak to sign_rpm class) as well.
Alex
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#210842):
https://lists.openembedded.org/g/openembedded-core/message/210842
Mute This Topic: https://lists.openembedded.org/mt/111007199/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-