This commit is contained in:
Sergej Pupykin 2015-07-01 16:27:17 +03:00
parent 962904c01b
commit 4d5efba6c4
3 changed files with 9 additions and 6 deletions

View file

@ -1,6 +1,6 @@
pkgbase = linux-usermode
pkgdesc = User mode Linux kernel and modules
pkgver = 4.1.0
pkgver = 4.1.1
pkgrel = 1
url = http://user-mode-linux.sourceforge.net/
arch = i686
@ -12,9 +12,11 @@ pkgbase = linux-usermode
makedepends = vde2
depends = coreutils
source = http://www.kernel.org/pub/linux/kernel/v4.x/linux-4.1.tar.xz
source = http://www.kernel.org/pub/linux/kernel/v4.x/patch-4.1.1.xz
source = config-i686
source = config-x86_64
md5sums = fe9dc0f6729f36400ea81aa41d614c37
md5sums = 7766291e05ecf0b53d79c532cb44db6c
md5sums = 3f269b45d681772081d1ef7f5a5b2701
md5sums = 87db1e4450352d472798b98996501e1a

View file

@ -3,7 +3,7 @@ true && pkgname=(linux-usermode linux-usermode-modules)
pkgbase=linux-usermode
_kernelname=-usermodelinux
_srcname=linux-4.1
pkgver=4.1.0
pkgver=4.1.1
pkgrel=1
pkgdesc="User mode Linux kernel and modules"
arch=('i686' 'x86_64')
@ -12,16 +12,17 @@ url="http://user-mode-linux.sourceforge.net/"
depends=('coreutils')
makedepends=('bc' 'inetutils' 'vde2-static' 'vde2')
source=("http://www.kernel.org/pub/linux/kernel/v4.x/${_srcname}.tar.xz"
# "http://www.kernel.org/pub/linux/kernel/v4.x/patch-${pkgver}.xz"
"http://www.kernel.org/pub/linux/kernel/v4.x/patch-${pkgver}.xz"
config-i686
config-x86_64)
md5sums=('fe9dc0f6729f36400ea81aa41d614c37'
'7766291e05ecf0b53d79c532cb44db6c'
'3f269b45d681772081d1ef7f5a5b2701'
'87db1e4450352d472798b98996501e1a')
prepare() {
cd "${srcdir}/${_srcname}"
# patch -p1 -i "${srcdir}/patch-${pkgver}"
patch -p1 -i "${srcdir}/patch-${pkgver}"
}
build() {
@ -36,7 +37,7 @@ build() {
#make ARCH=um oldconfig
#return 1
#make ARCH=um vmlinux modules KCFLAGS=-fPIC
# make ARCH=um vmlinux modules KCFLAGS=-fPIC
make ARCH=um vmlinux modules KCFLAGS="-fPIC -D__used='__attribute__((__used__))'"
}

View file

@ -1,4 +1,4 @@
KERNEL_VERSION=4.1.0-usermodelinux
KERNEL_VERSION=4.1.1-usermodelinux
post_install() {
echo ">>> Updating module dependencies. Please wait ..."