Skip to content

Commit

Permalink
makepkg/hackbench: fix "curl: (22) The requested URL returned error: …
Browse files Browse the repository at this point in the history
…404 Not Found"

stderr:
```
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   162  100   162    0     0     75      0  0:00:02  0:00:02 --:--:--    75
  0     0    0     0    0     0      0      0 --:--:--  0:00:04 --:--:--     0
curl: (22) The requested URL returned error: 404 Not Found
==> ERROR: Failure while downloading rt-tests-2.1.tar.gz
    Aborting...
```

Signed-off-by: Zhu Yifei <[email protected]>
Signed-off-by: Philip Li <[email protected]>
  • Loading branch information
Zhu Yifei authored and rli9 committed Sep 18, 2021
1 parent fbaabfb commit 1985d00
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/hackbench/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
pkgname=hackbench
pkgver=2.1
pkgver=2.2
pkgrel=1
arch=('i386' 'x86_64')
url="https://www.kernel.org/pub/linux/utils/rt-tests"
license=('GPL')
# The url for latest pkg is https://www.kernel.org/pub/linux/utils/rt-tests/rt-tests-${pkgver}.tar.gz
# The url for outdated pkg is https://www.kernel.org/pub/linux/utils/rt-tests/older/rt-tests-${pkgver}.tar.gz
# We need to always use the latest version of the package to ensure that the URL is always valid.
source=("https://www.kernel.org/pub/linux/utils/rt-tests/rt-tests-${pkgver}.tar.gz")
sha256sums=('SKIP')

Expand Down

0 comments on commit 1985d00

Please sign in to comment.