diff options
author | tnut <thierryn1 at hispeed dot ch> | 2010-11-02 14:12:10 +0100 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2010-11-02 14:12:10 +0100 |
commit | 9f5779cf09c685ae323c837f3757e069fee4c1ba (patch) | |
tree | 192443f3f2bc90555041663a1c4c0a48c64284e2 /base/kernel-34/Pkgfile | |
parent | eaa66f59c911c4be6e65188d70e64c955c5fe25c (diff) | |
download | nutyx-extra-9f5779cf09c685ae323c837f3757e069fee4c1ba.tar.gz nutyx-extra-9f5779cf09c685ae323c837f3757e069fee4c1ba.tar.bz2 nutyx-extra-9f5779cf09c685ae323c837f3757e069fee4c1ba.tar.xz nutyx-extra-9f5779cf09c685ae323c837f3757e069fee4c1ba.zip |
kernel-34, maj 2.6.34.7-5
Diffstat (limited to 'base/kernel-34/Pkgfile')
-rw-r--r-- | base/kernel-34/Pkgfile | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/base/kernel-34/Pkgfile b/base/kernel-34/Pkgfile index bbfcabd48..e64432f58 100644 --- a/base/kernel-34/Pkgfile +++ b/base/kernel-34/Pkgfile @@ -6,11 +6,11 @@ name=kernel-34 version=2.6.34.7 _BaseVersion=2.6.34 -release=4 +release=5 PKGMK_NO_STRIP="yes" -SCRIPT_VERSION="attapu" -_extra=10102010 -_tools=24102010 +SCRIPT_VERSION="attapu.1" +_extra=31102010 +_tools=31102010 source=(http://www.kernel.org/pub/linux/kernel/v2.6/linux-${_BaseVersion}.tar.bz2 config_64 config\ http://www.kernel.org/pub/linux/kernel/v2.6/patch-$version.bz2\ http://nutyx.meticul.eu/install-${SCRIPT_VERSION}.ash\ @@ -18,6 +18,16 @@ source=(http://www.kernel.org/pub/linux/kernel/v2.6/linux-${_BaseVersion}.tar.bz http://nutyx.meticul.eu/files/installtools-${_tools}.tar.gz) build(){ +for i in setup-install setup-mirroir +do + sed -i "s|#INSTALL#|install-$SCRIPT_VERSION.ash|" \ + nutyx-initrd-2009/rootfs/install/$i || exit 1 +done +for i in main.txt functions setup-grub setup-grub +do + sed -i "s|#VERSION#|MINI $SCRIPT_VERSION|g" \ + nutyx-initrd-2009/rootfs/install/$i +done bzip2 -d patch-$version.bz2 cd linux-${_BaseVersion} make mrproper @@ -69,7 +79,7 @@ mv $SRC/linux-${_BaseVersion}/arch/x86 $PKG/usr/src/linux-${_BaseVersion}/arch mv $SRC/linux-${_BaseVersion}/vmlinux $PKG/usr/src/linux-${_BaseVersion}/ mv $SRC/linux-${_BaseVersion}/Module.symvers $PKG/usr/src/linux-${_BaseVersion}/ mkdir -p $PKG/root/bin -install -755 $SRC/install-${SCRIPT_VERSION}.ash \ +install -m755 $SRC/install-${SCRIPT_VERSION}.ash \ $PKG/root/bin/install-${SCRIPT_VERSION}.ash cd $SRC bsdtar -c "-J" -f $PKG/boot/nutyx-initrd.tar.xz nutyx-initrd-2009 |