diff --git a/compile.sh b/compile.sh index 600168fcb6..bc7a906fee 100755 --- a/compile.sh +++ b/compile.sh @@ -34,6 +34,7 @@ BUILD_ALL="no" # cycle through available boards and make images or kernel/u-b BETA="" # set yes to add subrevision with tomorrow's date. For internal use. MULTITHREAD="" # build n images at once. For internal use. +BSPFREEZE="" # freeze armbian packages (u-boot, kernel, dtb, bsp) # build script version to use LIB_TAG="" # empty for latest version, @@ -99,4 +100,4 @@ fi # If you are committing new version of this file, increment VERSION # Only integers are supported -# VERSION=25 +# VERSION=26 diff --git a/config/sources/s500.conf b/config/sources/s500.conf index 9d1c454a3a..ff2b5d543a 100644 --- a/config/sources/s500.conf +++ b/config/sources/s500.conf @@ -39,5 +39,5 @@ family_tweaks() { printf "blacklist wlan_8723bs_vq0\nblacklist ctp_gslX680\nblacklist ctp_gsl3680\n" > $CACHEDIR/$SDCARD/etc/modprobe.d/blacklist-guitar.conf printf "blacklist gsensor_mir3da\nblacklist gsensor_stk8313\nblacklist gsensor_bma222\nblacklist lightsensor_ltr301\n" >> $CACHEDIR/$SDCARD/etc/modprobe.d/blacklist-guitar.conf - gzip < $SRC/lib/bin/udoo.bmp > $CACHEDIR/$SDCARD/boot/boot_logo.bmp.gz + gzip < $SRC/lib/bin/splash/udoo.bmp > $CACHEDIR/$SDCARD/boot/boot_logo.bmp.gz } diff --git a/distributions.sh b/distributions.sh index ab2db110aa..a8907758f9 100644 --- a/distributions.sh +++ b/distributions.sh @@ -125,6 +125,14 @@ install_common() display_alert "Installing board support package" "$BOARD" "info" chroot $CACHEDIR/$SDCARD /bin/bash -c "dpkg -i /tmp/debs/$RELEASE/${CHOSEN_ROOTFS}_${REVISION}_${ARCH}.deb" >> $DEST/debug/install.log 2>&1 + # freeze armbian packages + if [[ $BSPFREEZE == "yes" ]]; then + display_alert "Freeze armbian packages" "$BOARD" "info" + if [[ "$BRANCH" != "default" ]]; then MINIBRANCH="-"$BRANCH; fi + chroot $CACHEDIR/$SDCARD /bin/bash -c "apt-mark hold ${CHOSEN_KERNEL} ${CHOSEN_KERNEL/image/headers} \ + linux-u-boot-${BOARD}-${BRANCH} linux-dtb${MINIBRANCH}-${LINUXFAMILY}" >> $DEST/debug/install.log 2>&1 + fi + # copy boot splash images cp $SRC/lib/bin/splash/armbian-u-boot.bmp $CACHEDIR/$SDCARD/boot/boot.bmp cp $SRC/lib/bin/splash/armbian-desktop.png $CACHEDIR/$SDCARD/boot/boot-desktop.png