mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Move kernel heaers install under switch and to config example. Package can now be installed from armbian-config "with one click".
This commit is contained in:
@@ -20,3 +20,4 @@ BUILD_ALL="no" # cycle through available boards and make images or kernel/u-b
|
||||
# set KERNEL_ONLY to "yes" or "no" to build all packages/all images
|
||||
|
||||
BSPFREEZE="" # freeze armbian packages (u-boot, kernel, dtb)
|
||||
INSTALL_HEADERS="" # install kernel headers package
|
||||
@@ -101,8 +101,10 @@ install_common()
|
||||
display_alert "Installing u-boot" "$CHOSEN_UBOOT" "info"
|
||||
chroot $SDCARD /bin/bash -c "DEVICE=/dev/null dpkg -i /tmp/debs/${CHOSEN_UBOOT}_${REVISION}_${ARCH}.deb" >> $DEST/debug/install.log 2>&1
|
||||
|
||||
display_alert "Installing headers" "${CHOSEN_KERNEL/image/headers}" "info"
|
||||
chroot $SDCARD /bin/bash -c "dpkg -i /tmp/debs/${CHOSEN_KERNEL/image/headers}_${REVISION}_${ARCH}.deb" >> $DEST/debug/install.log 2>&1
|
||||
if [[ $INSTALL_HEADERS == "yes" ]]; then
|
||||
display_alert "Installing headers" "${CHOSEN_KERNEL/image/headers}" "info"
|
||||
chroot $SDCARD /bin/bash -c "dpkg -i /tmp/debs/${CHOSEN_KERNEL/image/headers}_${REVISION}_${ARCH}.deb" >> $DEST/debug/install.log 2>&1
|
||||
fi
|
||||
|
||||
# install firmware
|
||||
#if [[ -f $SDCARD/tmp/debs/${CHOSEN_KERNEL/image/firmware-image}_${REVISION}_${ARCH}.deb ]]; then
|
||||
|
||||
Reference in New Issue
Block a user