Update all syncs to use aptly
This commit is contained in:
parent
259cfb3249
commit
9da217a997
27
amdgpu.sh
27
amdgpu.sh
@ -44,26 +44,11 @@ done
|
||||
cd ../
|
||||
mv -v ./output-tmp/*-fixed.deb ./output/
|
||||
|
||||
# Sign the packages
|
||||
dpkg-sig --sign builder ./output/*.deb
|
||||
# send debs to server
|
||||
rsync -azP ./output/ ferreo@direct.pika-os.com:/srv/www/incoming/
|
||||
|
||||
# Pull down existing ppa repo db files etc
|
||||
rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo
|
||||
# add debs to repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-amdgpu /srv/www/incoming/'
|
||||
|
||||
# Check if the amdgpu component exists
|
||||
if cat ./output/repo/conf/distributions | grep Components: | grep amdgpu
|
||||
then
|
||||
true
|
||||
else
|
||||
sed -i "s#Components:#Components: amdgpu#" ./output/repo/conf/distributions
|
||||
fi
|
||||
|
||||
apt remove reprepro -y
|
||||
wget -nv https://launchpad.net/ubuntu/+archive/primary/+files/reprepro_5.3.0-1.4_amd64.deb
|
||||
apt install -y ./reprepro_5.3.0-1.4_amd64.deb
|
||||
|
||||
# Add the new package to the repo
|
||||
reprepro -C amdgpu -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/
|
||||
# publish the repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'
|
||||
|
@ -88,26 +88,11 @@ cd ../
|
||||
mkdir -p ./output
|
||||
find . -name \*.deb -exec cp -vf {} ./output \;
|
||||
|
||||
# Sign the packages
|
||||
dpkg-sig --sign builder ./output/*.deb
|
||||
# send debs to server
|
||||
rsync -azP ./output/ ferreo@direct.pika-os.com:/srv/www/incoming/
|
||||
|
||||
# Pull down existing ppa repo db files etc
|
||||
rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo
|
||||
# add debs to repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-external /srv/www/incoming/'
|
||||
|
||||
# Check if the external component exists
|
||||
if cat ./output/repo/conf/distributions | grep Components: | grep external
|
||||
then
|
||||
true
|
||||
else
|
||||
sed -i "s#Components:#Components: external#" ./output/repo/conf/distributions
|
||||
fi
|
||||
|
||||
apt remove reprepro -y
|
||||
wget -nv https://launchpad.net/ubuntu/+archive/primary/+files/reprepro_5.3.0-1.4_amd64.deb
|
||||
apt install -y ./reprepro_5.3.0-1.4_amd64.deb
|
||||
|
||||
# Add the new package to the repo
|
||||
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/
|
||||
# publish the repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'
|
||||
|
@ -57,27 +57,11 @@ cd ../
|
||||
mkdir -p ./output
|
||||
find . -name \*.deb -exec cp -vf {} ./output \;
|
||||
|
||||
# Sign the packages
|
||||
dpkg-sig --sign builder ./output/*.deb
|
||||
# send debs to server
|
||||
rsync -azP ./output/ ferreo@direct.pika-os.com:/srv/www/incoming/
|
||||
|
||||
# Pull down existing ppa repo db files etc
|
||||
rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo
|
||||
# add debs to repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-external /srv/www/incoming/'
|
||||
|
||||
# Check if the external component exists
|
||||
if cat ./output/repo/conf/distributions | grep Components: | grep external
|
||||
then
|
||||
true
|
||||
else
|
||||
sed -i "s#Components:#Components: external#" ./output/repo/conf/distributions
|
||||
fi
|
||||
|
||||
apt remove reprepro -y
|
||||
wget -nv https://launchpad.net/ubuntu/+archive/primary/+files/reprepro_5.3.0-1.4_amd64.deb
|
||||
apt install -y ./reprepro_5.3.0-1.4_amd64.deb
|
||||
|
||||
# Add the new package to the repo
|
||||
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/
|
||||
exit 0
|
||||
# publish the repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'
|
@ -39,26 +39,11 @@ cd ../
|
||||
mkdir -p ./output
|
||||
find . -name \*.deb -exec cp -vf {} ./output \;
|
||||
|
||||
# Sign the packages
|
||||
dpkg-sig --sign builder ./output/*.deb
|
||||
# send debs to server
|
||||
rsync -azP ./output/ ferreo@direct.pika-os.com:/srv/www/incoming/
|
||||
|
||||
# Pull down existing ppa repo db files etc
|
||||
rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo
|
||||
# add debs to repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-external /srv/www/incoming/'
|
||||
|
||||
# Check if the external component exists
|
||||
if cat ./output/repo/conf/distributions | grep Components: | grep external
|
||||
then
|
||||
true
|
||||
else
|
||||
sed -i "s#Components:#Components: external#" ./output/repo/conf/distributions
|
||||
fi
|
||||
|
||||
apt remove reprepro -y
|
||||
wget -nv https://launchpad.net/ubuntu/+archive/primary/+files/reprepro_5.3.0-1.4_amd64.deb
|
||||
apt install -y ./reprepro_5.3.0-1.4_amd64.deb
|
||||
|
||||
# Add the new package to the repo
|
||||
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/
|
||||
# publish the repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'
|
@ -46,26 +46,11 @@ cd ../
|
||||
mkdir -p ./output
|
||||
find . -name \*.deb -exec cp -vf {} ./output \;
|
||||
|
||||
# Sign the packages
|
||||
dpkg-sig --sign builder ./output/*.deb
|
||||
# send debs to server
|
||||
rsync -azP ./output/ ferreo@direct.pika-os.com:/srv/www/incoming/
|
||||
|
||||
# Pull down existing ppa repo db files etc
|
||||
rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo
|
||||
# add debs to repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-external /srv/www/incoming/'
|
||||
|
||||
# Check if the external component exists
|
||||
if cat ./output/repo/conf/distributions | grep Components: | grep external
|
||||
then
|
||||
true
|
||||
else
|
||||
sed -i "s#Components:#Components: external#" ./output/repo/conf/distributions
|
||||
fi
|
||||
|
||||
apt remove reprepro -y
|
||||
wget -nv https://launchpad.net/ubuntu/+archive/primary/+files/reprepro_5.3.0-1.4_amd64.deb
|
||||
apt install -y ./reprepro_5.3.0-1.4_amd64.deb
|
||||
|
||||
# Add the new package to the repo
|
||||
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/
|
||||
# publish the repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'
|
@ -46,26 +46,11 @@ cd ../
|
||||
mkdir -p ./output
|
||||
find . -name \*.deb -exec cp -vf {} ./output \;
|
||||
|
||||
# Sign the packages
|
||||
dpkg-sig --sign builder ./output/*.deb
|
||||
# send debs to server
|
||||
rsync -azP ./output/ ferreo@direct.pika-os.com:/srv/www/incoming/
|
||||
|
||||
# Pull down existing ppa repo db files etc
|
||||
rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo
|
||||
# add debs to repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-external /srv/www/incoming/'
|
||||
|
||||
# Check if the external component exists
|
||||
if cat ./output/repo/conf/distributions | grep Components: | grep external
|
||||
then
|
||||
true
|
||||
else
|
||||
sed -i "s#Components:#Components: external#" ./output/repo/conf/distributions
|
||||
fi
|
||||
|
||||
apt remove reprepro -y
|
||||
wget -nv https://launchpad.net/ubuntu/+archive/primary/+files/reprepro_5.3.0-1.4_amd64.deb
|
||||
apt install -y ./reprepro_5.3.0-1.4_amd64.deb
|
||||
|
||||
# Add the new package to the repo
|
||||
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/
|
||||
# publish the repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'
|
||||
|
@ -46,26 +46,11 @@ cd ../
|
||||
mkdir -p ./output
|
||||
find . -name \*.deb -exec cp -vf {} ./output \;
|
||||
|
||||
# Sign the packages
|
||||
dpkg-sig --sign builder ./output/*.deb
|
||||
# send debs to server
|
||||
rsync -azP ./output/ ferreo@direct.pika-os.com:/srv/www/incoming/
|
||||
|
||||
# Pull down existing ppa repo db files etc
|
||||
rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo
|
||||
# add debs to repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-external /srv/www/incoming/'
|
||||
|
||||
# Check if the external component exists
|
||||
if cat ./output/repo/conf/distributions | grep Components: | grep external
|
||||
then
|
||||
true
|
||||
else
|
||||
sed -i "s#Components:#Components: external#" ./output/repo/conf/distributions
|
||||
fi
|
||||
|
||||
apt remove reprepro -y
|
||||
wget -nv https://launchpad.net/ubuntu/+archive/primary/+files/reprepro_5.3.0-1.4_amd64.deb
|
||||
apt install -y ./reprepro_5.3.0-1.4_amd64.deb
|
||||
|
||||
# Add the new package to the repo
|
||||
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/
|
||||
# publish the repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'
|
||||
|
@ -35,26 +35,11 @@ cd ../
|
||||
mkdir -p ./output
|
||||
find . -name \*.deb -exec cp -vf {} ./output \;
|
||||
|
||||
# Sign the packages
|
||||
dpkg-sig --sign builder ./output/*.deb
|
||||
# send debs to server
|
||||
rsync -azP ./output/ ferreo@direct.pika-os.com:/srv/www/incoming/
|
||||
|
||||
# Pull down existing ppa repo db files etc
|
||||
rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo
|
||||
# add debs to repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-external /srv/www/incoming/'
|
||||
|
||||
# Check if the external component exists
|
||||
if cat ./output/repo/conf/distributions | grep Components: | grep external
|
||||
then
|
||||
true
|
||||
else
|
||||
sed -i "s#Components:#Components: external#" ./output/repo/conf/distributions
|
||||
fi
|
||||
|
||||
apt remove reprepro -y
|
||||
wget -nv https://launchpad.net/ubuntu/+archive/primary/+files/reprepro_5.3.0-1.4_amd64.deb
|
||||
apt install -y ./reprepro_5.3.0-1.4_amd64.deb
|
||||
|
||||
# Add the new package to the repo
|
||||
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/
|
||||
# publish the repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'
|
||||
|
@ -89,26 +89,11 @@ cd ../
|
||||
mkdir -p ./output
|
||||
find . -name \*.deb -exec cp -vf {} ./output \;
|
||||
|
||||
# Sign the packages
|
||||
dpkg-sig --sign builder ./output/*.deb
|
||||
# send debs to server
|
||||
rsync -azP ./output/ ferreo@direct.pika-os.com:/srv/www/incoming/
|
||||
|
||||
# Pull down existing ppa repo db files etc
|
||||
rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo
|
||||
# add debs to repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-external /srv/www/incoming/'
|
||||
|
||||
# Check if the external component exists
|
||||
if cat ./output/repo/conf/distributions | grep Components: | grep external
|
||||
then
|
||||
true
|
||||
else
|
||||
sed -i "s#Components:#Components: external#" ./output/repo/conf/distributions
|
||||
fi
|
||||
|
||||
apt remove reprepro -y
|
||||
wget -nv https://launchpad.net/ubuntu/+archive/primary/+files/reprepro_5.3.0-1.4_amd64.deb
|
||||
apt install -y ./reprepro_5.3.0-1.4_amd64.deb
|
||||
|
||||
# Add the new package to the repo
|
||||
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/
|
||||
# publish the repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'
|
||||
|
@ -36,26 +36,11 @@ cd ../
|
||||
mkdir -p ./output
|
||||
find . -name \*.deb -exec cp -vf {} ./output \;
|
||||
|
||||
# Sign the packages
|
||||
dpkg-sig --sign builder ./output/*.deb
|
||||
# send debs to server
|
||||
rsync -azP ./output/ ferreo@direct.pika-os.com:/srv/www/incoming/
|
||||
|
||||
# Pull down existing ppa repo db files etc
|
||||
rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo
|
||||
# add debs to repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-external /srv/www/incoming/'
|
||||
|
||||
# Check if the external component exists
|
||||
if cat ./output/repo/conf/distributions | grep Components: | grep external
|
||||
then
|
||||
true
|
||||
else
|
||||
sed -i "s#Components:#Components: external#" ./output/repo/conf/distributions
|
||||
fi
|
||||
|
||||
apt remove reprepro -y
|
||||
wget -nv https://launchpad.net/ubuntu/+archive/primary/+files/reprepro_5.3.0-1.4_amd64.deb
|
||||
apt install -y ./reprepro_5.3.0-1.4_amd64.deb
|
||||
|
||||
# Add the new package to the repo
|
||||
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/
|
||||
# publish the repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'
|
27
rocm.sh
27
rocm.sh
@ -37,26 +37,11 @@ cd ../
|
||||
mkdir -p ./output
|
||||
find . -name \*.deb -exec cp -vf {} ./output \;
|
||||
|
||||
# Sign the packages
|
||||
dpkg-sig --sign builder ./output/*.deb
|
||||
# send debs to server
|
||||
rsync -azP ./output/ ferreo@direct.pika-os.com:/srv/www/incoming/
|
||||
|
||||
# Pull down existing ppa repo db files etc
|
||||
rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo
|
||||
# add debs to repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-rocm /srv/www/incoming/'
|
||||
|
||||
# Check if the rocm component exists
|
||||
if cat ./output/repo/conf/distributions | grep Components: | grep rocm
|
||||
then
|
||||
true
|
||||
else
|
||||
sed -i "s#Components:#Components: rocm#" ./output/repo/conf/distributions
|
||||
fi
|
||||
|
||||
apt remove reprepro -y
|
||||
wget -nv https://launchpad.net/ubuntu/+archive/primary/+files/reprepro_5.3.0-1.4_amd64.deb
|
||||
apt install -y ./reprepro_5.3.0-1.4_amd64.deb
|
||||
|
||||
# Add the new package to the repo
|
||||
reprepro -C rocm -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/
|
||||
# publish the repo
|
||||
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'
|
||||
|
Loading…
Reference in New Issue
Block a user