diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-06-30 18:49:46 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-06-30 18:49:46 +0000 |
commit | ff014fb4765b209cc0a55cd260c9d75156354e8e (patch) | |
tree | 989833432068f8ef18425b6b4e4d73c0064157cf /core/linux-grsec/APKBUILD | |
parent | 29826f4e925e84bded9640c8127919e2338a8ab0 (diff) | |
download | aports-ff014fb4765b209cc0a55cd260c9d75156354e8e.tar.bz2 aports-ff014fb4765b209cc0a55cd260c9d75156354e8e.tar.xz |
core/linux-grsec: move build symlink to -dev package
Diffstat (limited to 'core/linux-grsec/APKBUILD')
-rw-r--r-- | core/linux-grsec/APKBUILD | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/core/linux-grsec/APKBUILD b/core/linux-grsec/APKBUILD index b12d5615f7..160d9abffc 100644 --- a/core/linux-grsec/APKBUILD +++ b/core/linux-grsec/APKBUILD @@ -60,11 +60,10 @@ build() { # point the build symlink to headers dir rm -f "$pkgdir"/lib/modules/${_abi_release}/build \ "$pkgdir"/lib/modules/${_abi_release}/source - ln -sf /usr/src/linux-headers-${_abi_release} \ - "$pkgdir"/lib/modules/${_abi_release}/build } dev() { + pkgdesc="Headers and script for third party modules for grsec kernel" # create flavored headers ubuntu style local dir="$subpkgdir"/usr/src/linux-headers-${_abi_release} mkdir -p "$dir" @@ -90,6 +89,10 @@ dev() { install -Dm644 "$srcdir"/build/Module.symvers \ "$dir"/Module.symvers + + mkdir -p "$subpkgdir"/lib/modules/${_abi_release} + ln -sf /usr/src/linux-headers-${_abi_release} \ + "$subpkgdir"/lib/modules/${_abi_release}/build } md5sums="64921b5ff5cdadbccfcd3820f03be7d8 linux-2.6.29.tar.bz2 |