# HG changeset patch # User Christophe Lincoln # Date 1217114329 -7200 # Node ID d442045183a5288ea56a59bef53e75b3ddcdd621 # Parent 0e74237199bc4ced9baeaa90e9e704cfd4763fab linux: add new entry to grub menu.lst in case of upgrade diff -r 0e74237199bc -r d442045183a5 linux/receipt --- a/linux/receipt Sun Jul 27 00:57:59 2008 +0200 +++ b/linux/receipt Sun Jul 27 01:18:49 2008 +0200 @@ -4,6 +4,7 @@ VERSION="2.6.25.5" CATEGORY="base-system" SHORT_DESC="The Linux kernel and modules." +BUILD_DEPENDS="slitaz-toolchain perl" MAINTAINER="pascal.bellard@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://www.kernel.org/" @@ -81,14 +82,25 @@ { echo "Processing post-install commands..." depmod -a -b "$1/" $VERSION-slitaz - cat <> $1/boot/grub/menu.lst << EOT + +title SliTaz GNU/Linux (Kernel $VERSION-slitaz) +$grub_dev + kernel /boot/vmlinuz-$VERSION-slitaz root=$root_dev +EOT + # Display information message. + cat <