build/scripts/customize-image.sh.template

27 lines
476 B
Text
Raw Normal View History

2015-12-22 20:41:43 +03:00
#!/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
case $RELEASE in
wheezy)
# your code here
;;
jessie)
# your code here
;;
trusty)
# your code here
;;
esac