mirror of
https://github.com/dynup/kpatch
synced 2025-04-11 03:31:20 +00:00
kpatch-build: fixup source package version construction
Bash doesn't correctly format the version string which causes the source package to not be downloaded correctly. Signed-off-by: Chris J Arges <chris.j.arges@canonical.com>
This commit is contained in:
parent
e5dd825f15
commit
1831030c1d
@ -380,7 +380,7 @@ else
|
||||
# The linux-source packages are formatted like the following for:
|
||||
# ubuntu: linux-source-3.13.0_3.13.0-24.46_all.deb
|
||||
# debian: linux-source-3.14_3.14.7-1_all.deb
|
||||
pkgver="$KVER_$(dpkg-query -W -f='${Version}' linux-image-$ARCHVERSION)"
|
||||
pkgver="${KVER}_$(dpkg-query -W -f='${Version}' linux-image-$ARCHVERSION)"
|
||||
pkgname="linux-source-${pkgver}_all"
|
||||
|
||||
cd $TEMPDIR
|
||||
|
Loading…
Reference in New Issue
Block a user