Add Stretch building constraints
This commit is contained in:
parent
a948e9855b
commit
d90b0d1bfb
@ -16,6 +16,7 @@ case $BRANCH in
|
||||
KERNELBRANCH='branch:odroidc-3.10.y'
|
||||
KERNELDIR='linux-odroidc1'
|
||||
KERNEL_USE_GCC='< 4.9'
|
||||
CAN_BUILD_STRETCH=no
|
||||
;;
|
||||
|
||||
next)
|
||||
|
||||
@ -13,6 +13,7 @@ case $BRANCH in
|
||||
KERNELBRANCH='branch:odroidxu3-3.10.y'
|
||||
KERNELDIR='linux-odroidxu4'
|
||||
UBOOT_USE_GCC='< 4.9'
|
||||
CAN_BUILD_STRETCH=no
|
||||
;;
|
||||
|
||||
next)
|
||||
|
||||
@ -18,6 +18,8 @@ KERNELDIR='linux-rda8810'
|
||||
|
||||
KERNEL_USE_GCC='< 5.0'
|
||||
|
||||
CAN_BUILD_STRETCH=no
|
||||
|
||||
HAS_UUID_SUPPORT=yes
|
||||
|
||||
CPUMIN=329333
|
||||
|
||||
@ -5,6 +5,8 @@ KERNELSOURCE='https://github.com/LeMaker/linux-actions'
|
||||
KERNELBRANCH='branch:linux-3.10.y'
|
||||
KERNELDIR='linux-s500'
|
||||
|
||||
CAN_BUILD_STRETCH=no
|
||||
|
||||
CPUMIN=408000
|
||||
CPUMAX=1104000
|
||||
GOVERNOR=interactive
|
||||
|
||||
@ -4,6 +4,10 @@ HAS_UUID_SUPPORT=yes
|
||||
OFFSET=2
|
||||
|
||||
case $BRANCH in
|
||||
default)
|
||||
CAN_BUILD_STRETCH=no
|
||||
;;
|
||||
|
||||
dev)
|
||||
BOOTSOURCE='https://github.com/zador-blood-stained/u-boot-sun50i.git'
|
||||
BOOTDIR='u-boot-sun50i'
|
||||
|
||||
@ -20,6 +20,7 @@ BOOTDELAY=0
|
||||
case $BRANCH in
|
||||
default)
|
||||
GOVERNOR=interactive
|
||||
CAN_BUILD_STRETCH=no
|
||||
;;
|
||||
|
||||
next)
|
||||
|
||||
@ -28,6 +28,8 @@ ROOTFSCACHE_VERSION=3
|
||||
# echo $(( $(blockdev --getsize64 /dev/sdX) / 1024 / 1024 ))
|
||||
[[ "btrfs f2fs" == *$ROOTFS_TYPE* && -z $FIXED_IMAGE_SIZE ]] && exit_with_error "Please define FIXED_IMAGE_SIZE"
|
||||
|
||||
[[ $RELEASE == stretch && CAN_BUILD_STRETCH != yes ]] && exit_with_error "Building Debian Stretch images with selected kernel is not supported"
|
||||
|
||||
# small SD card with kernel, boot script and .dtb/.bin files
|
||||
[[ $ROOTFS_TYPE == nfs ]] && FIXED_IMAGE_SIZE=64
|
||||
|
||||
|
||||
@ -79,6 +79,7 @@ fi
|
||||
if [[ $PROGRESS_LOG_TO_FILE != yes ]]; then unset PROGRESS_LOG_TO_FILE; fi
|
||||
|
||||
SHOW_WARNING=yes
|
||||
CAN_BUILD_STRETCH=yes
|
||||
|
||||
if [[ $USE_CCACHE != no ]]; then
|
||||
CCACHE=ccache
|
||||
@ -219,7 +220,7 @@ fi
|
||||
if [[ $KERNEL_ONLY != yes && -z $RELEASE ]]; then
|
||||
options=()
|
||||
options+=("jessie" "Debian 8 Jessie")
|
||||
[[ $EXPERT == yes ]] && options+=("stretch" "Debian 9 Stretch")
|
||||
[[ $EXPERT == yes && $CAN_BUILD_STRETCH == yes ]] && options+=("stretch" "Debian 9 Stretch")
|
||||
options+=("xenial" "Ubuntu Xenial 16.04 LTS")
|
||||
RELEASE=$(dialog --stdout --title "Choose a release" --backtitle "$backtitle" --menu "Select the target OS release" \
|
||||
$TTY_Y $TTY_X $(($TTY_Y - 8)) "${options[@]}")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user