Hello isar-users,
I am trying to use the cache-deb-src feature to cache upstream Debian source packages for long-term reproducibility. I am running isar v1.1 (commit cc5a5d98) on Debian 13 (Trixie) amd64, building an image for an Intel Elkhart Lake (x86_64) target with Debian Trixie.
Configuration in local.conf:
BASE_REPO_FEATURES = "cache-deb-src"
The build fails with:
ERROR: No packages were found in apt cache
run.do_cache_deb_src: debsrc_undo_mounts: not found
WARNING: exit code 127 from a shell command.
I found two issues:
1. The function 'debsrc_undo_mounts' is called in meta/classes-recipe/deb-dl-dir.bbclass (line ~150) when the apt cache is empty, but this function is not defined anywhere in the isar codebase. This causes exit code 127 (command not found).
2. Even with ROOTFS_FEATURES:remove = "clean-package-cache", the function rootfs_export_package_cache executes BEFORE rootfs_install_pkgs_install in the ROOTFS_INSTALL_COMMAND sequence. This means the apt cache is still empty when the export runs, because the packages have not been downloaded yet.
The execution order observed in the log is:
rootfs_export_package_cache (cache is empty at this point)
rootfs_install_clean_files
rootfs_install_pkgs_install (packages are downloaded here)
Is there a workaround available? Is this a known issue?
Thank you,
Amaia Gomez
|
|
|
AMAIA GOMEZ
| Técnico/a de Desarrollo - Electrónico/a |
|||||||
|
Mezu hau, eta hala bada, eransitako fitxategiak konfidentzialak dira, bereziki datu pertsonalei dagokienez, eta zehaztu den hartzailearentzat dira bakarrik. Zu ez bazara
hartzailea eta nahi gabe jaso baduzu, edo beste arrazoi batengatik bere berri izan baduzu, bide honetatik guri jakinarazteko eta mezua suntsitzeko edo ezabatzeko eskatzen dizugu. Aldi berean, inondik inora, mezu hau eta erantsitako fitxategiak ez erabiltzeko,
ez erreproduzitzeko, ez aldatzeko, ez artxibatzeko edo ez beste inori helerazteko eskatzen dizugu, hori guztia erantzunkizun legalak sor daitezkeela jakitun. Igorleak ez du bermatzen posta honen integritatea, azkartasuna edo segurtasuna, eta ez ditu bere arduratzat
hartzen beste inork egindako atzemate, birus kutsatze eta beste edozein manipulaziotik eratorritako balizko kalteak.
|