magiskboot: cleanup bootconfig and vendor ramdisk dir

This commit is contained in:
niels 2024-09-12 01:33:22 +02:00 committed by John Wu
parent abaff72304
commit 0d9ee89e7f

View File

@ -152,6 +152,8 @@ int main(int argc, char *argv[]) {
unlink(EXTRA_FILE); unlink(EXTRA_FILE);
unlink(RECV_DTBO_FILE); unlink(RECV_DTBO_FILE);
unlink(DTB_FILE); unlink(DTB_FILE);
unlink(BOOTCONFIG_FILE);
rm_rf(VND_RAMDISK_DIR);
} else if (argc > 2 && action == "sha1") { } else if (argc > 2 && action == "sha1") {
uint8_t sha1[20]; uint8_t sha1[20];
{ {