On Tuesday, January 28, 2020 at 10:22:37 PM UTC+5:30, Henning Schild wrote: > > Thanks. > > On Tue, 28 Jan 2020 21:12:13 +0530 > Vijai Kumar K > wrote: > > > From: Vijai Kumar K > > > > > linux-custom overrides do_dpkg_builddeps with its own variant. > > Since deb-dl-dir* is not called KBUILD_DEPENDS is not cached. > > > > Call deb-dl-dir-import/deb-dl-dir-export to cache it. > > > > Signed-off-by: Vijai Kumar K > > > --- > > meta/recipes-kernel/linux/linux-custom.inc | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/meta/recipes-kernel/linux/linux-custom.inc > > b/meta/recipes-kernel/linux/linux-custom.inc index 17f8464..37eb3c2 > > 100644 --- a/meta/recipes-kernel/linux/linux-custom.inc > > +++ b/meta/recipes-kernel/linux/linux-custom.inc > > @@ -41,6 +41,7 @@ KERNEL_LIBC_DEV_DEPLOY ?= "0" > > do_install_builddeps() { > > dpkg_do_mounts > > E="${@ isar_export_proxies(d)}" > > + deb_dl_dir_import "${BUILDCHROOT_DIR}" > > sudo -E chroot ${BUILDCHROOT_DIR} \ > > apt-get update \ > > -o > > Dir::Etc::SourceList="sources.list.d/isar-apt.list" \ @@ -50,6 +51,7 > > @@ do_install_builddeps() { apt-get install \ > > -y -o Debug::pkgProblemResolver=yes \ > > --no-install-recommends ${KBUILD_DEPENDS} > > In between here you will have to do the split from p8. Otherwise if you > have post-install hooks to clear the caches the next statement will > copy nothing. > > Ah, I see. Will change that. > I guess it is ok to send just one patch and note that it is supposed to > sit on top of my v2. Sure. Thanks, Vijai Kumar K > > > Henning > > > + deb_dl_dir_export "${BUILDCHROOT_DIR}" > > dpkg_undo_mounts > > } > > > >