diff --git a/common.sh b/common.sh index aae147024..d1aecff4e 100644 --- a/common.sh +++ b/common.sh @@ -468,7 +468,7 @@ customize_image() mount -o bind $SRC/userpatches/overlay $CACHEDIR/$SDCARD/tmp/overlay fi 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 mountpoint -q $CACHEDIR/$SDCARD/tmp/overlay || rm -r $CACHEDIR/$SDCARD/tmp/overlay } diff --git a/scripts/customize-image.sh.template b/scripts/customize-image.sh.template index 5e2f740ca..274835927 100644 --- a/scripts/customize-image.sh.template +++ b/scripts/customize-image.sh.template @@ -1,6 +1,6 @@ #!/bin/bash -# arguments: $RELEASE $FAMILY $BOARD $BUILD_DESKTOP +# arguments: $RELEASE $LINUXFAMILY $BOARD $BUILD_DESKTOP # # This is the image customization script # @@ -9,7 +9,7 @@ # so don't reference any files that are not already installed RELEASE=$1 -FAMILY=$2 +LINUXFAMILY=$2 BOARD=$3 BUILD_DESKTOP=$4