wpa-supplicant-0.7.3: use MACHINE_ARCH
PATCH 1/1 wpa-supplicant-0.7.3: use MACHINE_ARCH
* Because of madwifi, wpa-supplicant depends on COMBINED_FEATURES. Thus, PACKAGE_ARCH must be set to MACHINE_ARCH.
* Use INC_PR and bump it.
--- recipes/wpa-supplicant/wpa-supplicant-0.7.inc | 3 +++ recipes/wpa-supplicant/wpa-supplicant_0.7.3.bb | 2 +- 2 files changed, 4 insertions(+), 1 deletions(-)
recipes/wpa-supplicant/wpa-supplicant-0.7.inc +3 -0
@@ -8,6 +8,7 @@ LIC_FILES_CHKSUM = "file://../COPYING;md5=c54ce9345727175ff66d17b67ff51f58 \ file://wpa_supplicant.c;beginline=1;endline=17;md5=acdc5a4b0d6345f21f136eace747260e" DEPENDS = "gnutls dbus libnl2 openssl ${@base_contains("COMBINED_FEATURES", "madwifi", "madwifi-ng", "",d)}" RRECOMMENDS_${PN} = "wpa-supplicant-passphrase wpa-supplicant-cli" +INC_PR = "r5" SRC_URI = "http://hostap.epitest.fi/releases/wpa_supplicant-${PV}.tar.gz \ file://defconfig \
@@ -80,6 +81,8 @@ do_install () { install -m 0644 ${WORKDIR}/99_wpa_supplicant ${D}/etc/default/volatiles } +PACKAGE_ARCH = "${MACHINE_ARCH}" + pkg_postinst_wpa-supplicant () { # can't do this offline if [ "x$D" != "x" ]; then
recipes/wpa-supplicant/wpa-supplicant_0.7.3.bb +1 -1
@@ -1,6 +1,6 @@ require wpa-supplicant-0.7.inc -PR = "r4" +PR = "${INC_PR}.0" SRC_URI[md5sum] = "f516f191384a9a546e3f5145c08addda" SRC_URI[sha256sum] = "d0cd50caa85346ccc376dcda5ed3c258eef19a93b3cade39d25760118ad59443"
Signature · 1 line
1.7.2.3
Hello.
Quoted 6 lines · Andreas Oberritter
* Because of madwifi, wpa-supplicant depends on
COMBINED_FEATURES. Thus,PACKAGE_ARCHmust be set toMACHINE_ARCH.
* UseINC_PRand bump it.Signed-off-by Andreas Oberritter <[email protected]>CC Stefan Schmidt <[email protected]>
regards
Stefan Schmidt
Dnia środa, 16 lutego 2011 o 04:03:24 Andreas Oberritter napisał(a):
Quoted 3 lines
* Because of madwifi, wpa-supplicant depends on
COMBINED_FEATURES. Thus,PACKAGE_ARCHmust be set toMACHINE_ARCH.
* UseINC_PRand bump it.
What about setting PACKAGE_ARCH=MACHINE_ARCH only for machines with madwifi? Most of out targets does not support madwifi.
Regards,
Signature · 3 lines
JID: [email protected] Website: http://marcin.juszkiewicz.com.pl/ LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz
Quoted 7 lines · Marcin Juszkiewicz
Dnia środa, 16 lutego 2011 o 04:03:24 Andreas Oberritter napisał(a):
Quoted 3 lines
* Because of madwifi, wpa-supplicant depends on
COMBINED_FEATURES. Thus,PACKAGE_ARCHmust be set toMACHINE_ARCH.
* UseINC_PRand bump it.What about setting PACKAGE_ARCH=MACHINE_ARCH only for machines with madwifi? Most of out targets does not support madwifi.
Well but not having it is also an "option" so it seems the right is to have it globaly.
Signature · 3 lines
Otavio Salvador O.S. Systems E-mail: [email protected] http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
Quoted 7 lines · Marcin Juszkiewicz
Dnia środa, 16 lutego 2011 o 04:03:24 Andreas Oberritter napisał(a):
Quoted 3 lines
* Because of madwifi, wpa-supplicant depends on
COMBINED_FEATURES. Thus,PACKAGE_ARCHmust be set toMACHINE_ARCH.
* UseINC_PRand bump it.What about setting PACKAGE_ARCH=MACHINE_ARCH only for machines with madwifi? Most of out targets does not support madwifi.
Does opkg always prefer machine packages over arch packages, if you have shared deploy directories for multiple machines? Would other package managers like dpkg be able to handle that correctly, too? Hm, I'm not sure whether dpkg supports multi-machine builds at all.
Regards,
Andreas