Resize /system in boot

Is it really safe?
Tested on Allview V3 Viper and Huawei Mate 9
diff --git a/base.mk b/base.mk
index c1415aa..584cacc 100644
--- a/base.mk
+++ b/base.mk
@@ -43,5 +43,8 @@
 PRODUCT_COPY_FILES += \
 	device/phh/treble/nfc/libnfc-nci.conf:system/etc/libnfc-nci.conf
 
+PRODUCT_COPY_FILES += \
+	device/phh/treble/resize-system.sh:system/bin/resize-system.sh
+
 PRODUCT_PACKAGES += \
 	treble-environ-rc