2015-12-22 22:37:58 +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
|
|
|
|
|
2016-01-07 20:03:32 +03:00
|
|
|
case $RELEASE in
|
|
|
|
wheezy)
|
|
|
|
# your code here
|
|
|
|
;;
|
|
|
|
jessie)
|
|
|
|
# your code here
|
|
|
|
;;
|
|
|
|
trusty)
|
|
|
|
# your code here
|
|
|
|
;;
|
2016-06-04 18:49:55 +02:00
|
|
|
xenial)
|
|
|
|
# your code here
|
|
|
|
;;
|
2016-01-07 20:03:32 +03:00
|
|
|
esac
|