On Mon, 22 Jan 2024 at 09:55, Pavel Zhukov <[email protected]> wrote:
>
> mdadm latest official release was long time while development is
> ongoing. This caused growing number of downstream patches in the layer.
> Switch to git recipe and cleanup patches.
Wait.
Did you engage with upstream to find out if/when they're making a new
release? Switching to a random commit in the middle of a development
cycle needs to be carefully considered, and preferably, confirmed with
upstream. Even if the last release was a long time ago, and
maintenance burden with custom patches is growing.
> --- a/meta/recipes-extended/mdadm/mdadm_4.2.bb
> +++ b/meta/recipes-extended/mdadm/mdadm_git.bb
This breaks PV monotonically increasing. You need to keep it at 4.2,
and add '+git' in the recipe.
> EXTRA_OEMAKE = 'CHECK_RUN_DIR=0 CXFLAGS="${CFLAGS}"
> SYSTEMD_DIR=${systemd_system_unitdir} \
> - BINDIR="${base_sbindir}"
> UDEVDIR="${nonarch_base_libdir}/udev"'
> + BINDIR="${base_sbindir}"
> UDEVDIR="${nonarch_base_libdir}/udev" LDFLAGS="${LDFLAGS}"'
>
> DEBUG_OPTIMIZATION:append = " -Wno-error"
>
> @@ -91,7 +77,7 @@ do_install_ptest() {
> cp -R --no-dereference --preserve=mode,links -v ${S}/tests
> ${D}${PTEST_PATH}/tests
> cp ${S}/test ${D}${PTEST_PATH}
> sed -e 's!sleep 0.*!sleep 1!g; s!/var/tmp!/mdadm-testing-dir!g' -i
> ${D}${PTEST_PATH}/test
> - sed -e 's!/var/tmp!/mdadm-testing-dir!g' -i ${D}${PTEST_PATH}/tests/*
> + find ${D}${PTEST_PATH}/tests -type f -maxdepth 1 -exec sed -e
> 's!/var/tmp!/mdadm-testing-dir!g' -i {} \;
> sed -i -e '/echo -ne "$_script... "/d' \
> -e 's/echo "succeeded"/echo -e "PASS: $_script"/g' \
> -e '/save_log fail/N; /_fail=1/i\\t\t\techo -ne "FAIL:
> $_script"' \
Why these changes?
Alex
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#194134):
https://lists.openembedded.org/g/openembedded-core/message/194134
Mute This Topic: https://lists.openembedded.org/mt/103882790/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-