Skip to content

Commit a5b3108

Browse files
committed
don't download .ddeb files
1 parent d5c3123 commit a5b3108

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

devops/scripts/install_drivers.sh

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -114,22 +114,18 @@ InstallIGFX () {
114114
| grep ".*deb" \
115115
| wget -qi -
116116
get_release intel/compute-runtime $CR_TAG \
117-
| grep -E ".*((deb)|(sum))" \
117+
| grep -E ".*((\.deb)|(sum))" \
118118
| wget -qi -
119-
# Perform the checksum conditionally and then get the release
120-
# Skip the ww45 checksum because the igc_dev driver was manually updated
121-
# so the package versions don't exactly match.
122-
if [ ! -f "ww45.sum" ]; then
123-
sha256sum -c *.sum
124-
fi
119+
# We don't download .ddeb packages, so ignore missing ones.
120+
sha256sum -c *.sum --ignore-missing
125121
get_release intel/cm-compiler $CM_TAG \
126122
| grep ".*deb" \
127123
| grep -v "u18" \
128124
| wget -qi -
129125
get_release oneapi-src/level-zero $L0_TAG \
130126
| grep ".*$UBUNTU_VER.*deb$" \
131127
| wget -qi -
132-
dpkg -i --force-all *.deb && rm *.deb *.ddeb *.sum
128+
dpkg -i --force-all *.deb && rm *.deb *.sum
133129
mkdir -p /usr/local/lib/igc/
134130
echo "$IGC_TAG" > /usr/local/lib/igc/IGCTAG.txt
135131
if [ "$IS_IGC_DEV" == "Yes" ]; then

0 commit comments

Comments
 (0)