From 02a32ca512f302d3121a184f0a349f0a2d02a9c1 Mon Sep 17 00:00:00 2001 From: "Cameron (3539)" Date: Wed, 12 Jun 2024 18:40:49 -0400 Subject: [PATCH 01/21] Bump orangepi versions to 24.04 Fixes https://github.com/PhotonVision/photonvision/issues/1307 --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ed9439e..6d68daa 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,10 +29,10 @@ jobs: base_image: https://downloads.raspberrypi.com/raspios_lite_arm64/images/raspios_lite_arm64-2024-03-15/2024-03-15-raspios-bookworm-arm64-lite.img.xz - name: opi5 script: ./install_opi5.sh - base_image: https://github.com/Joshua-Riek/ubuntu-rockchip/releases/download/v1.33/ubuntu-22.04.3-preinstalled-server-arm64-orangepi-5.img.xz + base_image: https://github.com/Joshua-Riek/ubuntu-rockchip/releases/download/v2.1.0/ubuntu-24.04-preinstalled-server-arm64-orangepi-5.img.xz - name: opi5plus script: ./install_opi5.sh - base_image: https://github.com/Joshua-Riek/ubuntu-rockchip/releases/download/v1.33/ubuntu-22.04.3-preinstalled-server-arm64-orangepi-5-plus.img.xz + base_image: https://github.com/Joshua-Riek/ubuntu-rockchip/releases/download/v2.1.0/ubuntu-24.04-preinstalled-desktop-arm64-orangepi-5-plus.img.xz name: "Build for ${{ matrix.name }}" From 2d169cac49c045a349b7d42881c9e2dc13d1b049 Mon Sep 17 00:00:00 2001 From: "Cameron (3539)" Date: Wed, 12 Jun 2024 19:01:02 -0400 Subject: [PATCH 02/21] oops --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6d68daa..9620fa8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -32,7 +32,7 @@ jobs: base_image: https://github.com/Joshua-Riek/ubuntu-rockchip/releases/download/v2.1.0/ubuntu-24.04-preinstalled-server-arm64-orangepi-5.img.xz - name: opi5plus script: ./install_opi5.sh - base_image: https://github.com/Joshua-Riek/ubuntu-rockchip/releases/download/v2.1.0/ubuntu-24.04-preinstalled-desktop-arm64-orangepi-5-plus.img.xz + base_image: https://github.com/Joshua-Riek/ubuntu-rockchip/releases/download/v2.1.0/ubuntu-22.04-preinstalled-server-arm64-orangepi-5-plus.img.xz name: "Build for ${{ matrix.name }}" From 250fcc05af6720b95b93fc9ad4c205ffcafa62ff Mon Sep 17 00:00:00 2001 From: "Cameron (3539)" Date: Wed, 12 Jun 2024 19:01:50 -0400 Subject: [PATCH 03/21] double oops... there are to many to pick from! --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9620fa8..3103905 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -32,7 +32,7 @@ jobs: base_image: https://github.com/Joshua-Riek/ubuntu-rockchip/releases/download/v2.1.0/ubuntu-24.04-preinstalled-server-arm64-orangepi-5.img.xz - name: opi5plus script: ./install_opi5.sh - base_image: https://github.com/Joshua-Riek/ubuntu-rockchip/releases/download/v2.1.0/ubuntu-22.04-preinstalled-server-arm64-orangepi-5-plus.img.xz + base_image: https://github.com/Joshua-Riek/ubuntu-rockchip/releases/download/v2.1.0/ubuntu-24.04-preinstalled-server-arm64-orangepi-5-plus.img.xz name: "Build for ${{ matrix.name }}" From 7fbe60d4bf776a3eb4800d061b164f400fe52b53 Mon Sep 17 00:00:00 2001 From: "Cameron (3539)" Date: Wed, 12 Jun 2024 19:58:50 -0400 Subject: [PATCH 04/21] Add libc6 and libstdc++6 --- install_opi5.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install_opi5.sh b/install_opi5.sh index ae43ad9..201ac53 100755 --- a/install_opi5.sh +++ b/install_opi5.sh @@ -33,6 +33,7 @@ sudo apt-get update apt-get install -y network-manager net-tools libatomic1 # mrcal stuff apt-get install -y libcholmod3 liblapack3 libsuitesparseconfig5 +apt-get install -y libc6 libstdc++6 cat > /etc/netplan/00-default-nm-renderer.yaml < Date: Sat, 22 Jun 2024 20:57:13 -0500 Subject: [PATCH 05/21] Latest version from Joshua Riek --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3103905..6406a8f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,7 +29,7 @@ jobs: base_image: https://downloads.raspberrypi.com/raspios_lite_arm64/images/raspios_lite_arm64-2024-03-15/2024-03-15-raspios-bookworm-arm64-lite.img.xz - name: opi5 script: ./install_opi5.sh - base_image: https://github.com/Joshua-Riek/ubuntu-rockchip/releases/download/v2.1.0/ubuntu-24.04-preinstalled-server-arm64-orangepi-5.img.xz + base_image: https://github.com/Joshua-Riek/ubuntu-rockchip/releases/download/v2.2.1/ubuntu-24.04-preinstalled-server-arm64-orangepi-5.img.xz - name: opi5plus script: ./install_opi5.sh base_image: https://github.com/Joshua-Riek/ubuntu-rockchip/releases/download/v2.1.0/ubuntu-24.04-preinstalled-server-arm64-orangepi-5-plus.img.xz From c8b272d122bdf5105a7a785e7a68964c49289a6d Mon Sep 17 00:00:00 2001 From: Craig Schardt Date: Sat, 22 Jun 2024 20:58:05 -0500 Subject: [PATCH 06/21] Comment out images that aren't needed for testing the OPi build --- .github/workflows/main.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6406a8f..2e4fd8f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,24 +15,24 @@ jobs: fail-fast: false matrix: include: - - name: limelight - script: ./install_limelight.sh - base_image: https://downloads.raspberrypi.com/raspios_lite_arm64/images/raspios_lite_arm64-2024-03-15/2024-03-15-raspios-bookworm-arm64-lite.img.xz - - name: limelight3 - script: ./install_limelight3.sh - base_image: https://downloads.raspberrypi.com/raspios_lite_arm64/images/raspios_lite_arm64-2024-03-15/2024-03-15-raspios-bookworm-arm64-lite.img.xz - - name: raspi - script: ./install_pi.sh - base_image: https://downloads.raspberrypi.com/raspios_lite_arm64/images/raspios_lite_arm64-2024-03-15/2024-03-15-raspios-bookworm-arm64-lite.img.xz - - name: snakeyes - script: ./install_snakeyes.sh - base_image: https://downloads.raspberrypi.com/raspios_lite_arm64/images/raspios_lite_arm64-2024-03-15/2024-03-15-raspios-bookworm-arm64-lite.img.xz + # - name: limelight + # script: ./install_limelight.sh + # base_image: https://downloads.raspberrypi.com/raspios_lite_arm64/images/raspios_lite_arm64-2024-03-15/2024-03-15-raspios-bookworm-arm64-lite.img.xz + # - name: limelight3 + # script: ./install_limelight3.sh + # base_image: https://downloads.raspberrypi.com/raspios_lite_arm64/images/raspios_lite_arm64-2024-03-15/2024-03-15-raspios-bookworm-arm64-lite.img.xz + # - name: raspi + # script: ./install_pi.sh + # base_image: https://downloads.raspberrypi.com/raspios_lite_arm64/images/raspios_lite_arm64-2024-03-15/2024-03-15-raspios-bookworm-arm64-lite.img.xz + # - name: snakeyes + # script: ./install_snakeyes.sh + # base_image: https://downloads.raspberrypi.com/raspios_lite_arm64/images/raspios_lite_arm64-2024-03-15/2024-03-15-raspios-bookworm-arm64-lite.img.xz - name: opi5 script: ./install_opi5.sh base_image: https://github.com/Joshua-Riek/ubuntu-rockchip/releases/download/v2.2.1/ubuntu-24.04-preinstalled-server-arm64-orangepi-5.img.xz - - name: opi5plus - script: ./install_opi5.sh - base_image: https://github.com/Joshua-Riek/ubuntu-rockchip/releases/download/v2.1.0/ubuntu-24.04-preinstalled-server-arm64-orangepi-5-plus.img.xz + # - name: opi5plus + # script: ./install_opi5.sh + # base_image: https://github.com/Joshua-Riek/ubuntu-rockchip/releases/download/v2.1.0/ubuntu-24.04-preinstalled-server-arm64-orangepi-5-plus.img.xz name: "Build for ${{ matrix.name }}" From bc63f4a4bfb4bf51ff0d6fdf76db6e2572b4c1ad Mon Sep 17 00:00:00 2001 From: Craig Schardt Date: Wed, 3 Jul 2024 19:42:54 -0500 Subject: [PATCH 07/21] enable all images --- .github/workflows/main.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2e4fd8f..6406a8f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,24 +15,24 @@ jobs: fail-fast: false matrix: include: - # - name: limelight - # script: ./install_limelight.sh - # base_image: https://downloads.raspberrypi.com/raspios_lite_arm64/images/raspios_lite_arm64-2024-03-15/2024-03-15-raspios-bookworm-arm64-lite.img.xz - # - name: limelight3 - # script: ./install_limelight3.sh - # base_image: https://downloads.raspberrypi.com/raspios_lite_arm64/images/raspios_lite_arm64-2024-03-15/2024-03-15-raspios-bookworm-arm64-lite.img.xz - # - name: raspi - # script: ./install_pi.sh - # base_image: https://downloads.raspberrypi.com/raspios_lite_arm64/images/raspios_lite_arm64-2024-03-15/2024-03-15-raspios-bookworm-arm64-lite.img.xz - # - name: snakeyes - # script: ./install_snakeyes.sh - # base_image: https://downloads.raspberrypi.com/raspios_lite_arm64/images/raspios_lite_arm64-2024-03-15/2024-03-15-raspios-bookworm-arm64-lite.img.xz + - name: limelight + script: ./install_limelight.sh + base_image: https://downloads.raspberrypi.com/raspios_lite_arm64/images/raspios_lite_arm64-2024-03-15/2024-03-15-raspios-bookworm-arm64-lite.img.xz + - name: limelight3 + script: ./install_limelight3.sh + base_image: https://downloads.raspberrypi.com/raspios_lite_arm64/images/raspios_lite_arm64-2024-03-15/2024-03-15-raspios-bookworm-arm64-lite.img.xz + - name: raspi + script: ./install_pi.sh + base_image: https://downloads.raspberrypi.com/raspios_lite_arm64/images/raspios_lite_arm64-2024-03-15/2024-03-15-raspios-bookworm-arm64-lite.img.xz + - name: snakeyes + script: ./install_snakeyes.sh + base_image: https://downloads.raspberrypi.com/raspios_lite_arm64/images/raspios_lite_arm64-2024-03-15/2024-03-15-raspios-bookworm-arm64-lite.img.xz - name: opi5 script: ./install_opi5.sh base_image: https://github.com/Joshua-Riek/ubuntu-rockchip/releases/download/v2.2.1/ubuntu-24.04-preinstalled-server-arm64-orangepi-5.img.xz - # - name: opi5plus - # script: ./install_opi5.sh - # base_image: https://github.com/Joshua-Riek/ubuntu-rockchip/releases/download/v2.1.0/ubuntu-24.04-preinstalled-server-arm64-orangepi-5-plus.img.xz + - name: opi5plus + script: ./install_opi5.sh + base_image: https://github.com/Joshua-Riek/ubuntu-rockchip/releases/download/v2.1.0/ubuntu-24.04-preinstalled-server-arm64-orangepi-5-plus.img.xz name: "Build for ${{ matrix.name }}" From f7d04e082d3411c1a388fd1fe9c7828bc59576cf Mon Sep 17 00:00:00 2001 From: Craig Schardt Date: Wed, 3 Jul 2024 19:58:31 -0500 Subject: [PATCH 08/21] update checkout runner --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6406a8f..75ae13b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -37,7 +37,7 @@ jobs: name: "Build for ${{ matrix.name }}" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Fetch tags From eb3cac350f5600e8dc38d2094495d71d1eab7b01 Mon Sep 17 00:00:00 2001 From: Craig Schardt Date: Wed, 3 Jul 2024 20:01:13 -0500 Subject: [PATCH 09/21] master was a very old branch --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 75ae13b..356133d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -58,7 +58,7 @@ jobs: mv ${{ steps.install_deps.outputs.image }} photonvision_${{ matrix.name }}.img sudo xz -T 0 -v photonvision_${{ matrix.name }}.img - - uses: actions/upload-artifact@master + - uses: actions/upload-artifact@v4 with: name: photonvision_${{ matrix.name }}.img.xz path: photonvision_${{ matrix.name }}.img.xz From 43115a2c1249e4095693bd252d38bcddcea2ff5b Mon Sep 17 00:00:00 2001 From: Craig Schardt Date: Wed, 3 Jul 2024 20:04:49 -0500 Subject: [PATCH 10/21] pin all runners to specific versions to avoid reversions and breaking changes --- .github/workflows/main.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 356133d..4f1c30c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -37,7 +37,7 @@ jobs: name: "Build for ${{ matrix.name }}" steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4.3.3 with: fetch-depth: 0 - name: Fetch tags @@ -58,7 +58,7 @@ jobs: mv ${{ steps.install_deps.outputs.image }} photonvision_${{ matrix.name }}.img sudo xz -T 0 -v photonvision_${{ matrix.name }}.img - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v4.3.3 with: name: photonvision_${{ matrix.name }}.img.xz path: photonvision_${{ matrix.name }}.img.xz @@ -70,10 +70,10 @@ jobs: runs-on: ubuntu-22.04 steps: # Download literally every single artifact - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v4.1.7 - run: find # Push to dev release - - uses: pyTooling/Actions/releaser@r0 + - uses: pyTooling/Actions/releaser@v1.0.5 with: token: ${{ secrets.GITHUB_TOKEN }} tag: 'Dev' @@ -82,7 +82,7 @@ jobs: **/*.xz if: github.event_name == 'push' # Upload all xz archives to GH tag if tagged - - uses: softprops/action-gh-release@v1 + - uses: softprops/action-gh-release@v2.0.6 with: files: | **/*.xz From 80066b369a9037ff0b8b131e7f194e3335ae6f0e Mon Sep 17 00:00:00 2001 From: Craig Schardt Date: Wed, 3 Jul 2024 20:07:30 -0500 Subject: [PATCH 11/21] typo in one runner --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4f1c30c..66e96f6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -37,7 +37,7 @@ jobs: name: "Build for ${{ matrix.name }}" steps: - - uses: actions/checkout@v4.3.3 + - uses: actions/checkout@v4.1.7 with: fetch-depth: 0 - name: Fetch tags From b888d74699fe23bfc97dae8d7693504478c9470d Mon Sep 17 00:00:00 2001 From: Craig Schardt Date: Wed, 3 Jul 2024 20:10:58 -0500 Subject: [PATCH 12/21] try to fix OPi errors in arm-runner-action --- install_opi5.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_opi5.sh b/install_opi5.sh index 201ac53..0ff2b6a 100755 --- a/install_opi5.sh +++ b/install_opi5.sh @@ -23,7 +23,7 @@ rm install.sh # Remove extra packages echo "Purging extra things" -apt-get remove -y gdb gcc g++ linux-headers* libgcc*-dev +# apt-get remove -y gdb gcc g++ linux-headers* libgcc*-dev apt-get remove -y snapd apt-get autoremove -y From f6155fd72c991a8bd0eb3a6c7e614a2e3a9bb2a0 Mon Sep 17 00:00:00 2001 From: Craig Schardt Date: Wed, 3 Jul 2024 23:56:45 -0500 Subject: [PATCH 13/21] add jammy to list of sources on 24.04 --- install_opi5.sh | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/install_opi5.sh b/install_opi5.sh index 0ff2b6a..e6bc9b4 100755 --- a/install_opi5.sh +++ b/install_opi5.sh @@ -11,13 +11,25 @@ else fi echo "pi:raspberry" | chpasswd +if [[ $(lsb_release -rs | tail -n1) == "24.04" ]]; then + # add jammy to apt sources + echo "Adding jammy to list of apt sources" + cat > /etc/apt/sources.list.d/jammy.sources < Date: Wed, 3 Jul 2024 23:59:07 -0500 Subject: [PATCH 14/21] network management is caussing boot problems --- install_opi5.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/install_opi5.sh b/install_opi5.sh index e6bc9b4..54e1994 100755 --- a/install_opi5.sh +++ b/install_opi5.sh @@ -47,10 +47,10 @@ apt-get install -y network-manager net-tools libatomic1 apt-get install -y libcholmod3 liblapack3 libsuitesparseconfig5 apt-get install -y libc6 libstdc++6 -cat > /etc/netplan/00-default-nm-renderer.yaml < /etc/netplan/00-default-nm-renderer.yaml < Date: Thu, 4 Jul 2024 00:00:07 -0500 Subject: [PATCH 15/21] don't remove snapd until the snaps are removed --- install_opi5.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_opi5.sh b/install_opi5.sh index 54e1994..ef42a10 100755 --- a/install_opi5.sh +++ b/install_opi5.sh @@ -36,7 +36,7 @@ rm install.sh # Remove extra packages echo "Purging extra things" # apt-get remove -y gdb gcc g++ linux-headers* libgcc*-dev -apt-get remove -y snapd +# apt-get remove -y snapd apt-get autoremove -y From a45e3af6c65ee3bed579dc5045b176535c38c3f7 Mon Sep 17 00:00:00 2001 From: Craig Schardt Date: Thu, 4 Jul 2024 00:07:50 -0500 Subject: [PATCH 16/21] better test for chroot --- install_opi5.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_opi5.sh b/install_opi5.sh index ef42a10..cabba34 100755 --- a/install_opi5.sh +++ b/install_opi5.sh @@ -11,7 +11,7 @@ else fi echo "pi:raspberry" | chpasswd -if [[ $(lsb_release -rs | tail -n1) == "24.04" ]]; then +if [[ $(cat /etc/lsb-release | grep -c "24.04") gt 0 ]]; then # add jammy to apt sources echo "Adding jammy to list of apt sources" cat > /etc/apt/sources.list.d/jammy.sources < Date: Thu, 4 Jul 2024 00:13:54 -0500 Subject: [PATCH 17/21] if syntax --- install_opi5.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_opi5.sh b/install_opi5.sh index cabba34..3ca9490 100755 --- a/install_opi5.sh +++ b/install_opi5.sh @@ -11,7 +11,7 @@ else fi echo "pi:raspberry" | chpasswd -if [[ $(cat /etc/lsb-release | grep -c "24.04") gt 0 ]]; then +if [ $(cat /etc/lsb-release | grep -c "24.04") -gt 0 ]; then # add jammy to apt sources echo "Adding jammy to list of apt sources" cat > /etc/apt/sources.list.d/jammy.sources < Date: Thu, 4 Jul 2024 00:28:33 -0500 Subject: [PATCH 18/21] try add-apt-repository --- install_opi5.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install_opi5.sh b/install_opi5.sh index 3ca9490..d5f2bb6 100755 --- a/install_opi5.sh +++ b/install_opi5.sh @@ -14,6 +14,8 @@ echo "pi:raspberry" | chpasswd if [ $(cat /etc/lsb-release | grep -c "24.04") -gt 0 ]; then # add jammy to apt sources echo "Adding jammy to list of apt sources" + add-apt-repository -S 'deb http://ports.ubuntu.com/ubuntu-ports jammy universe' + cat > /etc/apt/sources.list.d/jammy.sources < Date: Thu, 4 Jul 2024 00:37:31 -0500 Subject: [PATCH 19/21] forgot main --- install_opi5.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_opi5.sh b/install_opi5.sh index d5f2bb6..1e7b525 100755 --- a/install_opi5.sh +++ b/install_opi5.sh @@ -14,7 +14,7 @@ echo "pi:raspberry" | chpasswd if [ $(cat /etc/lsb-release | grep -c "24.04") -gt 0 ]; then # add jammy to apt sources echo "Adding jammy to list of apt sources" - add-apt-repository -S 'deb http://ports.ubuntu.com/ubuntu-ports jammy universe' + add-apt-repository -S 'deb http://ports.ubuntu.com/ubuntu-ports jammy main universe' cat > /etc/apt/sources.list.d/jammy.sources < Date: Thu, 4 Jul 2024 00:39:32 -0500 Subject: [PATCH 20/21] put it at the end --- install_opi5.sh | 37 +++++++++++++++++++++---------------- 1 file changed, 21 insertions(+), 16 deletions(-) diff --git a/install_opi5.sh b/install_opi5.sh index 1e7b525..241bc9a 100755 --- a/install_opi5.sh +++ b/install_opi5.sh @@ -11,20 +11,6 @@ else fi echo "pi:raspberry" | chpasswd -if [ $(cat /etc/lsb-release | grep -c "24.04") -gt 0 ]; then - # add jammy to apt sources - echo "Adding jammy to list of apt sources" - add-apt-repository -S 'deb http://ports.ubuntu.com/ubuntu-ports jammy main universe' - - cat > /etc/apt/sources.list.d/jammy.sources < /etc/netplan/00-default-nm-renderer.yaml < /etc/apt/sources.list.d/jammy.sources < Date: Thu, 4 Jul 2024 00:54:44 -0500 Subject: [PATCH 21/21] no need to write the file --- install_opi5.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/install_opi5.sh b/install_opi5.sh index 241bc9a..8c5f004 100755 --- a/install_opi5.sh +++ b/install_opi5.sh @@ -43,14 +43,6 @@ if [ $(cat /etc/lsb-release | grep -c "24.04") -gt 0 ]; then # add jammy to apt sources echo "Adding jammy to list of apt sources" add-apt-repository -y -S 'deb http://ports.ubuntu.com/ubuntu-ports jammy main universe' - - cat > /etc/apt/sources.list.d/jammy.sources <