From e7881c350c67cabfeb5bb2ec9e70a7126c394221 Mon Sep 17 00:00:00 2001 From: weishu Date: Sat, 8 Apr 2023 12:51:16 +0800 Subject: [PATCH] ksud: handle partition after REMOVE and REPLACE --- userspace/ksud/src/installer.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/userspace/ksud/src/installer.sh b/userspace/ksud/src/installer.sh index a0edb34a..5e3621f9 100644 --- a/userspace/ksud/src/installer.sh +++ b/userspace/ksud/src/installer.sh @@ -389,10 +389,6 @@ install_module() { [ -f $MODPATH/customize.sh ] && . $MODPATH/customize.sh fi - handle_partition vendor - handle_partition system_ext - handle_partition product - # Handle replace folders for TARGET in $REPLACE; do ui_print "- Replace target: $TARGET" @@ -405,6 +401,10 @@ install_module() { mark_remove $MODPATH$TARGET done + handle_partition vendor + handle_partition system_ext + handle_partition product + if $BOOTMODE; then mktouch $NVBASE/modules/$MODID/update rm -rf $NVBASE/modules/$MODID/remove 2>/dev/null