Signed-off-by: Denis 'GNUtoo' Carikli <gnu...@cyberdimension.org> --- images/add_adb_root/add_adb_root.py | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/images/add_adb_root/add_adb_root.py b/images/add_adb_root/add_adb_root.py index 7fb41ce..02afaae 100755 --- a/images/add_adb_root/add_adb_root.py +++ b/images/add_adb_root/add_adb_root.py @@ -93,6 +93,11 @@ class Bootimage(object): "--cmdline={}".format(self._metadata['cmdline']), "-o", output_file_path) + # Don't fill up /tmp + for path in [self._config, self._kernel, self._ramdisk]: + os.unlink(path) + os.removedirs(self._tmpdir) + return output_file_path def add_adb_root(self, output_file_path): -- 2.33.0 _______________________________________________ Replicant mailing list Replicant@osuosl.org https://lists.osuosl.org/mailman/listinfo/replicant