publish intel to pigeon
All checks were successful
Process Intel Official Repository (Pigeon) / build (push) Successful in 47s
All checks were successful
Process Intel Official Repository (Pigeon) / build (push) Successful in 47s
This commit is contained in:
parent
093b579aa3
commit
deea706700
2
.github/pigeon-intel
vendored
2
.github/pigeon-intel
vendored
@ -1 +1 @@
|
|||||||
6
|
7
|
||||||
|
@ -31,13 +31,16 @@ apt update
|
|||||||
apt download -y intel-gsc intel-gsc-dev libmetee-dev libmetee intel-gpu-mesa3d intel-gpu-mesa3d-dev
|
apt download -y intel-gsc intel-gsc-dev libmetee-dev libmetee intel-gpu-mesa3d intel-gpu-mesa3d-dev
|
||||||
|
|
||||||
# Patch Downloaded Packages control files
|
# Patch Downloaded Packages control files
|
||||||
|
PACKAGE_VER_APPEND=$(apt show intel-level-zero-gpu 2>&1 | grep -v "does not have a stable" | grep Version: | head -n1 | cut -f2 -d":" | tr -d ' ')
|
||||||
|
|
||||||
for i in ./*.deb
|
for i in ./*.deb
|
||||||
do
|
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)+pigeon$(date +"%Y%m%d")#g" $i-tmp/DEBIAN/control
|
sed -i "s#$(cat $i-version)#$(cat $i-version)+pigeon2$(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
|
||||||
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
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user