mirror of
https://github.com/Fishwaldo/build.git
synced 2025-06-14 10:11:56 +00:00
New switch - freeze armbian packages (u-boot, kernel, dtb)
This commit is contained in:
parent
83fd67137b
commit
f4265dc6b4
3 changed files with 11 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue