Files
odroid-stamper/fixups/S20-install-packages
steve.jeong 4ab4aac61d odroid-stamper: Add build option "--addon-wifi".
for select install DKMS packages or not.

+) Add new directory "addon" it have no dependency of boards.

Signed-off-by: steve.jeong <jkhpro1003@gmail.com>
Change-Id: Ic010d5bf433078f40872a1bd53990a7ffda90372
2024-05-22 16:57:16 +09:00

33 lines
795 B
Bash
Executable File

#!/bin/sh
export DEBIAN_FRONTEND=noninteractive
rm -f /etc/apt/sources.list.d/launchpad-hardkernel-ppa.list
apt-key adv --keyserver keyserver.ubuntu.com \
--recv-keys 4F71126C02B8F823
apt purge -y linux-image-arm64
apt update --allow-releaseinfo-change \
&& apt upgrade -y
apt install @@DEFAULT_APT_OPTIONS@@ \
odroid-base \
flash-kernel \
rsync \
@@DEFAULT_FLAVOUR_PACKAGES@@ \
linux-image-@@DEFAULT_KERNEL_PACKAGE@@ \
@@DEFAULT_BOOTSCRIPT_PACKAGE@@ || exit 1
if [ "x@@BUILD_DKMS@@" = "xtrue" ]; then
apt install @@DEFAULT_APT_OPTIONS@@ \
linux-headers-@@DEFAULT_KERNEL_PACKAGE@@
fi
if ls /overlay/host/debs/*.deb 1>/dev/null 2>&1; then
dpkg -i $(ls /overlay/host/debs/*.deb)
apt install --fix-broken @@DEFAULT_APT_OPTIONS@@
fi
apt remove -y @@DEFAULT_BLACKLIST_PACKAGES@@