From abbe121576ebc08103a110d1cd491f1603796ca3 Mon Sep 17 00:00:00 2001 From: rmens Date: Sun, 31 Mar 2024 22:28:16 +0200 Subject: [PATCH] Remove hard check --- README.md | 2 +- install.sh | 12 ++---------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 0d6a606..51e4335 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ The encoder, stationed in the studio, connects to the digital output of an Orban - Gain root access with `sudo su`. - Download and execute the install script using `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/oszuidwest/rpi-encoder/main/install.sh)"`. -⚠️ Note: A [significant issue exists with kernel versions 6.x when recording from a HiFiBerry using FFmpeg](https://github.com/raspberrypi/linux/issues/5709). Linux distributions with kernel 6.0 or newer are incompatible. We highly recommend Ubuntu 22.04 Server LTS with kernel 5.15. Raspbian 11 or 12, which ship with kernel 6.x, are not suitable. ⚠️ +⚠️ Note: A [significant issue exists with kernel versions 6.0 - 6.5 when recording from a HiFiBerry using FFmpeg](https://github.com/raspberrypi/linux/issues/5709). Linux distributions with kernel 6.0 or newer are incompatible. We highly recommend Ubuntu 22.04 Server LTS with kernel 5.15 or Raspbian 12 with kernel 6.6 or newer. # Post installation clean-up for Ubuntu 22.04 Server LTS - You probably don't need WiFi. Disable it by adding `dtoverlay=disable-wifi` to `/boot/firmware/config.txt` diff --git a/install.sh b/install.sh index 84e9092..51e2550 100755 --- a/install.sh +++ b/install.sh @@ -34,16 +34,8 @@ cat << "EOF" /_____\__,_|_|\__,_| \/ \/ \___||___/\__| |_| |_| |_| EOF -# Hi! Let's check the OS -os_name=$(grep '^NAME=' /etc/os-release | cut -d'=' -f2 | tr -d '"') -os_codename=$(grep '^UBUNTU_CODENAME=' /etc/os-release | cut -d'=' -f2 | tr -d '"') - -if [[ "$os_name" == "Ubuntu" && "$os_codename" == "jammy" ]]; then - echo -e "${GREEN}⎎ Audio encoder set-up for Raspberry Pi${NC}\n" -else - echo -e "${RED}This script only supports Ubuntu 22.04 LTS! Exiting...${NC}\n" >&2 - exit 1 -fi +# Hi! +echo -e "${GREEN}⎎ Audio encoder set-up for Raspberry Pi${NC}\n" # Check if the HiFiBerry is configured if [ ! -f "/boot/config.txt" ] || ! grep -q "^dtoverlay=hifiberry" "/boot/config.txt"; then