On 27.02.22 23:57, Michael Haener wrote:
> Signed-off-by: Michael Haener <[email protected]>
> ---
> ...ibootguard_0.8.bb => efibootguard_0.10.bb} | 23 +++++++++++++++----
> 1 file changed, 18 insertions(+), 5 deletions(-)
> rename recipes-bsp/efibootguard/{efibootguard_0.8.bb =>
> efibootguard_0.10.bb} (68%)
>
> diff --git a/recipes-bsp/efibootguard/efibootguard_0.8.bb
> b/recipes-bsp/efibootguard/efibootguard_0.10.bb
> similarity index 68%
> rename from recipes-bsp/efibootguard/efibootguard_0.8.bb
> rename to recipes-bsp/efibootguard/efibootguard_0.10.bb
> index e38db70..79eb601 100644
> --- a/recipes-bsp/efibootguard/efibootguard_0.8.bb
> +++ b/recipes-bsp/efibootguard/efibootguard_0.10.bb
> @@ -13,7 +13,8 @@ LICENSE = "GPLv2"
> LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
>
> SRC_URI =
> "git://github.com/siemens/efibootguard.git;protocol=https;branch=master"
> -SRCREV = "ac1685aea75fb3e3d16c0c0e4f8261a2edb63536"
> +SRCREV = "99435e3d7ac960883c951db151ff3ac3c4088458"
> +SRC_URI[sha256sum] =
> "1f63dae861762700d735b10815dea91f563899367357895026e26a211e4d227b"
Extra SHA for a git repo? New bitbake feature that I missed?
>
> S = "${WORKDIR}/git"
>
> @@ -36,16 +37,26 @@ EXTRA_OECONF = "--with-gnuefi-sys-dir=${STAGING_DIR_HOST}
> \
> FILES:${PN}-tools = "${bindir}"
> FILES:${PN}-tools-dbg = "/usr/src/debug ${bindir}/.debug /usr/lib/debug"
> FILES:${PN}-tools-staticdev = "${libdir}/lib*.a"
> -FILES:${PN}-tools-dev = "${includedir}/${BPN}"
> -FILES:${PN} = "${libdir}/${BPN}"
> +FILES:${PN}-tools-dev = " \
> + ${includedir}/${BPN} \
> + ${libdir}/libebgenv.so \
> +"
> +FILES:${PN} = " \
> + ${libdir}/${BPN} \
> + ${target_datadir}/${BPN}/completion/* \
Shouldn't the completion better go into the tools package?
> + ${libdir}/libebgenv-${PV}*.so \
> +"
>
> do_deploy () {
> install ${B}/efibootguard*.efi ${DEPLOYDIR}
> }
> addtask deploy before do_build after do_compile
>
> -BBCLASSEXTEND = "native"
> -DEPENDS:class-native = "zlib libcheck"
> +DEPENDS:class-native = "zlib-native libcheck-native"
> +EXTRA_OECONF:class-native = "--with-gnuefi-sys-dir=${STAGING_DIR_HOST} \
> + --with-gnuefi-include-dir=${STAGING_INCDIR}/efi
> \
> + --with-gnuefi-lib-dir=${STAGING_LIBDIR} \
> + --disable-bootloader"
>
> do_compile:class-native () {
> oe_runmake bg_setenv
> @@ -59,3 +70,5 @@ do_install:class-native () {
>
> do_deploy:class-native () {
> }
> +
> +BBCLASSEXTEND = "native"
Rest of the series looks good to me.
Jan
--
Siemens AG, Technology
Competence Center Embedded Linux
--
You received this message because you are subscribed to the Google Groups "EFI
Boot Guard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/efibootguard-dev/d16a240b-c999-939b-369a-7c2f919235e5%40siemens.com.