publish intel to pigeon

This commit is contained in:
Ward from fusion-voyager-3 2024-07-31 19:03:59 +03:00
parent 6c48c5bfb3
commit b9ffbbfcd9

View File

@ -8,7 +8,7 @@ chmod 755 ./ppp
mkdir -p ./output-temp mkdir -p ./output-temp
cd ./output-temp cd ./output-temp
../ppp https://ppa.pika-os.com/dists/pika/pigeon2/binary-amd64/Packages https://repositories.intel.com/gpu/ubuntu/dists/noble/unified/binary-amd64/Packages https://repositories.intel.com/gpu/ubuntu/ ./ ../ppp https://ppa.pika-os.com/dists/pika/pigeon/binary-amd64/Packages https://repositories.intel.com/gpu/ubuntu/dists/noble/unified/binary-amd64/Packages https://repositories.intel.com/gpu/ubuntu/ ./
# Delete Unwanted Packages or failure points with ppp # Delete Unwanted Packages or failure points with ppp
rm -rfv ./intel-i915-dkms_*.deb rm -rfv ./intel-i915-dkms_*.deb
@ -38,7 +38,7 @@ do
mkdir $i-tmp mkdir $i-tmp
dpkg-deb -R $i $i-tmp dpkg-deb -R $i $i-tmp
cat $i-tmp/DEBIAN/control | grep Version: | head -n1 | cut -d":" -f2- | tr -d ' ' > $i-version 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)+pigeon2$(date +"%Y%m%d")#g" $i-tmp/DEBIAN/control sed -i "s#$(cat $i-version)#$(cat $i-version)+pigeon$(date +"%Y%m%d")#g" $i-tmp/DEBIAN/control
sed -e s"#(=#(>=#"g -i $i-tmp/DEBIAN/control sed -e s"#(=#(>=#"g -i $i-tmp/DEBIAN/control
sed "s#-$(echo $PACKAGE_VER_APPEND | cut -d '-' -f2-)##g" -i $i-tmp/DEBIAN/control sed "s#-$(echo $PACKAGE_VER_APPEND | cut -d '-' -f2-)##g" -i $i-tmp/DEBIAN/control
dpkg-deb -b $i-tmp $i-"$(date +"%Y%m%d")"-pigeon-fixed.deb dpkg-deb -b $i-tmp $i-"$(date +"%Y%m%d")"-pigeon-fixed.deb