mirror of
https://git.yoctoproject.org/poky
synced 2026-03-31 20:02:22 +02:00
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. (From OE-Core rev: 81b8c36641994dc7a4e025f2d43f9ce57d04b6f0) Signed-off-by: Stefan Eichenberger <stefan.eichenberger@netmodule.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
24 lines
629 B
BlitzBasic
24 lines
629 B
BlitzBasic
DEPENDS = "curl db"
|
|
RDEPENDS_${PN} = "dpkg"
|
|
LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=0636e73ff0215e8d672dc4c32c317bb3"
|
|
require apt.inc
|
|
|
|
PR = "r15"
|
|
|
|
SRC_URI += "file://nodoc.patch \
|
|
file://includes-fix.patch "
|
|
|
|
SRC_URI[md5sum] = "19efa18fb1ef20c58b9b44e94258b814"
|
|
SRC_URI[sha256sum] = "8fc06effaf8a4e4333308eedcdc6840f1c8056f2e924210f151dfc076bcd4045"
|
|
|
|
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}
|
|
}
|