diff --git a/.github/workflows/launchpad-oibaf-graphics.yml b/.github/workflows/external-oibaf-graphics.yml similarity index 88% rename from .github/workflows/launchpad-oibaf-graphics.yml rename to .github/workflows/external-oibaf-graphics.yml index e6a93ee..b8fc2b8 100644 --- a/.github/workflows/launchpad-oibaf-graphics.yml +++ b/.github/workflows/external-oibaf-graphics.yml @@ -1,4 +1,4 @@ -name: PikaOS Launchpad Oibaf Graphics Build Deps Sync +name: PikaOS external Oibaf Graphics Build Deps Sync on: workflow_dispatch @@ -31,7 +31,7 @@ jobs: if_key_exists: replace - name: Sync Repository - run: chmod +x ./launchpad-oibaf-graphics.sh && ./launchpad-oibaf-graphics.sh + run: chmod +x ./external-oibaf-graphics.sh && ./external-oibaf-graphics.sh - name: Purge cache uses: jakejarvis/cloudflare-purge-action@master diff --git a/launchpad-oibaf-graphics.sh b/external-oibaf-graphics.sh similarity index 77% rename from launchpad-oibaf-graphics.sh rename to external-oibaf-graphics.sh index bd05e76..6f6cb21 100644 --- a/launchpad-oibaf-graphics.sh +++ b/external-oibaf-graphics.sh @@ -2,27 +2,27 @@ set -e # Oibaf Graphics MIRROR -mkdir -p ./output/launchpad-oibaf-graphics -cd ./output/launchpad-oibaf-graphics -# launchpad-oibaf-graphics directx-headers dir +mkdir -p ./output/external-oibaf-graphics +cd ./output/external-oibaf-graphics +# external-oibaf-graphics directx-headers dir mkdir -p ./directx-headers cd ./directx-headers wget --recursive --no-parent -R "*arm64.deb,*armhf.deb,*ppc64el.deb,*s390x.deb" -A "*oibaf~l*" -m https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu/pool/main/d/directx-headers/ # Return to Oibaf Graphics MIRROR cd ../ -# launchpad-oibaf-graphics drm dir +# external-oibaf-graphics drm dir mkdir -p ./drm cd ./drm wget --recursive --no-parent -R "*arm64.deb,*armhf.deb,*ppc64el.deb,*s390x.deb" -A "*oibaf~l*" -m https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu/pool/main/libd/libdrm/ # Return to Oibaf Graphics MIRROR cd ../ -# launchpad-oibaf-graphics meson dir +# external-oibaf-graphics meson dir mkdir -p ./meson cd ./meson wget --recursive --no-parent -R "*arm64.deb,*armhf.deb,*ppc64el.deb,*s390x.deb" -A "*oibaf~l*" -m https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu/pool/main/m/meson/ # Return to Oibaf Graphics MIRROR cd ../ -# launchpad-oibaf-graphics spirv dir +# external-oibaf-graphics spirv dir mkdir -p ./spirv cd ./spirv wget --recursive --no-parent -R "*arm64.deb,*armhf.deb,*ppc64el.deb,*s390x.deb" -A "*oibaf~l*" -m https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu/pool/main/s/ @@ -37,16 +37,16 @@ dpkg-sig --sign builder ./output/*.deb # Pull down existing ppa repo db files etc rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo -# Check if the launchpad component exists -if cat ./output/repo/conf/distributions | grep Components: | grep launchpad +# Check if the external component exists +if cat ./output/repo/conf/distributions | grep Components: | grep external then true else - sed -i "s#Components:#Components: launchpad#" ./output/repo/conf/distributions + sed -i "s#Components:#Components: external#" ./output/repo/conf/distributions fi # Add the new package to the repo -reprepro -C launchpad -V --basedir ./output/repo/ includedeb lunar ./output/*.deb +reprepro -C external -V --basedir ./output/repo/ includedeb lunar ./output/*.deb # Push the updated ppa repo to the server rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/