Il giorno gio 22 set 2022 alle ore 18:39 Roberto A. Foglietta <roberto.foglietta@gmail.com> ha scritto:
>
> Hi all,
>
> How copying a package from here
>
> build/tmp/deploy/isar-apt/debian-bullseye-amd64/apt/debian-bullseye/pool/main/n/pippo-fs/pippo-fs_2.12.8-1_amd64.deb
>
> to here
>
> build/tmp/work/debian-bullseye-amd64/buildchroot-target/1.0-r0/rootfs/var/cache/apt/archives/pippo-fs_2.12.8-1_amd64.deb
>
> I have the sensation that it download the package from the Internet because the rule does not run in time. If I do manually the rule then the nexr build is correct. The pippo package is provided into a INSTALL_IMAGE
>
> Better ROOTFS_PACKAGES ? Nope.
>

Problem solved: IMAGE_INSTALL for the modified packages and IMAGE_PREINSTALL for their parents packages + this class in attachment

inherit dpkg-repackage

PROVIDES = "${PN}"
SRC_URI = "apt://${PN}"
SED_STR = "s,^Depends:.*,,"

However, I am not very satisfied by the way in which I deploy around the packages do_deploy_deb_append() - take a look and let me know, please. 

Best regards, R-