summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD14
1 files changed, 6 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d6578995b67..037af21bcb8 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=12
+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=('53bff6f89dca19f928043fb0d3434bfb4b6abbb1bf18b907cb731188bdac97a0'
'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}