Merge pull request #896 from buytenh/ubuntu-fixes

ubuntu fixes
This commit is contained in:
Joe Lawrence 2018-07-25 13:13:59 -04:00 committed by GitHub
commit 13d8267a0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -172,7 +172,7 @@ apt-get install make gcc libelf-dev
Install the dependencies for the "kpatch-build" command:
```bash
apt-get install dpkg-dev devscripts
apt-get install dpkg-dev devscripts elfutils
apt-get build-dep linux
# required on ppc64le

View File

@ -623,7 +623,7 @@ else
sublevel="SUBLEVEL ="
fi
pkgname="$(dpkg-query -W -f='${Source}' "linux-image-$ARCHVERSION")"
pkgname="$(dpkg-query -W -f='${Source}' "linux-image-$ARCHVERSION" | sed s/-signed//)"
pkgver="$(dpkg-query -W -f='${Version}' "linux-image-$ARCHVERSION")"
dscname="${pkgname}_${pkgver}.dsc"