mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-21 06:11:31 +00:00
Additional safety check in customize_image
This commit is contained in:
parent
86a58fd87c
commit
37b85fef3d
1 changed files with 1 additions and 1 deletions
|
@ -390,7 +390,7 @@ customize_image()
|
|||
display_alert "Calling image customization script" "customize-image.sh" "info"
|
||||
chroot $CACHEDIR/sdcard /bin/bash -c "/tmp/customize-image.sh $RELEASE $FAMILY $BOARD $BUILD_DESKTOP"
|
||||
umount $CACHEDIR/sdcard/tmp/overlay
|
||||
rm -r $CACHEDIR/sdcard/tmp/overlay
|
||||
mountpoint -q $CACHEDIR/sdcard/tmp/overlay || rm -r $CACHEDIR/sdcard/tmp/overlay
|
||||
}
|
||||
|
||||
userpatch_create()
|
||||
|
|
Loading…
Add table
Reference in a new issue