From e89056b638864a6f9a2e9263e9d4817390ae6361 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Richard=20P=C3=B6ttler?= Date: Fri, 30 Nov 2007 10:41:22 +0100 Subject: [PATCH] Renamed linux to kernel Also the config files changed from linux.{config,release} to kernel.{config,release} The patches are now stored in the /usr/src/linux.patches/... directories --- {linux => kernel}/.md5sum | 0 {linux => kernel}/Pkgfile | 18 +++++++++--------- {linux => kernel}/README | 8 ++++---- {linux => kernel}/post-install | 0 4 files changed, 13 insertions(+), 13 deletions(-) rename {linux => kernel}/.md5sum (100%) rename {linux => kernel}/Pkgfile (73%) rename {linux => kernel}/README (73%) rename {linux => kernel}/post-install (100%) diff --git a/linux/.md5sum b/kernel/.md5sum similarity index 100% rename from linux/.md5sum rename to kernel/.md5sum diff --git a/linux/Pkgfile b/kernel/Pkgfile similarity index 73% rename from linux/Pkgfile rename to kernel/Pkgfile index 0d1fec2..dadba65 100644 --- a/linux/Pkgfile +++ b/kernel/Pkgfile @@ -3,11 +3,11 @@ # URL: http://www.kernel.org/ # Depends on: -if [ -r /usr/src/linux.release ]; then - . /usr/src/linux.release +if [ -r /usr/src/kernel.release ]; then + . /usr/src/kernel.release fi -name=linux +name=kernel version=${version:-2.6.23.9} release=${release:-1} source=() @@ -18,16 +18,16 @@ build () { cd kernel # configure the kernel - if [ -r /usr/src/linux.config ]; then - cp /usr/src/linux.config .config + if [ -r /usr/src/kernel.config ]; then + cp /usr/src/kernel.config .config else make defconfig fi # apply patches - if [ -d /usr/src/kernel_patches/$version ]; then - for patch in `ls /usr/src/kernel_patches/$version`; do - patch -p1 < /usr/src/kernel_patches/$version/$patch + if [ -d /usr/src/kernel.patches/$version ]; then + for patch in `ls /usr/src/kernel.patches/$version`; do + patch -p1 < /usr/src/kernel.patches/$version/$patch done fi @@ -52,5 +52,5 @@ build () { ln -s /usr/src/linux $PKG/lib/modules/$version/source # copy the configuration for later use - install .config $PKG/boot/linux.config + install .config $PKG/boot/kernel.config } diff --git a/linux/README b/kernel/README similarity index 73% rename from linux/README rename to kernel/README index d4161b7..a16df34 100644 --- a/linux/README +++ b/kernel/README @@ -2,13 +2,13 @@ to build this package 'ketchup' from contrib is required. the kernel image and System.map file will be saved under /boot/{vmlinuz,System.map}. -a copy of the kernel configuration will be saved under /boot/linux.config. +a copy of the kernel configuration will be saved under /boot/kernel.config. CUSTOMIZE THE KERNEL: -/usr/src/linux.config will be used as .config file for the kernel. +/usr/src/kernel.config will be used as .config file for the kernel. if this file is missing 'make defconfig' will be run -/usr/src/linux.release is used to specify the version and name of the kernel. +/usr/src/kernel.release is used to specify the version and name of the kernel. two variables can be specified in this file: version= e.g. version=2.6.22.9 will download and compile version 2.6.22.9 of the kernel and pack it under @@ -17,7 +17,7 @@ CUSTOMIZE THE KERNEL: release value for the package if one of this variables is not present of not specified the packages default values will be used. -/usr/src/linux_patches//* all the patches for this kernel version will +/usr/src/kernel.patches//* all the patches for this kernel version will be applied with 'patch -p1 < ' POST-INSTALL: diff --git a/linux/post-install b/kernel/post-install similarity index 100% rename from linux/post-install rename to kernel/post-install -- 2.11.4.GIT