do_deploy_deb but not in buildroot

10 views
Skip to first unread message

Roberto A. Foglietta

unread,
Sep 22, 2022, 12:40:06 PM9/22/22
to isar-...@googlegroups.com
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.

Cheers, R-

Roberto A. Foglietta

unread,
Sep 22, 2022, 6:26:45 PM9/22/22
to isar-...@googlegroups.com
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-
dpkg-repackage.bbclass
Reply all
Reply to author
Forward
0 new messages