build/scripts/customize-image.sh.template

27 lines
439 B
Text
Raw Normal View History

#!/bin/bash
# arguments: $RELEASE $FAMILY $BOARD $BUILD_DESKTOP
#
# This is the image customization script
#
# NOTE: It is copied to /tmp directory inside the image
# and executed there inside chroot environment
# so don't reference any files that are not already installed
RELEASE=$1
FAMILY=$2
BOARD=$3
BUILD_DESKTOP=$4
2016-01-07 20:03:32 +03:00
case $RELEASE in
wheezy)
# your code here
;;
jessie)
# your code here
;;
trusty)
# your code here
;;
esac