deb-dl-dir: Remove unnecessary mounts cleanup call

Message ID 20260522145215.2857251-1-amikan@ilbers.de
State Under Review
Headers show
Series deb-dl-dir: Remove unnecessary mounts cleanup call | expand

Commit Message

Anton Mikanovich May 22, 2026, 2:52 p.m. UTC
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 <agomez@ulmapackaging.com>
Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
---
 meta/classes-recipe/deb-dl-dir.bbclass | 1 -
 1 file changed, 1 deletion(-)

Patch

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