mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-28 01:31:35 +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"
|
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"
|
chroot $CACHEDIR/sdcard /bin/bash -c "/tmp/customize-image.sh $RELEASE $FAMILY $BOARD $BUILD_DESKTOP"
|
||||||
umount $CACHEDIR/sdcard/tmp/overlay
|
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()
|
userpatch_create()
|
||||||
|
|
Loading…
Add table
Reference in a new issue