[elbe-devel] [PATCH 08/11] elbepack: rfs: delete unused method virtapt_init_dirs()

Thomas Weißschuh thomas.weissschuh at linutronix.de
Thu Aug 1 17:53:05 CEST 2024


No point in keeping it.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
 elbepack/rfs.py | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/elbepack/rfs.py b/elbepack/rfs.py
index e13490b7a5fc..fc4231b6bada 100644
--- a/elbepack/rfs.py
+++ b/elbepack/rfs.py
@@ -265,14 +265,6 @@ class BuildEnv:
             if cleanup:
                 self.rfs.rmtree('/')
 
-    def virtapt_init_dirs(self):
-        self.rfs.mkdir_p('/cache/archives/partial')
-        self.rfs.mkdir_p('/etc/apt/preferences.d')
-        self.rfs.mkdir_p('/db')
-        self.rfs.mkdir_p('/log')
-        self.rfs.mkdir_p('/state/lists/partial')
-        self.rfs.touch_file('/state/status')
-
     def add_key(self, key, keyname):
         """
         Adds the binary OpenPGP keyring 'key' as a trusted apt keyring

-- 
2.45.2



More information about the elbe-devel mailing list