Commit 16ed4da9 authored by Natanael Copa's avatar Natanael Copa

core/linux-grsec: build for 586. install Module.symvers

We need Module.symvers to build kernel module packages
parent 2fc90762
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=linux-grsec
_flavor=grsec
pkgname=linux-$_flavor
pkgver=2.6.28.9
pkgrel=0
pkgrel=1
pkgdesc="Linux kernel with grsecurity"
url=http://grsecurity.net
arch=i486
......@@ -22,13 +23,15 @@ build() {
INSTALL_MOD_PATH=$pkgdir \
INSTALL_PATH=$pkgdir/boot
cd "$pkgdir"/boot
mv vmlinuz ${pkgname#linux-}
mv System.map System-${pkgname#linux-}.map
mv vmlinuz $_flavor
}
dev() {
install -Dm644 "$srcdir"/$pkgname/Module.symvers \
"$subpkgdir"/boot/Module.symvers-$_flavor
install -Dm644 "$srcdir/kernelconfig" \
"$subpkgdir"/usr/share/$pkgname/config
"$subpkgdir"/boot/config-$_flavor
mv "$pkgdir"/boot/System.map "$subpkgdir"/boot/System.map-$_flavor
}
md5sums="b44152b7ca7199c3d6ab499a61f06fdd kernelconfig"
md5sums="d35b3562cf4d88cac8b8668c7d36391b kernelconfig"
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.28.7
# Thu Mar 19 12:44:45 2009
# Linux kernel version: 2.6.28.9
# Tue Apr 7 14:20:52 2009
#
# CONFIG_64BIT is not set
CONFIG_X86_32=y
......@@ -86,6 +86,7 @@ CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=""
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_SYSCTL=y
CONFIG_ANON_INODES=y
CONFIG_EMBEDDED=y
CONFIG_UID16=y
CONFIG_SYSCTL_SYSCALL=y
......@@ -95,10 +96,8 @@ CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
CONFIG_PCSPKR_PLATFORM=y
# CONFIG_COMPAT_BRK is not set
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_ANON_INODES=y
CONFIG_EPOLL=y
CONFIG_SIGNALFD=y
CONFIG_TIMERFD=y
......@@ -108,6 +107,7 @@ CONFIG_AIO=y
CONFIG_VM_EVENT_COUNTERS=y
CONFIG_PCI_QUIRKS=y
# CONFIG_SLUB_DEBUG is not set
# CONFIG_COMPAT_BRK is not set
# CONFIG_SLAB is not set
CONFIG_SLUB=y
# CONFIG_SLOB is not set
......@@ -180,8 +180,8 @@ CONFIG_PARAVIRT=y
CONFIG_PARAVIRT_CLOCK=y
# CONFIG_MEMTEST is not set
# CONFIG_M386 is not set
CONFIG_M486=y
# CONFIG_M586 is not set
# CONFIG_M486 is not set
CONFIG_M586=y
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
......@@ -238,7 +238,7 @@ CONFIG_PREEMPT_NONE=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y
# CONFIG_X86_MCE is not set
# CONFIG_VM86 is not set
CONFIG_VM86=y
CONFIG_TOSHIBA=m
CONFIG_I8K=m
CONFIG_X86_REBOOTFIXUPS=y
......@@ -4133,6 +4133,7 @@ CONFIG_PAX_HAVE_ACL_FLAGS=y
# Non-executable pages
#
CONFIG_PAX_NOEXEC=y
# CONFIG_PAX_PAGEEXEC is not set
CONFIG_PAX_SEGMEXEC=y
# CONFIG_PAX_EMUTRAMP is not set
CONFIG_PAX_MPROTECT=y
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment