Add mantic for all except wine
This commit is contained in:
parent
f8c57a9d65
commit
a911dc7fa2
2
.github/workflows/external-lunarg-vulkan.yml
vendored
2
.github/workflows/external-lunarg-vulkan.yml
vendored
@ -42,5 +42,3 @@ jobs:
|
||||
CLOUDFLARE_ZONE: ${{ secrets.CLOUDFLARE_ZONE }}
|
||||
|
||||
CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }}
|
||||
PURGE_URLS: ${{ vars.PURGE_URLS }}
|
||||
|
||||
|
2
.github/workflows/external-steam.yml
vendored
2
.github/workflows/external-steam.yml
vendored
@ -42,5 +42,3 @@ jobs:
|
||||
CLOUDFLARE_ZONE: ${{ secrets.CLOUDFLARE_ZONE }}
|
||||
|
||||
CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }}
|
||||
PURGE_URLS: ${{ vars.PURGE_URLS }}
|
||||
|
||||
|
1
.github/workflows/external-xtradeb.yml
vendored
1
.github/workflows/external-xtradeb.yml
vendored
@ -42,5 +42,4 @@ jobs:
|
||||
CLOUDFLARE_ZONE: ${{ secrets.CLOUDFLARE_ZONE }}
|
||||
|
||||
CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }}
|
||||
PURGE_URLS: ${{ vars.PURGE_URLS }}
|
||||
|
||||
|
67
amdgpu.sh
67
amdgpu.sh
@ -50,7 +50,7 @@ do
|
||||
mkdir $i-tmp
|
||||
dpkg-deb -R $i $i-tmp
|
||||
cat $i-tmp/DEBIAN/control | grep Version: | head -n1 | cut -d":" -f2- | tr -d ' ' > $i-version
|
||||
sed -i "s#$(cat $i-version)#$(cat $i-version)-pika$(date +"%Y%m%d").lunar3#g" $i-tmp/DEBIAN/control
|
||||
sed -i "s#$(cat $i-version)#$(cat $i-version)-pika$(date +"%Y%m%d").lunar4#g" $i-tmp/DEBIAN/control
|
||||
dpkg-deb -b $i-tmp $i-"$(date +"%Y%m%d")"-fixed.deb
|
||||
done
|
||||
cd ../
|
||||
@ -64,3 +64,68 @@ ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-
|
||||
|
||||
# publish the repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'
|
||||
|
||||
cd ../
|
||||
|
||||
mkdir -p ./outputmantic/amdgpu
|
||||
cd ./outputmantic/amdgpu
|
||||
# amdgpu drm dir
|
||||
mkdir -p ./libd
|
||||
cd ./libd
|
||||
wget --recursive --no-parent -R "*20.04*.deb" -A "*" -m http://repo.radeon.com/amdgpu/5.7/ubuntu/pool/main/libd/
|
||||
# Return to AMDGPU MIRROR
|
||||
cd ../
|
||||
# amdgpu mesa dir (depends only)
|
||||
mkdir -p ./mesa
|
||||
cd ./mesa
|
||||
wget --recursive --no-parent -R "*20.04*.deb" -A "*" -m http://repo.radeon.com/amdgpu/5.7/ubuntu/pool/main/m/mesa-amdgpu/
|
||||
# Return to AMDGPU MIRROR
|
||||
cd ../
|
||||
# amdgpu wayland dir (depends only)
|
||||
mkdir -p ./wayland-amdgpu
|
||||
cd ./wayland-amdgpu
|
||||
wget --recursive --no-parent -R "*20.04*.deb" -A "*" -m http://repo.radeon.com/amdgpu/5.7/ubuntu/pool/main/w/wayland-amdgpu/
|
||||
# Return to AMDGPU MIRROR
|
||||
cd ../
|
||||
# amdgpu wayland protocols dir (depends only)
|
||||
mkdir -p ./wayland-protocols-amdgpu
|
||||
cd ./wayland-protocols-amdgpu
|
||||
wget --recursive --no-parent -R "*20.04*.deb" -A "*" -m http://repo.radeon.com/amdgpu/5.7/ubuntu/pool/main/w/wayland-protocols-amdgpu/
|
||||
# Return to AMDGPU MIRROR
|
||||
cd ../
|
||||
# amdgpu proprietary dir
|
||||
mkdir -p ./proprietary
|
||||
cd ./proprietary
|
||||
wget --recursive --no-parent -R "*20.04*.deb" -A "*" -m https://repo.radeon.com/amdgpu/5.7/ubuntu/pool/proprietary/
|
||||
# Return to AMDGPU MIRROR
|
||||
cd ../
|
||||
# amdgpu-dkms-firmware dir
|
||||
mkdir -p ./amdgpu-dkms-firmware
|
||||
cd ./amdgpu-dkms-firmware
|
||||
wget http://repo.radeon.com/amdgpu/5.7/ubuntu/pool/main/a/amdgpu-dkms/amdgpu-dkms-firmware_6.2.4.50700-1652687.22.04_all.deb
|
||||
# Return to AMDGPU MIRROR
|
||||
cd ../
|
||||
mkdir -p ./outputmantic
|
||||
mkdir -p ./outputmantic-tmp
|
||||
find . -name \*.deb -exec cp -vf {} ./outputmantic-tmp \;
|
||||
|
||||
cd ./outputmantic-tmp
|
||||
for i in ./*.deb
|
||||
do
|
||||
mkdir $i-tmp
|
||||
dpkg-deb -R $i $i-tmp
|
||||
cat $i-tmp/DEBIAN/control | grep Version: | head -n1 | cut -d":" -f2- | tr -d ' ' > $i-version
|
||||
sed -i "s#$(cat $i-version)#$(cat $i-version)-pika$(date +"%Y%m%d").mantic1#g" $i-tmp/DEBIAN/control
|
||||
dpkg-deb -b $i-tmp $i-"$(date +"%Y%m%d")"-fixed.deb
|
||||
done
|
||||
cd ../
|
||||
mv -v ./outputmantic-tmp/*-fixed.deb ./outputmantic/
|
||||
|
||||
# send debs to server
|
||||
rsync -azP ./outputmantic/ ferreo@direct.pika-os.com:/srv/www/incoming/
|
||||
|
||||
# add debs to repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-amdgpu /srv/www/incoming/'
|
||||
|
||||
# publish the repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite mantic filesystem:pikarepo:'
|
||||
|
@ -5,88 +5,17 @@ set -e
|
||||
chmod 755 ./ppp
|
||||
|
||||
# Extranal Kubuntu Backports PPA MIRROR
|
||||
mkdir -p ./output/external
|
||||
cd ./output/external
|
||||
|
||||
# temp
|
||||
apt update
|
||||
apt upgrade -y
|
||||
# end of temp
|
||||
|
||||
#Get rid of Pika sources to prevent conflicts
|
||||
rm -rf /etc/apt/sources.list.d/pika*
|
||||
rm -rf /etc/apt/preferences.d/*pika*
|
||||
|
||||
# Get Extranal Kubuntu Backports PPA pool
|
||||
echo 'deb [trusted=yes] https://ppa.launchpadcontent.net/kubuntu-ppa/backports/ubuntu lunar main' | sudo tee /etc/apt/sources.list.d/external.list
|
||||
|
||||
# Get i386 packages list
|
||||
wget https://ppa.launchpadcontent.net/kubuntu-ppa/backports/ubuntu/dists/lunar/main/binary-i386/Packages.xz -O i386-kubuntu-pkg
|
||||
PKG_I386=$(cat i386-kubuntu-pkg | grep "Package: " | awk '{print $2}' | sort -u )
|
||||
touch ppp32.list
|
||||
for i in $(echo $PKG_I386)
|
||||
do
|
||||
touch /etc/apt/preferences.d/0-external-sync.conf
|
||||
echo 'Package': * > /etc/apt/preferences.d/0-external-sync.conf
|
||||
echo 'Pin: release o=ppa.pika-os.com' >> /etc/apt/preferences.d/0-external-sync.conf
|
||||
echo 'Pin-Priority: 1000' >> /etc/apt/preferences.d/0-external-sync.conf
|
||||
apt-cache show $i | grep 'Version:' | cut -d":" -f2 | head -n1 | sed 's/ //g' > $i-pika-i386
|
||||
rm -rf /etc/apt/preferences.d/0-external-sync.conf
|
||||
apt-cache show $i | grep 'Version:' | cut -d":" -f2 | head -n1 | sed 's/ //g' > $i-external-i386
|
||||
if cat $i-pika-i386 | grep "^"$(cat $i-external-i386)"$"
|
||||
then
|
||||
true
|
||||
else
|
||||
echo $i >> ppp32.list
|
||||
fi
|
||||
done
|
||||
|
||||
# Get amd64 packages list
|
||||
wget https://ppa.launchpadcontent.net/kubuntu-ppa/backports/ubuntu/dists/lunar/main/binary-amd64/Packages.xz -O amd64-kubuntu-pkg
|
||||
PKG_AMD64=$(cat amd64-kubuntu-pkg | grep "Package: " | awk '{print $2}' | sort -u )
|
||||
touch ppp64.list
|
||||
for i in $(echo $PKG_AMD64)
|
||||
do
|
||||
touch /etc/apt/preferences.d/0-external-sync.conf
|
||||
echo 'Package': * > /etc/apt/preferences.d/0-external-sync.conf
|
||||
echo 'Pin: release o=ppa.pika-os.com' >> /etc/apt/preferences.d/0-external-sync.conf
|
||||
echo 'Pin-Priority: 1000' >> /etc/apt/preferences.d/0-external-sync.conf
|
||||
apt-cache show $i | grep 'Version:' | cut -d":" -f2 | head -n1 | sed 's/ //g' > $i-pika-amd64
|
||||
rm -rf /etc/apt/preferences.d/0-external-sync.conf
|
||||
apt-cache show $i | grep 'Version:' | cut -d":" -f2 | head -n1 | sed 's/ //g' > $i-external-amd64
|
||||
if cat $i-pika-amd64 | grep "^"$(cat $i-external-amd64)"$"
|
||||
then
|
||||
true
|
||||
else
|
||||
echo $i >> ppp64.list
|
||||
fi
|
||||
done
|
||||
|
||||
PPP32=$(cat ppp32.list | tr '\n' ' ')
|
||||
if [ ! -z "$PPP32" ]
|
||||
then
|
||||
dpkg --add-architecture i386
|
||||
apt update -o APT::Architecture="i386" -o APT::Architectures="i386" -y --allow-unauthenticated
|
||||
apt download $PPP32 -o APT::Architecture="i386" -o APT::Architectures="i386" -y --target-release 'o=LP-PPA-kubuntu-ppa-backports'
|
||||
rm -rfv ./*all.deb
|
||||
else
|
||||
echo "i386 Repos are synced"
|
||||
fi
|
||||
|
||||
PPP64=$(cat ppp64.list | tr '\n' ' ')
|
||||
if [ ! -z "$PPP64" ]
|
||||
then
|
||||
apt update -o APT::Architecture="amd64" -o APT::Architectures="amd64" -y --allow-unauthenticated
|
||||
apt download $PPP64 -o APT::Architecture="amd64" -o APT::Architectures="amd64" -y --target-release 'o=LP-PPA-kubuntu-ppa-backports'
|
||||
else
|
||||
echo "AMD64 Repos are synced"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Return to Extranal Kubuntu Backports PPA MIRROR
|
||||
cd ../
|
||||
mkdir -p ./output
|
||||
find . -name \*.deb -exec cp -vf {} ./output \;
|
||||
cd ./output
|
||||
|
||||
../ppp https://ppa.pika-os.com/dists/lunar/external/binary-i386/Packages https://ppa.launchpadcontent.net/kubuntu-ppa/backports/ubuntu/dists/lunar/main/binary-i386/Packages.xz https://ppa.launchpadcontent.net/kubuntu-ppa/backports/ubuntu/ ./
|
||||
../ppp https://ppa.pika-os.com/dists/lunar/external/binary-amd64/Packages https://ppa.launchpadcontent.net/kubuntu-ppa/backports/ubuntu/dists/lunar/main/binary-amd64/Packages.xz https://ppa.launchpadcontent.net/kubuntu-ppa/backports/ubuntu/ ./
|
||||
|
||||
cd ../
|
||||
|
||||
if [ $(ls ./output/ | wc -l) -lt 1 ]; then
|
||||
echo "Lunar repos are synced"
|
||||
fi
|
||||
|
||||
# send debs to server
|
||||
rsync -azP ./output/ ferreo@direct.pika-os.com:/srv/www/incoming/
|
||||
@ -96,3 +25,26 @@ ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-
|
||||
|
||||
# publish the repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'
|
||||
|
||||
# Extranal XtraDEB PPA MIRROR
|
||||
mkdir -p ./manticoutput
|
||||
cd ./manticoutput
|
||||
|
||||
../ppp https://ppa.pika-os.com/dists/mantic/external/binary-i386/Packages https://ppa.launchpadcontent.net/kubuntu-ppa/backports/ubuntu/dists/mantic/main/binary-i386/Packages.xz https://ppa.launchpadcontent.net/kubuntu-ppa/backports/ubuntu/ ./
|
||||
../ppp https://ppa.pika-os.com/dists/mantic/external/binary-amd64/Packages https://ppa.launchpadcontent.net/kubuntu-ppa/backports/ubuntu/dists/mantic/main/binary-amd64/Packages.xz https://ppa.launchpadcontent.net/kubuntu-ppa/backports/ubuntu/ ./
|
||||
|
||||
cd ../
|
||||
|
||||
if [ $(ls ./manticoutput/ | wc -l) -lt 1 ]; then
|
||||
echo "Mantic repos are synced"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# send debs to server
|
||||
rsync -azP ./manticoutput/ ferreo@direct.pika-os.com:/srv/www/incoming/
|
||||
|
||||
# add debs to repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-external-mantic /srv/www/incoming/'
|
||||
|
||||
# publish the repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite mantic filesystem:pikarepo:'
|
@ -26,3 +26,26 @@ ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-
|
||||
|
||||
# publish the repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'
|
||||
|
||||
mkdir -p ./manticoutput
|
||||
cd ./manticoutput
|
||||
|
||||
../ppp https://ppa.pika-os.com/dists/mantic/external/binary-i386/Packages https://packages.lunarg.com/vulkan/dists/jammy/main/binary-i386/Packages https://packages.lunarg.com/vulkan/ ./
|
||||
|
||||
../ppp https://ppa.pika-os.com/dists/mantic/external/binary-amd64/Packages https://packages.lunarg.com/vulkan/dists/jammy/main/binary-amd64/Packages https://packages.lunarg.com/vulkan/ ./
|
||||
|
||||
cd ../
|
||||
|
||||
if [ $(ls ./manticoutput/ | wc -l) -lt 1 ]; then
|
||||
echo "Mantic repos are synced"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# send debs to server
|
||||
rsync -azP ./manticoutput/ ferreo@direct.pika-os.com:/srv/www/incoming/
|
||||
|
||||
# add debs to repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-external-mantic /srv/www/incoming/'
|
||||
|
||||
# publish the repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite mantic filesystem:pikarepo:'
|
||||
|
@ -33,7 +33,7 @@ cd ./manticoutput
|
||||
|
||||
../ppp https://ppa.pika-os.com/dists/mantic/external/binary-amd64/Packages https://ppa.launchpadcontent.net/wasta-linux/cinnamon-testing/ubuntu/dists/jammy/main/binary-amd64/Packages.xz https://ppa.launchpadcontent.net/wasta-linux/cinnamon-testing/ubuntu/ ./ "mintinstall,warpinator,webapp-manager,mint-common,mint-translations"
|
||||
|
||||
../ppp https://ppa.pika-os.com/dists/mantic/external/binary-amd64/Packages https://ppa.launchpadcontent.net/papirus/papirus/ubuntu/dists/lunar/main/binary-amd64/Packages.xz https://ppa.launchpadcontent.net/papirus/papirus/ubuntu/ ./
|
||||
../ppp https://ppa.pika-os.com/dists/mantic/external/binary-amd64/Packages https://ppa.launchpadcontent.net/papirus/papirus/ubuntu/dists/mantic/main/binary-amd64/Packages.xz https://ppa.launchpadcontent.net/papirus/papirus/ubuntu/ ./
|
||||
|
||||
cd ../
|
||||
|
||||
@ -50,6 +50,3 @@ ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-
|
||||
|
||||
# publish the repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite mantic filesystem:pikarepo:'
|
||||
|
||||
# republish lunar to get rid of hash clashes for same version
|
||||
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'
|
@ -5,39 +5,16 @@ set -e
|
||||
chmod 755 ./ppp
|
||||
|
||||
# Extranal Mozilla PPA MIRROR
|
||||
mkdir -p ./output/external
|
||||
cd ./output/external
|
||||
|
||||
# temp
|
||||
apt update
|
||||
apt upgrade -y
|
||||
# end of temp
|
||||
|
||||
#Get rid of Pika sources to prevent conflicts
|
||||
rm -rf /etc/apt/sources.list.d/pika*
|
||||
rm -rf /etc/apt/preferences.d/*pika*
|
||||
|
||||
# Get Extranal Mozilla PPA pool
|
||||
echo 'deb [trusted=yes] https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu lunar main' | sudo tee /etc/apt/sources.list.d/external.list
|
||||
apt update -y --allow-unauthenticated
|
||||
|
||||
PPP=$(../../ppp https://ppa.pika-os.com/dists/lunar/external/binary-amd64/Packages https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu/dists/lunar/main/binary-amd64/Packages.xz)
|
||||
touch /etc/apt/preferences.d/0-external.conf
|
||||
echo 'Package: *' > /etc/apt/preferences.d/0-external.conf
|
||||
echo 'Pin: release o=LP-PPA-mozillateam' >> /etc/apt/preferences.d/0-external.conf
|
||||
echo 'Pin-Priority: 2001' >> /etc/apt/preferences.d/0-external.conf
|
||||
if [ ! -z "$PPP" ]
|
||||
then
|
||||
apt download $PPP -y --target-release 'o=LP-PPA-mozillateam'
|
||||
else
|
||||
echo "Repos are synced"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Return to Extranal Mozilla PPA MIRROR
|
||||
cd ../
|
||||
mkdir -p ./output
|
||||
find . -name \*.deb -exec cp -vf {} ./output \;
|
||||
cd ./output
|
||||
|
||||
../ppp https://ppa.pika-os.com/dists/lunar/external/binary-amd64/Packages https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu/dists/lunar/main/binary-amd64/Packages.xz https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu/ ./
|
||||
|
||||
cd ../
|
||||
|
||||
if [ $(ls ./output/ | wc -l) -lt 1 ]; then
|
||||
echo "Lunar repos are synced"
|
||||
fi
|
||||
|
||||
# send debs to server
|
||||
rsync -azP ./output/ ferreo@direct.pika-os.com:/srv/www/incoming/
|
||||
@ -47,3 +24,25 @@ ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-
|
||||
|
||||
# publish the repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'
|
||||
|
||||
# Extranal XtraDEB PPA MIRROR
|
||||
mkdir -p ./manticoutput
|
||||
cd ./manticoutput
|
||||
|
||||
../ppp https://ppa.pika-os.com/dists/mantic/external/binary-amd64/Packages https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu/dists/mantic/main/binary-amd64/Packages.xz https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu/ ./
|
||||
|
||||
cd ../
|
||||
|
||||
if [ $(ls ./manticoutput/ | wc -l) -lt 1 ]; then
|
||||
echo "Mantic repos are synced"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# send debs to server
|
||||
rsync -azP ./manticoutput/ ferreo@direct.pika-os.com:/srv/www/incoming/
|
||||
|
||||
# add debs to repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-external-mantic /srv/www/incoming/'
|
||||
|
||||
# publish the repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite mantic filesystem:pikarepo:'
|
@ -5,46 +5,17 @@ set -e
|
||||
chmod 755 ./ppp
|
||||
|
||||
# Extranal Nvidia MIRROR
|
||||
mkdir -p ./output/external
|
||||
cd ./output/external
|
||||
|
||||
# temp
|
||||
apt update
|
||||
apt upgrade -y
|
||||
# end of temp
|
||||
|
||||
#Get rid of Pika sources to prevent conflicts
|
||||
rm -rf /etc/apt/sources.list.d/pika*
|
||||
rm -rf /etc/apt/preferences.d/*pika*
|
||||
|
||||
# Get Extranal Nvidia pool
|
||||
echo 'deb [trusted=yes] https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu/ lunar main' | sudo tee /etc/apt/sources.list.d/external.list
|
||||
|
||||
PPP32=$(../../ppp https://ppa.pika-os.com/dists/lunar/external/binary-i386/Packages https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu/dists/lunar/main/binary-i386/Packages.xz)
|
||||
if [ ! -z "$PPP32" ]
|
||||
then
|
||||
dpkg --add-architecture i386
|
||||
apt update -o APT::Architecture="i386" -o APT::Architectures="i386" -y --allow-unauthenticated
|
||||
apt download $PPP32 -o APT::Architecture="i386" -o APT::Architectures="i386" -y --target-release 'o=LP-PPA-graphics-drivers'
|
||||
rm -rfv ./*all.deb
|
||||
else
|
||||
echo "i386 Repos are synced"
|
||||
fi
|
||||
|
||||
PPP64=$(../../ppp https://ppa.pika-os.com/dists/lunar/external/binary-amd64/Packages https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu/dists/lunar/main/binary-amd64/Packages.xz)
|
||||
if [ ! -z "$PPP64" ]
|
||||
then
|
||||
apt update -o APT::Architecture="amd64" -o APT::Architectures="amd64" -y --allow-unauthenticated
|
||||
apt download $PPP64 -o APT::Architecture="amd64" -o APT::Architectures="amd64" -y --target-release 'o=LP-PPA-graphics-drivers'
|
||||
else
|
||||
echo "AMD64 Repos are synced"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Return to Extranal Nvidia MIRROR
|
||||
cd ../
|
||||
mkdir -p ./output
|
||||
find . -name \*.deb -exec cp -vf {} ./output \;
|
||||
cd ./output
|
||||
|
||||
../ppp https://ppa.pika-os.com/dists/lunar/external/binary-i386/Packages https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu/dists/lunar/main/binary-i386/Packages.xz https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu/ ./
|
||||
../ppp https://ppa.pika-os.com/dists/lunar/external/binary-amd64/Packages https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu/dists/lunar/main/binary-amd64/Packages.xz https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu/ ./
|
||||
|
||||
cd ../
|
||||
|
||||
if [ $(ls ./output/ | wc -l) -lt 1 ]; then
|
||||
echo "Lunar repos are synced"
|
||||
fi
|
||||
|
||||
# send debs to server
|
||||
rsync -azP ./output/ ferreo@direct.pika-os.com:/srv/www/incoming/
|
||||
@ -54,3 +25,26 @@ ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-
|
||||
|
||||
# publish the repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'
|
||||
|
||||
# Extranal XtraDEB PPA MIRROR
|
||||
mkdir -p ./manticoutput
|
||||
cd ./manticoutput
|
||||
|
||||
../ppp https://ppa.pika-os.com/dists/mantic/external/binary-i386/Packages https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu/dists/mantic/main/binary-i386/Packages.xz https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu/ ./
|
||||
../ppp https://ppa.pika-os.com/dists/mantic/external/binary-amd64/Packages https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu/dists/mantic/main/binary-amd64/Packages.xz https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu/ ./
|
||||
|
||||
cd ../
|
||||
|
||||
if [ $(ls ./manticoutput/ | wc -l) -lt 1 ]; then
|
||||
echo "Mantic repos are synced"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# send debs to server
|
||||
rsync -azP ./manticoutput/ ferreo@direct.pika-os.com:/srv/www/incoming/
|
||||
|
||||
# add debs to repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-external-mantic /srv/www/incoming/'
|
||||
|
||||
# publish the repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite mantic filesystem:pikarepo:'
|
@ -5,46 +5,17 @@ set -e
|
||||
chmod 755 ./ppp
|
||||
|
||||
# Extranal Oibaf PPA MIRROR
|
||||
mkdir -p ./output/external
|
||||
cd ./output/external
|
||||
|
||||
# temp
|
||||
apt update
|
||||
apt upgrade -y
|
||||
# end of temp
|
||||
|
||||
#Get rid of Pika sources to prevent conflicts
|
||||
rm -rf /etc/apt/sources.list.d/pika*
|
||||
rm -rf /etc/apt/preferences.d/*pika*
|
||||
|
||||
# Get Extranal Oibaf PPA pool
|
||||
echo 'deb [trusted=yes] https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu lunar main' | sudo tee /etc/apt/sources.list.d/external.list
|
||||
|
||||
PPP32=$(../../ppp https://ppa.pika-os.com/dists/lunar/external/binary-i386/Packages https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu/dists/lunar/main/binary-i386/Packages.xz | tr ' ' '\n' | grep -E 'meson|16|15|spirv|directx-headers|libdrm' | tr '\n' ' ')
|
||||
if [ ! -z "$PPP32" ]
|
||||
then
|
||||
dpkg --add-architecture i386
|
||||
apt update -o APT::Architecture="i386" -o APT::Architectures="i386" -y --allow-unauthenticated
|
||||
apt download $PPP32 -o APT::Architecture="i386" -o APT::Architectures="i386" -y --target-release 'o=LP-PPA-oibaf-graphics-drivers'
|
||||
rm -rfv ./*all.deb
|
||||
else
|
||||
echo "i386 Repos are synced"
|
||||
fi
|
||||
|
||||
PPP64=$(../../ppp https://ppa.pika-os.com/dists/lunar/external/binary-amd64/Packages https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu/dists/lunar/main/binary-amd64/Packages.xz | tr ' ' '\n' | grep -E 'meson|16|15|spirv|directx-headers|libdrm' | tr '\n' ' ')
|
||||
if [ ! -z "$PPP64" ]
|
||||
then
|
||||
apt update -o APT::Architecture="amd64" -o APT::Architectures="amd64" -y --allow-unauthenticated
|
||||
apt download $PPP64 -o APT::Architecture="amd64" -o APT::Architectures="amd64" -y --target-release 'o=LP-PPA-oibaf-graphics-drivers'
|
||||
else
|
||||
echo "AMD64 Repos are synced"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Return to Extranal Oibaf PPA MIRROR
|
||||
cd ../
|
||||
mkdir -p ./output
|
||||
find . -name \*.deb -exec cp -vf {} ./output \;
|
||||
cd ./output
|
||||
|
||||
../ppp https://ppa.pika-os.com/dists/lunar/external/binary-i386/Packages https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu/dists/lunar/main/binary-i386/Packages.xz https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu/ ./ "meson,16,15,spirv,directx-headers,libdrm"
|
||||
../ppp https://ppa.pika-os.com/dists/lunar/external/binary-amd64/Packages https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu/dists/lunar/main/binary-amd64/Packages.xz https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu/ ./ "meson,16,15,spirv,directx-headers,libdrm"
|
||||
|
||||
cd ../
|
||||
|
||||
if [ $(ls ./output/ | wc -l) -lt 1 ]; then
|
||||
echo "Lunar repos are synced"
|
||||
fi
|
||||
|
||||
# send debs to server
|
||||
rsync -azP ./output/ ferreo@direct.pika-os.com:/srv/www/incoming/
|
||||
@ -54,3 +25,26 @@ ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-
|
||||
|
||||
# publish the repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'
|
||||
|
||||
# Extranal XtraDEB PPA MIRROR
|
||||
mkdir -p ./manticoutput
|
||||
cd ./manticoutput
|
||||
|
||||
../ppp https://ppa.pika-os.com/dists/mantic/external/binary-i386/Packages https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu/dists/mantic/main/binary-i386/Packages.xz https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu/ ./ "meson,16,15,spirv,directx-headers,libdrm"
|
||||
../ppp https://ppa.pika-os.com/dists/mantic/external/binary-amd64/Packages https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu/dists/mantic/main/binary-amd64/Packages.xz https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu/ ./ "meson,16,15,spirv,directx-headers,libdrm"
|
||||
|
||||
cd ../
|
||||
|
||||
if [ $(ls ./manticoutput/ | wc -l) -lt 1 ]; then
|
||||
echo "Mantic repos are synced"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# send debs to server
|
||||
rsync -azP ./manticoutput/ ferreo@direct.pika-os.com:/srv/www/incoming/
|
||||
|
||||
# add debs to repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-external-mantic /srv/www/incoming/'
|
||||
|
||||
# publish the repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite mantic filesystem:pikarepo:'
|
@ -5,46 +5,17 @@ set -e
|
||||
chmod 755 ./ppp
|
||||
|
||||
# Extranal Steam MIRROR
|
||||
mkdir -p ./output/external
|
||||
cd ./output/external
|
||||
|
||||
# temp
|
||||
apt update
|
||||
apt upgrade -y
|
||||
# end of temp
|
||||
|
||||
#Get rid of Pika sources to prevent conflicts
|
||||
rm -rf /etc/apt/sources.list.d/pika*
|
||||
rm -rf /etc/apt/preferences.d/*pika*
|
||||
|
||||
# Get Extranal Steam pool
|
||||
echo 'deb [trusted=yes] https://repo.steampowered.com/steam/ stable steam' | sudo tee /etc/apt/sources.list.d/external.list
|
||||
|
||||
PPP32=$(../../ppp https://ppa.pika-os.com/dists/lunar/external/binary-i386/Packages https://repo.steampowered.com/steam/dists/stable/steam/binary-i386/Packages)
|
||||
if [ ! -z "$PPP32" ]
|
||||
then
|
||||
dpkg --add-architecture i386
|
||||
apt update -o APT::Architecture="i386" -o APT::Architectures="i386" -y --allow-unauthenticated
|
||||
apt download $PPP32 -o APT::Architecture="i386" -o APT::Architectures="i386" -y --target-release 'o=Valve Software LLC'
|
||||
rm -rfv ./*all.deb
|
||||
else
|
||||
echo "i386 Repos are synced"
|
||||
fi
|
||||
|
||||
PPP64=$(../../ppp https://ppa.pika-os.com/dists/lunar/external/binary-amd64/Packages https://repo.steampowered.com/steam/dists/stable/steam/binary-amd64/Packages)
|
||||
if [ ! -z "$PPP64" ]
|
||||
then
|
||||
apt update -o APT::Architecture="amd64" -o APT::Architectures="amd64" -y --allow-unauthenticated
|
||||
apt download $PPP64 -o APT::Architecture="amd64" -o APT::Architectures="amd64" -y --target-release 'o=Valve Software LLC'
|
||||
else
|
||||
echo "AMD64 Repos are synced"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Return to Extranal Steam MIRROR
|
||||
cd ../
|
||||
mkdir -p ./output
|
||||
find . -name \*.deb -exec cp -vf {} ./output \;
|
||||
cd ./output
|
||||
|
||||
../ppp https://ppa.pika-os.com/dists/lunar/external/binary-i386/Packages https://repo.steampowered.com/steam/dists/stable/steam/binary-i386/Packages https://repo.steampowered.com/steam/ ./
|
||||
../ppp https://ppa.pika-os.com/dists/lunar/external/binary-amd64/Packages https://repo.steampowered.com/steam/dists/stable/steam/binary-amd64/Packages https://repo.steampowered.com/steam/ ./
|
||||
|
||||
cd ../
|
||||
|
||||
if [ $(ls ./output/ | wc -l) -lt 1 ]; then
|
||||
echo "Lunar repos are synced"
|
||||
fi
|
||||
|
||||
# send debs to server
|
||||
rsync -azP ./output/ ferreo@direct.pika-os.com:/srv/www/incoming/
|
||||
@ -54,3 +25,26 @@ ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-
|
||||
|
||||
# publish the repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'
|
||||
|
||||
# Extranal XtraDEB PPA MIRROR
|
||||
mkdir -p ./manticoutput
|
||||
cd ./manticoutput
|
||||
|
||||
../ppp https://ppa.pika-os.com/dists/mantic/external/binary-i386/Packages https://repo.steampowered.com/steam/dists/stable/steam/binary-i386/Packages https://repo.steampowered.com/steam/ ./
|
||||
../ppp https://ppa.pika-os.com/dists/mantic/external/binary-amd64/Packages https://repo.steampowered.com/steam/dists/stable/steam/binary-amd64/Packages https://repo.steampowered.com/steam/ ./
|
||||
|
||||
cd ../
|
||||
|
||||
if [ $(ls ./manticoutput/ | wc -l) -lt 1 ]; then
|
||||
echo "Mantic repos are synced"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# send debs to server
|
||||
rsync -azP ./manticoutput/ ferreo@direct.pika-os.com:/srv/www/incoming/
|
||||
|
||||
# add debs to repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-external-mantic /srv/www/incoming/'
|
||||
|
||||
# publish the repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite mantic filesystem:pikarepo:'
|
||||
|
@ -5,35 +5,16 @@ set -e
|
||||
chmod 755 ./ppp
|
||||
|
||||
# Extranal System76 PPA MIRROR
|
||||
mkdir -p ./output/external
|
||||
cd ./output/external
|
||||
|
||||
# temp
|
||||
apt update
|
||||
apt upgrade -y
|
||||
# end of temp
|
||||
|
||||
#Get rid of Pika sources to prevent conflicts
|
||||
rm -rf /etc/apt/sources.list.d/pika*
|
||||
rm -rf /etc/apt/preferences.d/*pika*
|
||||
|
||||
# Get Extranal System76 PPA pool
|
||||
echo 'deb [arch=amd64 trusted=yes] https://ppa.launchpadcontent.net/system76-dev/pre-stable/ubuntu lunar main' | sudo tee /etc/apt/sources.list.d/external.list
|
||||
apt update -y --allow-unauthenticated
|
||||
|
||||
PPP=$(../../ppp https://ppa.pika-os.com/dists/lunar/external/binary-amd64/Packages https://ppa.launchpadcontent.net/system76-dev/pre-stable/ubuntu/dists/lunar/main/binary-amd64/Packages.xz)
|
||||
if [ ! -z "$PPP" ]
|
||||
then
|
||||
apt download $PPP -y --target-release 'o=LP-PPA-system76-dev-pre-stable'
|
||||
else
|
||||
echo "Repos are synced"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Return to Extranal System76 PPA MIRROR
|
||||
cd ../
|
||||
mkdir -p ./output
|
||||
find . -name \*.deb -exec cp -vf {} ./output \;
|
||||
cd ./output
|
||||
|
||||
../ppp https://ppa.pika-os.com/dists/lunar/external/binary-amd64/Packages https://ppa.launchpadcontent.net/system76-dev/pre-stable/ubuntu/dists/lunar/main/binary-amd64/Packages.xz https://ppa.launchpadcontent.net/system76-dev/pre-stable/ubuntu/ ./
|
||||
|
||||
cd ../
|
||||
|
||||
if [ $(ls ./output/ | wc -l) -lt 1 ]; then
|
||||
echo "Lunar repos are synced"
|
||||
fi
|
||||
|
||||
# send debs to server
|
||||
rsync -azP ./output/ ferreo@direct.pika-os.com:/srv/www/incoming/
|
||||
@ -43,3 +24,25 @@ ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-
|
||||
|
||||
# publish the repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'
|
||||
|
||||
# Extranal XtraDEB PPA MIRROR
|
||||
mkdir -p ./manticoutput
|
||||
cd ./manticoutput
|
||||
|
||||
../ppp https://ppa.pika-os.com/dists/mantic/external/binary-amd64/Packages https://ppa.launchpadcontent.net/system76-dev/pre-stable/ubuntu/dists/mantic/main/binary-amd64/Packages.xz https://ppa.launchpadcontent.net/system76-dev/pre-stable/ubuntu/ ./
|
||||
|
||||
cd ../
|
||||
|
||||
if [ $(ls ./manticoutput/ | wc -l) -lt 1 ]; then
|
||||
echo "Mantic repos are synced"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# send debs to server
|
||||
rsync -azP ./manticoutput/ ferreo@direct.pika-os.com:/srv/www/incoming/
|
||||
|
||||
# add debs to repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-external-mantic /srv/www/incoming/'
|
||||
|
||||
# publish the repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite mantic filesystem:pikarepo:'
|
||||
|
@ -5,36 +5,16 @@ set -e
|
||||
chmod 755 ./ppp
|
||||
|
||||
# Extranal XtraDEB PPA MIRROR
|
||||
mkdir -p ./output/external
|
||||
cd ./output/external
|
||||
|
||||
# temp
|
||||
apt update
|
||||
apt upgrade -y
|
||||
# end of temp
|
||||
|
||||
#Get rid of Pika sources to prevent conflicts
|
||||
rm -rf /etc/apt/sources.list.d/pika*
|
||||
rm -rf /etc/apt/preferences.d/*pika*
|
||||
|
||||
# Get Extranal XtraDEB PPA pool
|
||||
echo 'deb [arch=amd64 trusted=yes] https://ppa.launchpadcontent.net/xtradeb/apps/ubuntu lunar main' | sudo tee /etc/apt/sources.list.d/external.list
|
||||
apt update -y --allow-unauthenticated
|
||||
|
||||
PPP=$(../../ppp https://ppa.pika-os.com/dists/lunar/external/binary-amd64/Packages https://ppa.launchpadcontent.net/xtradeb/apps/ubuntu/dists/lunar/main/binary-amd64/Packages.xz | tr ' ' '\n' | grep chromium | tr '\n' ' ')
|
||||
|
||||
if [ ! -z "$PPP" ]
|
||||
then
|
||||
apt download $PPP -y --target-release 'o=LP-PPA-xtradeb-apps'
|
||||
else
|
||||
echo "Repos are synced"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Return to Extranal XtraDEB PPA MIRROR
|
||||
cd ../
|
||||
mkdir -p ./output
|
||||
find . -name \*.deb -exec cp -vf {} ./output \;
|
||||
cd ./output
|
||||
|
||||
../ppp https://ppa.pika-os.com/dists/lunar/external/binary-amd64/Packages https://ppa.launchpadcontent.net/xtradeb/apps/ubuntu/dists/lunar/main/binary-amd64/Packages.xz https://ppa.launchpadcontent.net/xtradeb/apps/ubuntu/ ./ "chromium"
|
||||
|
||||
cd ../
|
||||
|
||||
if [ $(ls ./output/ | wc -l) -lt 1 ]; then
|
||||
echo "Lunar repos are synced"
|
||||
fi
|
||||
|
||||
# send debs to server
|
||||
rsync -azP ./output/ ferreo@direct.pika-os.com:/srv/www/incoming/
|
||||
@ -44,3 +24,25 @@ ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-
|
||||
|
||||
# publish the repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'
|
||||
|
||||
# Extranal XtraDEB PPA MIRROR
|
||||
mkdir -p ./manticoutput
|
||||
cd ./manticoutput
|
||||
|
||||
../ppp https://ppa.pika-os.com/dists/mantic/external/binary-amd64/Packages https://ppa.launchpadcontent.net/xtradeb/apps/ubuntu/dists/lunar/main/binary-amd64/Packages.xz https://ppa.launchpadcontent.net/xtradeb/apps/ubuntu/ ./ "chromium"
|
||||
|
||||
cd ../
|
||||
|
||||
if [ $(ls ./manticoutput/ | wc -l) -lt 1 ]; then
|
||||
echo "Mantic repos are synced"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# send debs to server
|
||||
rsync -azP ./manticoutput/ ferreo@direct.pika-os.com:/srv/www/incoming/
|
||||
|
||||
# add debs to repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-external-mantic /srv/www/incoming/'
|
||||
|
||||
# publish the repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite mantic filesystem:pikarepo:'
|
62
rocm.sh
62
rocm.sh
@ -4,44 +4,44 @@ set -e
|
||||
# Give correct perms to Apt version checker
|
||||
chmod 755 ./ppp
|
||||
|
||||
# ROCm MIRROR
|
||||
mkdir -p ./output/rocm
|
||||
cd ./output/rocm
|
||||
|
||||
# temp
|
||||
apt update
|
||||
apt upgrade -y
|
||||
# end of temp
|
||||
|
||||
#Get rid of Pika sources to prevent conflicts
|
||||
rm -rf /etc/apt/sources.list.d/pika*
|
||||
rm -rf /etc/apt/preferences.d/*pika*
|
||||
|
||||
# Get ROCm pool
|
||||
echo 'deb [arch=amd64 trusted=yes] https://repo.radeon.com/rocm/apt/5.7 jammy main' | sudo tee /etc/apt/sources.list.d/rocm.list
|
||||
wget -O - http://repo.radeon.com/rocm/rocm.gpg.key | apt-key add -
|
||||
apt update -y
|
||||
|
||||
PPP=$(../../ppp https://ppa.pika-os.com/dists/lunar/rocm/binary-amd64/Packages http://repo.radeon.com/rocm/apt/5.7/dists/jammy/main/binary-amd64/Packages)
|
||||
|
||||
if [ ! -z "$PPP" ]
|
||||
then
|
||||
apt download $PPP -y --target-release 'o=repo.radeon.com'
|
||||
else
|
||||
echo "Repos are synced"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Return to ROCm MIRROR
|
||||
cd ../
|
||||
mkdir -p ./output
|
||||
find . -name \*.deb -exec cp -vf {} ./output \;
|
||||
cd ./output
|
||||
|
||||
../ppp https://ppa.pika-os.com/dists/lunar/rocm/binary-amd64/Packages http://repo.radeon.com/rocm/apt/5.7/dists/jammy/main/binary-amd64/Packages http://repo.radeon.com/rocm/apt/5.7/ ./
|
||||
|
||||
cd ../
|
||||
|
||||
if [ $(ls ./output/ | wc -l) -lt 1 ]; then
|
||||
echo "Lunar repos are synced"
|
||||
fi
|
||||
|
||||
# send debs to server
|
||||
rsync -azP ./output/ ferreo@direct.pika-os.com:/srv/www/incoming/
|
||||
|
||||
# add debs to repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-rocm /srv/www/incoming/'
|
||||
ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-external /srv/www/incoming/'
|
||||
|
||||
# publish the repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'
|
||||
|
||||
mkdir -p ./manticoutput
|
||||
cd ./manticoutput
|
||||
|
||||
../ppp https://ppa.pika-os.com/dists/mantic/rocm/binary-amd64/Packages http://repo.radeon.com/rocm/apt/5.7/dists/jammy/main/binary-amd64/Packages http://repo.radeon.com/rocm/apt/5.7/ ./
|
||||
|
||||
cd ../
|
||||
|
||||
if [ $(ls ./manticoutput/ | wc -l) -lt 1 ]; then
|
||||
echo "Mantic repos are synced"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# send debs to server
|
||||
rsync -azP ./manticoutput/ ferreo@direct.pika-os.com:/srv/www/incoming/
|
||||
|
||||
# add debs to repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-external /srv/www/incoming/'
|
||||
|
||||
# publish the repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite mantic filesystem:pikarepo:'
|
||||
|
Loading…
Reference in New Issue
Block a user