From 6785ae76ca1709ef2cf9d65f8a0e24fe454d3f4c Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Fri, 5 Apr 2024 23:25:45 +0000 Subject: [PATCH] Add packages for L4T Noble --- Dockerfile.l4t.noble | 28 ++++++++++++++++++++++++++++ build-l4t-noble.sh | 4 ++++ do-release.sh | 3 +++ push-images.sh | 2 ++ 4 files changed, 37 insertions(+) create mode 100644 Dockerfile.l4t.noble create mode 100755 build-l4t-noble.sh diff --git a/Dockerfile.l4t.noble b/Dockerfile.l4t.noble new file mode 100644 index 0000000..a40c190 --- /dev/null +++ b/Dockerfile.l4t.noble @@ -0,0 +1,28 @@ +FROM arm64v8/ubuntu:noble + +ENV TARGET=l4t +ENV DISTRO=noble + +COPY scripts/install-base-deps.sh /opt/scripts/ +RUN /bin/bash -c /opt/scripts/install-base-deps.sh && \ + echo "deb https://theofficialgman.github.io/l4t-debs/ l4t $DISTRO" >> /etc/apt/sources.list && \ + apt-key adv --fetch-key https://theofficialgman.github.io/l4t-debs/pgp-key.public && \ + mkdir -p /opt/nvidia/l4t-packages/ && \ + echo >> /opt/nvidia/l4t-packages/.nv-l4t-disable-boot-fw-update-in-preinstall && \ + apt-get update && \ + apt-get install -y -o Dpkg::Options::="--force-confold" libv4l-dev nvidia-bsp-32-3 nvidia-l4t-multimedia-utils && \ + apt-get clean -y && \ + rm -rf /var/lib/apt/lists/* + +COPY dav1d /opt/dav1d +COPY FFmpeg-l4t-new /opt/FFmpeg +COPY SDL2 /opt/SDL2 +COPY SDL_ttf /opt/SDL_ttf + +COPY scripts/build-deps.sh /opt/scripts/ +RUN /bin/bash -c /opt/scripts/build-deps.sh + +COPY scripts/build-package.sh /opt/scripts/ + +VOLUME "/out" +ENTRYPOINT [ "/bin/bash", "-c", "/opt/scripts/build-package.sh" ] diff --git a/build-l4t-noble.sh b/build-l4t-noble.sh new file mode 100755 index 0000000..c3d9735 --- /dev/null +++ b/build-l4t-noble.sh @@ -0,0 +1,4 @@ +TARGET_NAME="l4t-noble" +DOCKERFILE="Dockerfile.l4t.noble" + +. ./build-common.sh diff --git a/do-release.sh b/do-release.sh index 6c68f5e..051f3f1 100755 --- a/do-release.sh +++ b/do-release.sh @@ -13,6 +13,7 @@ set -e # Build the packages ./build-l4t-bionic.sh $1 & +./build-l4t-noble.sh $1 & ./build-rpi-buster.sh $1 & ./build-rpi64-buster.sh $1 & ./build-armhf-bullseye.sh $1 & @@ -29,6 +30,7 @@ wait # Push the moonlight-qt packages to Cloudsmith repos cloudsmith push deb moonlight-game-streaming/moonlight-l4t/ubuntu/bionic out_l4t-bionic/moonlight-qt_*.deb cloudsmith push deb moonlight-game-streaming/moonlight-l4t/ubuntu/jammy out_l4t-jammy/moonlight-qt_*.deb +cloudsmith push deb moonlight-game-streaming/moonlight-l4t/ubuntu/noble out_l4t-noble/moonlight-qt_*.deb cloudsmith push deb moonlight-game-streaming/moonlight-qt/raspbian/buster out_rpi-buster/moonlight-qt_*.deb cloudsmith push deb moonlight-game-streaming/moonlight-qt/raspbian/bullseye out_rpi-buster/moonlight-qt_*.deb cloudsmith push deb moonlight-game-streaming/moonlight-qt/raspbian/bookworm out_rpi-bookworm/moonlight-qt_*.deb @@ -44,6 +46,7 @@ cloudsmith push deb moonlight-game-streaming/moonlight-qt/debian/sid out_riscv64 # Push the moonlight-qt-dbgsym packages to Cloudsmith repos cloudsmith push deb moonlight-game-streaming/moonlight-l4t/ubuntu/bionic out_l4t-bionic/moonlight-qt-dbgsym_*.ddeb cloudsmith push deb moonlight-game-streaming/moonlight-l4t/ubuntu/jammy out_l4t-jammy/moonlight-qt-dbgsym_*.ddeb +cloudsmith push deb moonlight-game-streaming/moonlight-l4t/ubuntu/noble out_l4t-noble/moonlight-qt-dbgsym_*.ddeb cloudsmith push deb moonlight-game-streaming/moonlight-qt/raspbian/buster out_rpi-buster/moonlight-qt-dbgsym_*.deb cloudsmith push deb moonlight-game-streaming/moonlight-qt/raspbian/bullseye out_rpi-buster/moonlight-qt-dbgsym_*.deb cloudsmith push deb moonlight-game-streaming/moonlight-qt/raspbian/bookworm out_rpi-bookworm/moonlight-qt-dbgsym_*.deb diff --git a/push-images.sh b/push-images.sh index 4ae1cf6..712f334 100755 --- a/push-images.sh +++ b/push-images.sh @@ -15,6 +15,7 @@ docker build --pull -f Dockerfile.rpi64.buster -t cgutman/moonlight-packaging:rp docker build --pull -f Dockerfile.rpi.bookworm -t cgutman/moonlight-packaging:rpi-bookworm_$TAG_UNIQUE_ID . & docker build --pull -f Dockerfile.rpi64.bookworm -t cgutman/moonlight-packaging:rpi64-bookworm_$TAG_UNIQUE_ID . & docker build --pull -f Dockerfile.l4t.bionic -t cgutman/moonlight-packaging:l4t-bionic_$TAG_UNIQUE_ID . & +docker build --pull -f Dockerfile.l4t.noble -t cgutman/moonlight-packaging:l4t-noble_$TAG_UNIQUE_ID . & wait docker build --pull -f Dockerfile.aarch64.bullseye -t cgutman/moonlight-packaging:aarch64-bullseye_$TAG_UNIQUE_ID . & docker build --pull -f Dockerfile.aarch64.bookworm -t cgutman/moonlight-packaging:aarch64-bookworm_$TAG_UNIQUE_ID . & @@ -30,6 +31,7 @@ docker push cgutman/moonlight-packaging:rpi-bookworm_$TAG_UNIQUE_ID docker push cgutman/moonlight-packaging:rpi64-bookworm_$TAG_UNIQUE_ID docker push cgutman/moonlight-packaging:l4t-bionic_$TAG_UNIQUE_ID docker push cgutman/moonlight-packaging:l4t-jammy_$TAG_UNIQUE_ID +docker push cgutman/moonlight-packaging:l4t-noble_$TAG_UNIQUE_ID docker push cgutman/moonlight-packaging:armhf-bullseye_$TAG_UNIQUE_ID docker push cgutman/moonlight-packaging:armhf-bookworm_$TAG_UNIQUE_ID docker push cgutman/moonlight-packaging:aarch64-bullseye_$TAG_UNIQUE_ID