mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2024-11-21 21:15:01 +00:00
Fix parsing of https://kernel.ubuntu.com/~kernel-ppa/mainline/
This commit is contained in:
parent
19601b6e66
commit
ee34be26ff
@ -6,9 +6,9 @@ os: linux
|
||||
before_install:
|
||||
#Cron builds only build mainline kernel. Stable and LTS kernels usually not have breaking changes.
|
||||
- if [ "$TRAVIS_EVENT_TYPE" == "cron" ] && [ "$KVER_BUILD" != "$KERNEL_MAINLINE" ]; then exit 0; fi
|
||||
- export KERNEL_URL_DETAILS=$(wget --quiet -O - ${KERNEL_URL}v${KVER_BUILD}/ | grep -A8 "Build for ${TRAVIS_CPU_ARCH}")
|
||||
- export KERNEL_URL_DETAILS=$(wget --quiet -O - ${KERNEL_URL}v${KVER_BUILD}/ | grep -A8 "Build for ${TRAVIS_CPU_ARCH}\|Test ${TRAVIS_CPU_ARCH}")
|
||||
- export ALL_DEB=$(echo "$KERNEL_URL_DETAILS" | grep -m1 'all.deb' | cut -d '"' -f 2)
|
||||
- export KVER=$(echo $ALL_DEB | cut -d '_' -f 1 | cut -c15-)-generic
|
||||
- export KVER=$(echo $ALL_DEB | cut -d '_' -f 2 | rev | cut -c14- | rev)-generic
|
||||
- wget ${KERNEL_URL}v${KVER_BUILD}/$(echo "$KERNEL_URL_DETAILS" | grep -m1 "${TRAVIS_CPU_ARCH}.deb" | cut -d '"' -f 2)
|
||||
- wget ${KERNEL_URL}v${KVER_BUILD}/$ALL_DEB
|
||||
- sudo dpkg -i *.deb
|
||||
|
Loading…
Reference in New Issue
Block a user