From cb6fb58a31b1cede372140be0105534f61b98f02 Mon Sep 17 00:00:00 2001 From: David McKinney Date: Tue, 3 Jul 2018 14:50:33 -0400 Subject: [PATCH] Updated wireguard-tools recipe with do_unpack to mitigate repro builds .bbclass problem --- .../wireguard-tools/wireguard-tools_0.0.20180613.bb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/meta-citadel/recipes-support/wireguard-tools/wireguard-tools_0.0.20180613.bb b/meta-citadel/recipes-support/wireguard-tools/wireguard-tools_0.0.20180613.bb index 394d609..b403950 100644 --- a/meta-citadel/recipes-support/wireguard-tools/wireguard-tools_0.0.20180613.bb +++ b/meta-citadel/recipes-support/wireguard-tools/wireguard-tools_0.0.20180613.bb @@ -8,6 +8,13 @@ do_compile_prepend () { cd ${S}/tools } +do_unpack () { + tar -xvf ${DL_DIR}/WireGuard-0.0.20180613.tar.xz -C ${WORKDIR}/ + # Remove symlink pointing to non-existent file as this causes the + # reproducible_build .bbclass to fail + rm ${WORKDIR}/WireGuard-0.0.20180613/src/tools/wg-quick/wg +} + do_install () { cd ${S}/tools oe_runmake DESTDIR="${D}" PREFIX="${prefix}" SYSCONFDIR="${sysconfdir}" \