wok-4.x rev 1127
linux-source: some post-install messages
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 22 13:49:27 2008 +0000 (2008-07-22) |
parents | 17474ac97dec |
children | d5b93c942f68 |
files | linux-source/receipt |
line diff
1.1 --- a/linux-source/receipt Tue Jul 22 08:03:16 2008 +0000 1.2 +++ b/linux-source/receipt Tue Jul 22 13:49:27 2008 +0000 1.3 @@ -29,7 +29,7 @@ 1.4 wget -c $url 1.5 tar xjf $(basename $url) 1.6 mv linux-$VERSION-slitaz/slitaz linux-$VERSION 1.7 - rmdir linux-$VERSION-slitaz 1.8 + rm -rf linux-$VERSION-slitaz 1.9 mv linux-$VERSION linux-$VERSION-slitaz 1.10 cd linux-$VERSION-slitaz 1.11 while read patch_file; do 1.12 @@ -38,11 +38,28 @@ 1.13 done < slitaz/patches 1.14 cp slitaz/config .config 1.15 make oldconfig && make prepare 1.16 + cat <<EOT 1.17 +---- 1.18 +To modify the kernel configuration: 1.19 +$ cd /usr/src/linux-$VERSION-slitaz 1.20 +$ make menuconfig 1.21 + 1.22 +To build the kernel and the modules: 1.23 +$ cd /usr/src/linux-$VERSION-slitaz 1.24 +$ make bzImage && make modules 1.25 + 1.26 +To install the new kernel and the modules: 1.27 +$ make modules_install 1.28 +$ cp -a arch/x86/boot/bzImage /boot/vmlinuz-$VERSION-slitaz 1.29 + 1.30 +See /usr/src/linux-$VERSION-slitaz/README 1.31 +---- 1.32 +EOT 1.33 } 1.34 1.35 pre_remove() 1.36 { 1.37 - rm $(basename $(cat /usr/src/linux-$VERSION-slitaz/slitaz/url)) 1.38 + rm $(basename $(cat /usr/src/linux-$VERSION-slitaz/slitaz/url)) 2> /dev/null || true 1.39 } 1.40 1.41 post_remove()