ksud: handle partition after REMOVE and REPLACE
This commit is contained in:
@@ -389,10 +389,6 @@ install_module() {
|
|||||||
[ -f $MODPATH/customize.sh ] && . $MODPATH/customize.sh
|
[ -f $MODPATH/customize.sh ] && . $MODPATH/customize.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
handle_partition vendor
|
|
||||||
handle_partition system_ext
|
|
||||||
handle_partition product
|
|
||||||
|
|
||||||
# Handle replace folders
|
# Handle replace folders
|
||||||
for TARGET in $REPLACE; do
|
for TARGET in $REPLACE; do
|
||||||
ui_print "- Replace target: $TARGET"
|
ui_print "- Replace target: $TARGET"
|
||||||
@@ -405,6 +401,10 @@ install_module() {
|
|||||||
mark_remove $MODPATH$TARGET
|
mark_remove $MODPATH$TARGET
|
||||||
done
|
done
|
||||||
|
|
||||||
|
handle_partition vendor
|
||||||
|
handle_partition system_ext
|
||||||
|
handle_partition product
|
||||||
|
|
||||||
if $BOOTMODE; then
|
if $BOOTMODE; then
|
||||||
mktouch $NVBASE/modules/$MODID/update
|
mktouch $NVBASE/modules/$MODID/update
|
||||||
rm -rf $NVBASE/modules/$MODID/remove 2>/dev/null
|
rm -rf $NVBASE/modules/$MODID/remove 2>/dev/null
|
||||||
|
|||||||
Reference in New Issue
Block a user