mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-28 09:41:41 +00:00
parent
e50234f88c
commit
184417e055
2 changed files with 3 additions and 3 deletions
|
@ -468,7 +468,7 @@ customize_image()
|
||||||
mount -o bind $SRC/userpatches/overlay $CACHEDIR/$SDCARD/tmp/overlay
|
mount -o bind $SRC/userpatches/overlay $CACHEDIR/$SDCARD/tmp/overlay
|
||||||
fi
|
fi
|
||||||
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 $LINUXFAMILY $BOARD $BUILD_DESKTOP"
|
||||||
umount $CACHEDIR/$SDCARD/tmp/overlay
|
umount $CACHEDIR/$SDCARD/tmp/overlay
|
||||||
mountpoint -q $CACHEDIR/$SDCARD/tmp/overlay || rm -r $CACHEDIR/$SDCARD/tmp/overlay
|
mountpoint -q $CACHEDIR/$SDCARD/tmp/overlay || rm -r $CACHEDIR/$SDCARD/tmp/overlay
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# arguments: $RELEASE $FAMILY $BOARD $BUILD_DESKTOP
|
# arguments: $RELEASE $LINUXFAMILY $BOARD $BUILD_DESKTOP
|
||||||
#
|
#
|
||||||
# This is the image customization script
|
# This is the image customization script
|
||||||
#
|
#
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
# so don't reference any files that are not already installed
|
# so don't reference any files that are not already installed
|
||||||
|
|
||||||
RELEASE=$1
|
RELEASE=$1
|
||||||
FAMILY=$2
|
LINUXFAMILY=$2
|
||||||
BOARD=$3
|
BOARD=$3
|
||||||
BUILD_DESKTOP=$4
|
BUILD_DESKTOP=$4
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue