wok diff linux-source/receipt @ rev 4957
init script for mysql, openldap & postgresql always check /etc/<daemon>.d/*
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 17 22:01:10 2010 +0100 (2010-02-17) |
parents | 92cea60a3573 |
children | 0a141e63543b |
line diff
1.1 --- a/linux-source/receipt Tue Dec 22 10:10:01 2009 +0100 1.2 +++ b/linux-source/receipt Wed Feb 17 22:01:10 2010 +0100 1.3 @@ -16,7 +16,8 @@ 1.4 $fs/lib/modules/$VERSION-slitaz/ 1.5 ln -s linux-$VERSION-slitaz $fs/usr/src/linux 1.6 cp -a $src/slitaz $fs/usr/src/linux-$VERSION-slitaz 1.7 - 1.8 + cp -a stuff/buildtaz $fs/usr/src/linux-$VERSION-slitaz/slitaz 1.9 + cp -a stuff/make-tazpkg.u $fs/usr/src/linux-$VERSION-slitaz/slitaz 1.10 # Copy Aufs2 source files 1.11 if [ -d $WOK/$WANTED/aufs2 ]; then 1.12 mkdir $fs/usr/src/linux-$VERSION-slitaz/slitaz/aufs2 1.13 @@ -44,6 +45,12 @@ 1.14 mv linux-$VERSION linux-$VERSION-slitaz 1.15 cd linux-$VERSION-slitaz 1.16 cp -pa slitaz/aufs2/* . 1.17 + # Add tazpkg support 1.18 + if [ -d "scripts/package" ]; then 1.19 + cp -pa slitaz/buildtaz scripts/package 1.20 + patch -p1 -i slitaz/make-tazpkg.u 1.21 + fi 1.22 + 1.23 while read patch_file; do 1.24 echo "Apply $patch_file" 1.25 patch -p1 < slitaz/$patch_file 1.26 @@ -64,6 +71,9 @@ 1.27 $ make modules_install 1.28 $ cp -a arch/x86/boot/bzImage /boot/vmlinuz-$VERSION-slitaz 1.29 1.30 +To make a Slitaz package with the new kernel and the modules: 1.31 +$ make tazpkg 1.32 + 1.33 See /usr/src/linux-$VERSION-slitaz/README 1.34 ---- 1.35 EOT 1.36 @@ -79,3 +89,4 @@ 1.37 rm -rf /usr/src/linux-$VERSION-slitaz 1.38 } 1.39 1.40 +