From 8be24e263301fc881b6559315e55d6777e27b4ed Mon Sep 17 00:00:00 2001 From: Simon Cozens Date: Wed, 8 Oct 2025 16:51:54 +0000 Subject: [PATCH] Allow 'dangerous' symbolic links --- bbootimg/src/main/kotlin/rom/sparse/SparseImage.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bbootimg/src/main/kotlin/rom/sparse/SparseImage.kt b/bbootimg/src/main/kotlin/rom/sparse/SparseImage.kt index 04864e4..e08a290 100644 --- a/bbootimg/src/main/kotlin/rom/sparse/SparseImage.kt +++ b/bbootimg/src/main/kotlin/rom/sparse/SparseImage.kt @@ -231,7 +231,7 @@ data class SparseImage(var info: SparseInfo = SparseInfo()) { if (EnvironmentVerifier().has7z) { val stem = File(fileName).nameWithoutExtension val outFilePath = Helper.joinPath(workDir, stem) - val outStr = "7z x $fileName -y -o$outFilePath".check_output() + val outStr = "7z -snld x $fileName -y -o$outFilePath".check_output() File(workDir, "$stem.log").writeText(outStr) } else { log.warn("Please install 7z for ext4 extraction")