[PATCH] deb-dl-dir: Remove unnecessary mounts cleanup call

3 views
Skip to first unread message

Anton Mikanovich

unread,
May 22, 2026, 10:52:25 AM (9 days ago) May 22
to isar-...@googlegroups.com, Anton Mikanovich, Amaia Gomez
After removing of 'debsrc_undo_mounts' function there is no need in
calling it during cleanup.

Fixes: 9ad502bb ("deb-dl-dir: optimize caching of source packages using apt natively").

Reported-by: Amaia Gomez <ago...@ulmapackaging.com>
Signed-off-by: Anton Mikanovich <ami...@ilbers.de>
---
meta/classes-recipe/deb-dl-dir.bbclass | 1 -
1 file changed, 1 deletion(-)

diff --git a/meta/classes-recipe/deb-dl-dir.bbclass b/meta/classes-recipe/deb-dl-dir.bbclass
index 27d1fb24..620ddc96 100644
--- a/meta/classes-recipe/deb-dl-dir.bbclass
+++ b/meta/classes-recipe/deb-dl-dir.bbclass
@@ -50,7 +50,6 @@ debsrc_download() {

if [ $(cat ${avail} | wc -l) -eq 0 ]; then
bberror "No packages were found in apt cache"
- debsrc_undo_mounts "${rootfs}"
return 1
fi

--
2.34.1

Reply all
Reply to author
Forward
0 new messages