mirror of
https://git.yoctoproject.org/poky
synced 2026-03-29 05:02:22 +02:00
Test was made building core-image-sato with package_deb on qemux86 and
qemuarm then run for two of them testimage and install packages with
apt-get using PACKAGE_FEED_URI's configuration.
Now apt support drop priviligies for install packages using a sandbox
with _apt user, the useradd class was inherit and configured to install
_apt user and group.
Rebased patches:
- 0001-Revert-always-run-dpkg-configure-a-at-the-end-of-our.patch
- 0001-fix-the-gcc-version-check.patch
- 0001-remove-Wsuggest-attribute-from-CFLAGS.patch
- disable-test.patch
- no-curl.patch
(From OE-Core rev: 369a7f7232aa8406b63376f7888896fe90f9ce40)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 lines
617 B
BlitzBasic
20 lines
617 B
BlitzBasic
DEPENDS = "curl db zlib"
|
|
RDEPENDS_${PN} = "dpkg bash debianutils"
|
|
require apt.inc
|
|
|
|
require apt-package.inc
|
|
|
|
PACKAGECONFIG ??= "lzma"
|
|
PACKAGECONFIG[lzma] = "ac_cv_lib_lzma_lzma_easy_encoder=yes,ac_cv_lib_lzma_lzma_easy_encoder=no,xz"
|
|
PACKAGECONFIG[bz2] = "ac_cv_lib_bz2_BZ2_bzopen=yes,ac_cv_lib_bz2_BZ2_bzopen=no,bzip2"
|
|
|
|
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}
|
|
oe_libinstall -so -C bin libapt-private ${D}${libdir}/
|
|
}
|