summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD14
2 files changed, 10 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c9d68192441..6281874314a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = linux-usermode
pkgdesc = User mode Linux kernel and modules
- pkgver = 5.3
+ pkgver = 5.3.7
pkgrel = 1
url = http://user-mode-linux.sourceforge.net/
arch = x86_64
@@ -8,13 +8,13 @@ pkgbase = linux-usermode
makedepends = bc
makedepends = inetutils
depends = coreutils
- source = https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.3.tar.xz
- source = https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.3.tar.sign
+ source = https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.3.7.tar.xz
+ source = https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.3.7.tar.sign
source = config
source = 70-uml.hook
validpgpkeys = ABAF11C65A2970B130ABE3C479BE3E4300411886
validpgpkeys = 647F28654894E3BD457199BE38DBBDC86092693E
- sha256sums = 78f3c397513cf4ff0f96aa7d09a921d003e08fa97c09e0bb71d88211b40567b2
+ sha256sums = c6c9714e21531c825c306b107bc6f6c7bfa2d5270a14bad170f8de5a73d34802
sha256sums = SKIP
sha256sums = 616ce4015a3d56c49bc5f839eed4c021483b08f730b36c9a7172724bed2cbdce
sha256sums = 452b8d4d71e1565ca91b1bebb280693549222ef51c47ba8964e411b2d461699c
diff --git a/PKGBUILD b/PKGBUILD
index d6578995b67..b7d31786d07 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,9 +5,8 @@ pkgbase=linux-usermode
pkgname=('linux-usermode' 'linux-usermode-modules')
_kernelname=-usermodelinux
_major=5.3
-pkgver=${_major}
-#_minor=0
-#pkgver=${_major}.${_minor}
+_minor=7
+pkgver=${_major}.${_minor}
_srcname=linux-${pkgver}
pkgrel=1
pkgdesc="User mode Linux kernel and modules"
@@ -21,7 +20,7 @@ source=("https://www.kernel.org/pub/linux/kernel/v5.x/linux-${pkgver}.tar.xz"
'config'
'70-uml.hook')
-sha256sums=('78f3c397513cf4ff0f96aa7d09a921d003e08fa97c09e0bb71d88211b40567b2'
+sha256sums=('c6c9714e21531c825c306b107bc6f6c7bfa2d5270a14bad170f8de5a73d34802'
'SKIP'
'616ce4015a3d56c49bc5f839eed4c021483b08f730b36c9a7172724bed2cbdce'
'452b8d4d71e1565ca91b1bebb280693549222ef51c47ba8964e411b2d461699c')
@@ -53,8 +52,8 @@ prepare() {
cp ../config .config
yes "" | make ARCH=um config >/dev/null
- make ARCH=um kernelrelease > ../version
- msg2 "Prepared %s version %s" "$pkgbase" "$(<../version)"
+ make ARCH=um kernelrelease > version
+ msg2 "Prepared %s version %s" "$pkgbase" "$(<version)"
msg2 "Save configuration for later reuse"
cat .config > "${startdir}/config.last"
@@ -76,9 +75,8 @@ _package() {
_package-modules() {
- local kernver="$(<version)"
-
cd ${_srcname}
+ local kernver="$(<version)"
# make ARCH=um INSTALL_MOD_PATH="${pkgdir}/usr" modules_install
make ARCH=um INSTALL_MOD_PATH="${pkgdir}/usr" _modinst_
rm -f $pkgdir/usr/lib/modules/${kernver}/{source,build}