Write DPKG_ARCH to /etc/apt/apt.conf
PATCH 1/1 Write DPKG_ARCH to /etc/apt/apt.conf
Apt does not recognize the architecture if a different one is set with DPKG_ARCH (e.g. armel). This patch writes the correct architecture to /etc/apt/apt.conf.
Signed-off-by Stefan Eichenberger <[email protected]>
--- meta/recipes-devtools/apt/apt_0.7.14.bb | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
(quoted diff) +0 -0
b/meta/recipes-devtools/apt/apt_0.7.14.bb
index 667b700..7f1572b 100644
meta/recipes-devtools/apt/apt_0.7.14.bb +5 -0
@@ -16,3 +16,8 @@ require apt-package.inc FILES_${PN} += "${bindir}/apt-key" apt-manpages += "doc/apt-key.8" +do_install_append() { + #Write the correct apt-architecture to apt.conf + APT_CONF=${D}/etc/apt/apt.conf + echo 'APT::Architecture "${DPKG_ARCH}";' > ${APT_CONF} +}
Signature · 1 line
1.7.4.1