From 4867f14aaa89bbdc37613159d572dc2d283735e1 Mon Sep 17 00:00:00 2001 From: Thorsten Spille Date: Sun, 22 Jan 2023 23:08:33 +0100 Subject: [PATCH] Add rockchip64 edge kernel --- setup-nasbeery | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/setup-nasbeery b/setup-nasbeery index 414739c..eb88c56 100644 --- a/setup-nasbeery +++ b/setup-nasbeery @@ -94,6 +94,8 @@ if [[ $(dpkg --get-selections | grep -m1 "raspberrypi-kernel") ]]; then headers="raspberrypi-kernel-headers" elif [[ $(dpkg --get-selections | grep -E -m1 "linux-image-current-rockchip64") ]]; then headers="linux-headers-current-rockchip64" +elif [[ $(dpkg --get-selections | grep -E -m1 "linux-image-edge-rockchip64") ]]; then + headers="linux-edge-current-rockchip64" elif [[ $(dpkg --get-selections | grep -E -m1 "linux-image-current-meson64") ]]; then headers="linux-headers-current-meson64" elif [[ $(dpkg --get-selections | grep -E -m1 "linux-image-edge-meson64") ]]; then @@ -133,9 +135,9 @@ if [[ "$(arch)" == "aarch64" ]]; then mv znapzend/usr/lib/x86_64-linux-gnu znapzend/usr/lib/aarch64-linux-gnu dpkg-deb -b znapzend znapzend_${znapzend_version}_arm64.deb apt install ./znapzend_${znapzend_version}_arm64.deb + systemctl disable znapzend.service fi - echo "Installing cockpit" DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt -y -qq -o DPkg::options::="--force-confdef" -o DPkg::options::="--force-confold" install --no-install-recommends cockpit cockpit-identities cockpit-file-sharing cockpit-navigator cockpit-zfs-manager cockpit-benchmark @@ -195,7 +197,7 @@ ff02::2 ip6-allrouters EOF echo "Configuring user" -useradd $USERNAME +useradd -m -s /bin/bash $USERNAME echo "$USERNAME:$PASSWORD" | chpasswd smbpasswd -x $USERNAME (echo $PASSWORD; echo $PASSWORD) | smbpasswd -a $USERNAME