Hi Andreas, I've tested your series (with the docker use-case example you described in last patch in series). It works as described in the default case - without local apt caching enabled. I've tested it with with signed local apt caching feature enabled. The first stage - creation of local repo passed OK - bitbake -c cache_base_repo multiconfig:qemuarm64-stretch:isar-image-base But on the second stage the build failed (see log below). I've double checked 'signed local apt caching feature' works fine in the current 'next'. My local.conf is attached for convenience. Regards, Maxim. ============= bitbake multiconfig:qemuarm64-stretch:isar-image-base Parsing recipes: 100% |#######################################################################################################################################################################################################| Time: 0:00:03 Parsing of 26 .bb files complete (0 cached, 26 parsed). 390 targets, 0 skipped, 0 masked, 0 errors. NOTE: Resolving any missing task queue dependencies NOTE: Resolving any missing task queue dependencies NOTE: Resolving any missing task queue dependencies NOTE: Resolving any missing task queue dependencies NOTE: Resolving any missing task queue dependencies NOTE: Resolving any missing task queue dependencies NOTE: Resolving any missing task queue dependencies NOTE: Resolving any missing task queue dependencies NOTE: Resolving any missing task queue dependencies NOTE: Resolving any missing task queue dependencies NOTE: Resolving any missing task queue dependencies NOTE: Resolving any missing task queue dependencies NOTE: Resolving any missing task queue dependencies NOTE: Resolving any missing task queue dependencies NOTE: Resolving any missing task queue dependencies Initialising tasks: 100% |####################################################################################################################################################################################################| Time: 0:00:04 NOTE: Executing RunQueue Tasks ERROR: mc:qemuarm64-stretch:isar-bootstrap-host-1.0-r0 do_bootstrap: Function failed: do_bootstrap (log file is located at /home/myo/work/isar/src/trunk/isar/build/tmp/work/debian-stretch-arm64/isar-bootstrap-host-debian-stretch-amd64/temp/log.do_bootstrap.26651) ERROR: mc:qemuarm64-stretch:isar-bootstrap-target-1.0-r0 do_bootstrap: Function failed: do_bootstrap (log file is located at /home/myo/work/isar/src/trunk/isar/build/tmp/work/debian-stretch-arm64/isar-bootstrap-target/temp/log.do_bootstrap.26652) ERROR: Logfile of failure stored in: /home/myo/work/isar/src/trunk/isar/build/tmp/work/debian-stretch-arm64/isar-bootstrap-host-debian-stretch-amd64/temp/log.do_bootstrap.26651 Log data follows: | DEBUG: Executing shell function do_bootstrap | W: Target architecture is the same as host architecture; disabling QEMU support | I: Running command: debootstrap --arch amd64 --verbose --variant=minbase --include=locales,gnupg2 --components=main,contrib,non-free stretch /home/myo/work/isar/src/trunk/isar/build/tmp/work/debian-stretch-arm64/isar-bootstrap-host-debian-stretch-amd64/rootfs file:////home/myo/work/isar/src/trunk/isar/build/downloads/base-apt/apt/debian | I: Retrieving InRelease | I: Checking Release signature | E: Release signed by unknown key (key id 75CB2BE443564A84) | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_bootstrap (log file is located at /home/myo/work/isar/src/trunk/isar/build/tmp/work/debian-stretch-arm64/isar-bootstrap-host-debian-stretch-amd64/temp/log.do_bootstrap.26651) ERROR: Task (multiconfig:qemuarm64-stretch:/home/myo/work/isar/src/trunk/isar/meta/recipes-core/isar-bootstrap/isar-bootstrap-host.bb:do_bootstrap) failed with exit code '1' ERROR: Logfile of failure stored in: /home/myo/work/isar/src/trunk/isar/build/tmp/work/debian-stretch-arm64/isar-bootstrap-target/temp/log.do_bootstrap.26652 Log data follows: | DEBUG: Executing shell function do_bootstrap | I: Running command: debootstrap --arch arm64 --foreign --verbose --variant=minbase --include=locales,gnupg2,apt-transport-https,ca-certificates --components=main,contrib,non-free stretch /home/myo/work/isar/src/trunk/isar/build/tmp/work/debian-stretch-arm64/isar-bootstrap-target/rootfs file:////home/myo/work/isar/src/trunk/isar/build/downloads/base-apt/apt/debian | I: Retrieving InRelease | I: Checking Release signature | E: Release signed by unknown key (key id 75CB2BE443564A84) | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_bootstrap (log file is located at /home/myo/work/isar/src/trunk/isar/build/tmp/work/debian-stretch-arm64/isar-bootstrap-target/temp/log.do_bootstrap.26652) ERROR: Task (multiconfig:qemuarm64-stretch:/home/myo/work/isar/src/trunk/isar/meta/recipes-core/isar-bootstrap/isar-bootstrap-target.bb:do_bootstrap) failed with exit code '1' NOTE: Tasks Summary: Attempted 53 tasks of which 0 didn't need to be rerun and 2 failed. Summary: 2 tasks failed: multiconfig:qemuarm64-stretch:/home/myo/work/isar/src/trunk/isar/meta/recipes-core/isar-bootstrap/isar-bootstrap-host.bb:do_bootstrap multiconfig:qemuarm64-stretch:/home/myo/work/isar/src/trunk/isar/meta/recipes-core/isar-bootstrap/isar-bootstrap-target.bb:do_bootstrap Summary: There were 2 ERROR messages shown, returning a non-zero exit code. ==== On 4/16/19 3:05 PM, Andreas J. Reichel wrote: > From: Andreas Reichel > > Diff to v8: No revert, improve docs. Map changes for missing > raspbian-jessie.conf to raspbian-stretch.conf. > > Last test of BASE_REPO_KEY worked before trivial rebasing. > > Signed-off-by: Andreas Reichel > > Andreas Reichel (5): > Simplify and enhance apt-keyring generator > Use apt-key to generate keyrings > If we use a custom keyring debootstrap may fall to https > raspbian-stretch: Use DISTRO_BOOTSTRAP_KEYS > docs: Update user_manual.md > > doc/user_manual.md | 41 +++++++- > meta-isar/conf/distro/raspbian-stretch.conf | 2 +- > .../conf/multiconfig/qemuamd64-buster.conf | 1 - > meta/conf/bitbake.conf | 1 + > .../isar-bootstrap/isar-bootstrap-host.bb | 4 +- > .../isar-bootstrap/isar-bootstrap-target.bb | 4 +- > .../isar-bootstrap/isar-bootstrap.inc | 95 +++++++++++++------ > 7 files changed, 114 insertions(+), 34 deletions(-) > -- Maxim Osipov ilbers GmbH Maria-Merian-Str. 8 85521 Ottobrunn Germany +49 (151) 6517 6917 mosipov@ilbers.de http://ilbers.de/ Commercial register Munich, HRB 214197 General Manager: Baurzhan Ismagulov