1
0
forked from brl/citadel

Updated wireguard-tools recipe with do_unpack to mitigate repro builds .bbclass problem

This commit is contained in:
David McKinney 2018-07-03 14:50:33 -04:00
parent 022f05542b
commit cb6fb58a31

View File

@ -8,6 +8,13 @@ do_compile_prepend () {
cd ${S}/tools 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 () { do_install () {
cd ${S}/tools cd ${S}/tools
oe_runmake DESTDIR="${D}" PREFIX="${prefix}" SYSCONFDIR="${sysconfdir}" \ oe_runmake DESTDIR="${D}" PREFIX="${prefix}" SYSCONFDIR="${sysconfdir}" \