wok-6.x annotate linux/receipt @ rev 12803
linux: dep on kmod for i486 and handle arm ARCH
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 19 00:04:09 2012 +0200 (2012-05-19) |
parents | 8106b97b965e |
children | 4c9801543b7c |
rev | line source |
---|---|
pankso@3 | 1 # SliTaz package receipt. |
pankso@3 | 2 |
pankso@3 | 3 PACKAGE="linux" |
pankso@3 | 4 CATEGORY="base-system" |
pankso@3 | 5 SHORT_DESC="The Linux kernel and modules." |
pankso@3864 | 6 MAINTAINER="devel@slitaz.org" |
pankso@3 | 7 WEB_SITE="http://www.kernel.org/" |
pankso@12285 | 8 WGET_URL="http://www.kernel.org/pub/linux/kernel/v3.0/$TARBALL" |
pankso@12803 | 9 HOST_ARCH="i486 arm x86_64" |
pankso@12803 | 10 |
pankso@12803 | 11 # Aufs enable chroot |
pascal@12625 | 12 AUFS_NOT_SUPPORTED="uclibc-cross-compiler-x86_64 is not compatible with aufs 8(" |
pankso@3 | 13 |
pankso@12803 | 14 # This will save/restore the modules.dep but we want to regenerate it |
pankso@12803 | 15 # on install/upgrade. |
pankso@12803 | 16 #CONFIG_FILES="/lib/modules/$KBASEVER-slitaz/modules.dep" |
pankso@12803 | 17 |
pankso@12803 | 18 case "$ARCH" in |
pankso@12803 | 19 i?86) |
pankso@12803 | 20 VERSION="3.2.14" |
pankso@12803 | 21 KBASEVER="${VERSION:0:3}" |
pankso@12803 | 22 TARBALL="$PACKAGE-$KBASEVER.tar.xz" |
pankso@12803 | 23 DEPENDS="kmod" |
pankso@12803 | 24 BUILD_DEPENDS="slitaz-toolchain perl git xz lzma patch uclibc-cross-compiler-x86_64" |
pankso@12803 | 25 [ "$KBASEVER" != "$VERSION" ] && PATCH="http://www.kernel.org/pub/linux/kernel/v3.0/patch-$VERSION.xz" ;; |
pankso@12803 | 26 arm) |
pankso@12803 | 27 # Old school way :-) Until ARM was tested on real hardware and |
pankso@12803 | 28 # we know wich modules/features we realy need for ARM machines. |
pankso@12803 | 29 # No deps on kmod since we use Busybox modutils for ARM. |
pankso@12803 | 30 VERSION="2.6.35.13" |
pankso@12803 | 31 TARBALL="$PACKAGE-$VERSION.tar.bz2" ;; |
pankso@12803 | 32 esac |
pankso@9731 | 33 |
pankso@3 | 34 # Rules to configure and make the package. |
pankso@3 | 35 compile_rules() |
pankso@3 | 36 { |
pankso@9731 | 37 cd $src |
pankso@12803 | 38 |
pankso@12803 | 39 case "$ARCH" in |
pankso@12803 | 40 arm) |
pankso@12803 | 41 echo "Compiling: ARM Kernel" |
pankso@12803 | 42 make mrproper && |
pankso@12803 | 43 cp -f $stuff/$ARCH/linux-slitaz.config .config && |
pankso@12803 | 44 make ARCH=$ARCH CROSS_COMPILE=${HOST_SYSTEM}- bzImage && |
pankso@12803 | 45 make ARCH=$ARCH CROSS_COMPILE=${HOST_SYSTEM}- modules && |
pankso@12803 | 46 make ARCH=$ARCH CROSS_COMPILE=${HOST_SYSTEM}- \ |
pankso@12803 | 47 INSTALL_MOD_PATH=$DESTDIR modules_install && |
pankso@12803 | 48 mkdir -p $DESTDIR/boot && |
pankso@12803 | 49 mv arch/arm/boot/compressed/vmlinux \ |
pankso@12803 | 50 $DESTDIR/boot/linux-$VERSION-slitaz-$ARCH |
pankso@12803 | 51 return 0 ;; |
pankso@12803 | 52 x86_64) |
pankso@12803 | 53 echo "TODO: Maybe use default ? But cross compile in x86_64 chroot" |
pankso@12803 | 54 echo "so we can remove the 64 build by uclibc-cross-compiler-x86_64" |
pankso@12803 | 55 return 0 ;; |
pankso@12803 | 56 esac |
pankso@12803 | 57 |
slaxemulator@7131 | 58 # this is code to help update the kernel version faster |
slaxemulator@7131 | 59 #for i in $(grep -l 'WANTED="linux"' $WOK/*/receipt) |
slaxemulator@7131 | 60 #do |
slaxemulator@7131 | 61 # sed -i 's|VERSION="OLDVERSION"|VERSION="NEWVERSION"|g' $i |
slaxemulator@7131 | 62 #done |
slaxemulator@8616 | 63 |
gokhlayeh@11395 | 64 [ ! -x /usr/bin/cook ] && report open-bloc |
pankso@9731 | 65 |
pankso@9731 | 66 # Check for Aufs and cook it if unbuilt. |
pankso@9731 | 67 echo "Checking for Aufs packages..." |
pankso@12285 | 68 _AUFSVER=`grep ^VERSION= $WOK/aufs/receipt | cut -d "=" -f2 | sed -e 's/"//g'` |
pankso@12285 | 69 if [ -x /usr/bin/cook ]; then |
gokhlayeh@11395 | 70 # Give info an redirect to /dev/null since aufs got it own log. |
gokhlayeh@11395 | 71 AUFSDIR=$WOK/aufs/source/aufs-${_AUFSVER} |
pankso@12285 | 72 [ -d "$AUFSDIR" ] && rm -rf $AUFSDIR |
pankso@12285 | 73 #echo "Cook: aufs $_AUFSVER" |
pankso@12288 | 74 cook aufs --getsrc |
pankso@12288 | 75 mkdir -p $WOK/aufs/source/ |
pankso@12289 | 76 tar xjf $SRC/aufs-${_AUFSVER}.tar.bz2 -C $WOK/aufs/source/ |
pankso@12285 | 77 elif [ -x /usr/bin/tazwok ]; then |
pankso@12285 | 78 # we just need aufs source. Also cooking now is a bad idea since it |
pankso@12285 | 79 # needs linux-module-headers. The one your cooking not the one from the web. |
gokhlayeh@11395 | 80 AUFSDIR=$WOK/aufs/aufs-${_AUFSVER} |
gokhlayeh@11395 | 81 [ -d "$AUFSDIR" ] && rm -rf $AUFSDIR |
gokhlayeh@11395 | 82 tazwok get-src aufs --target=$AUFSDIR || { report close-bloc; return 1; } |
pankso@9731 | 83 fi |
pankso@12285 | 84 echo "cook:linux" > $command |
pankso@12285 | 85 |
pankso@9731 | 86 echo "Copying Aufs files and patches..." |
slaxemulator@7297 | 87 cp -a $AUFSDIR/Documentation $AUFSDIR/fs $AUFSDIR/include $src |
pankso@12285 | 88 cp -a $AUFSDIR/aufs3-*.patch $stuff |
pankso@12285 | 89 |
pankso@4251 | 90 # SliTaz db |
pankso@12285 | 91 [ -d $WOK/$PACKAGE/source/slitaz ] && rm -rf $WOK/$PACKAGE/source/slitaz 2> /dev/null |
pankso@12285 | 92 mkdir -p $WOK/$PACKAGE/source/slitaz |
pankso@12290 | 93 echo "$WGET_URL" > $WOK/$PACKAGE/source/slitaz/url |
pankso@12285 | 94 cp $stuff/gztazmod.sh $stuff/list_modules.sh $WOK/$PACKAGE/source/slitaz |
pankso@12285 | 95 cp $stuff/bootloader.sh $WOK/$PACKAGE/source/slitaz |
pankso@12803 | 96 |
pankso@5640 | 97 # Apply patches |
pankso@9731 | 98 echo "Applying patches..." |
pascal@521 | 99 while read patch_file; do |
pankso@12285 | 100 echo "$patch_file" >> $WOK/$PACKAGE/source/slitaz/patches |
pankso@12285 | 101 cp $stuff/$patch_file $WOK/$PACKAGE/source/slitaz |
pascal@1442 | 102 if [ -f done.$patch_file ]; then |
pascal@1442 | 103 echo "Skipping $patch_file" |
pascal@1442 | 104 continue |
pascal@1442 | 105 fi |
pascal@521 | 106 echo "Apply $patch_file" |
pankso@12285 | 107 if [ -x /usr/bin/cook ]; then |
pankso@12285 | 108 patch -p1 < $WOK/$PACKAGE/source/slitaz/$patch_file || return 1 |
pankso@12285 | 109 elif [ -x /usr/bin/tazwok ]; then |
pankso@12285 | 110 patch -p1 < $WOK/$PACKAGE/source/slitaz/$patch_file || { report close-bloc; return 1; } |
pankso@12285 | 111 fi |
pascal@1442 | 112 touch done.$patch_file |
pascal@521 | 113 done <<EOT |
pankso@12285 | 114 $PACKAGE-diff.u |
pankso@12285 | 115 $PACKAGE-header.u |
pankso@12285 | 116 $PACKAGE-freeinitrd.u |
pankso@12285 | 117 aufs3-base.patch |
pankso@12285 | 118 aufs3-standalone.patch |
pankso@12285 | 119 aufs3-loopback.patch |
pankso@12285 | 120 aufs3-proc_map.patch |
pankso@12285 | 121 channel-negative-one-maxim.patch |
pankso@12285 | 122 mac80211.compat08082009.wl_frag+ack_v1.patch |
pascal@521 | 123 EOT |
pankso@9731 | 124 |
pankso@12285 | 125 if [ "$KBASEVER" != "$VERSION" ]; then |
pankso@12285 | 126 if [ -f $SOURCES_REPOSITORY/$(basename $PATCH) ]; then |
pankso@12285 | 127 xzcat $SOURCES_REPOSITORY/$(basename $PATCH) | patch -Np1 |
pankso@12285 | 128 touch done.patch-$VERSION |
pankso@12285 | 129 else |
pankso@12285 | 130 wget $PATCH -O $SRC/$(basename $PATCH) |
pankso@12285 | 131 xzcat $SRC/$(basename $PATCH) | patch -Np1 |
pankso@12285 | 132 touch done.patch-$VERSION |
pankso@12285 | 133 fi |
pankso@12285 | 134 fi |
pankso@12285 | 135 |
pankso@12285 | 136 sed -i 's|SUBLEVEL =.*|SUBLEVEL =|g' Makefile |
pankso@12285 | 137 |
gokhlayeh@11395 | 138 [ ! -x /usr/bin/cook ] && report step "Make kernel proper and then build lguest" |
pankso@12294 | 139 [ -x /usr/bin/cook ] && echo "Make kernel proper and then build lguest" |
pankso@3864 | 140 make mrproper |
pankso@12285 | 141 cd Documentation/virtual/lguest |
pankso@12285 | 142 if [ -x /usr/bin/cook ]; then |
pankso@12285 | 143 make lguest || return 1 |
pankso@12285 | 144 elif [ -x /usr/bin/tazwok ]; then |
pankso@12285 | 145 make lguest || { report close-bloc; return 1; } |
pankso@12285 | 146 fi |
slaxemulator@8681 | 147 cd $src |
pankso@12803 | 148 |
pascal@12570 | 149 case "$opt" in |
pascal@12570 | 150 *--no64*);; |
pascal@12570 | 151 *) |
pankso@12294 | 152 # |
pankso@12294 | 153 # Arch x86_64 |
pankso@12294 | 154 # |
pankso@12294 | 155 [ ! -x /usr/bin/cook ] && report step "Make bzImage64 without modules first" |
pankso@12294 | 156 [ -x /usr/bin/cook ] && echo "Building x86_64 Kernel" |
pankso@12803 | 157 |
pankso@12285 | 158 # Build bzImage64 without modules first |
pascal@12293 | 159 cp -f $stuff/$PACKAGE-slitaz.config64 .config |
pankso@12285 | 160 sed -i 's/CONFIG_MODULES=y/# CONFIG_MODULES is not set/' .config |
pankso@12803 | 161 |
pankso@12803 | 162 # We can't keep every driver in staging |
pankso@12285 | 163 sed -i -e 's/^CONFIG_RTL8192/#&/' \ |
pankso@12285 | 164 -e 's/^CONFIG_R8187SE/#&/' \ |
pankso@12285 | 165 -e 's/^CONFIG_RT2870/#&/' .config |
pankso@12285 | 166 yes '' | make ARCH=x86_64 oldconfig |
pankso@12285 | 167 if [ -x /usr/bin/cook ]; then |
pankso@12285 | 168 make -j 4 ARCH=x86_64 CROSS_COMPILE=uclibc-x86_64- bzImage || exit 1 |
pankso@12285 | 169 elif [ -x /usr/bin/tazwok ]; then |
pankso@12285 | 170 make -j 4 ARCH=x86_64 CROSS_COMPILE=uclibc-x86_64- bzImage || { report close-bloc; return 1; } |
pankso@12285 | 171 fi |
pankso@12285 | 172 [ -d $PWD/_pkg ] || mkdir -p $DESTDIR/linux64 |
pankso@12285 | 173 mv arch/x86/boot/bzImage $DESTDIR/linux64 |
pankso@12285 | 174 mv System.map System.map-without-modules64 |
pankso@12285 | 175 |
pankso@12285 | 176 [ ! -x /usr/bin/cook ] && report step "Now build bzImage64 with modules" |
pankso@12803 | 177 |
pankso@12285 | 178 # Build bzImage64 with modules |
pascal@12293 | 179 cp -f $stuff/$PACKAGE-slitaz.config64 .config |
pankso@12285 | 180 #make ARCH=x86_64 oldconfig |
pankso@12285 | 181 ln .config $WOK/$PACKAGE/slitaz/config64 |
pankso@12285 | 182 make -j 4 ARCH=x86_64 CROSS_COMPILE=uclibc-x86_64- bzImage && |
pankso@12285 | 183 make -j 4 ARCH=x86_64 CROSS_COMPILE=uclibc-x86_64- modules && |
pankso@12285 | 184 make ARCH=x86_64 INSTALL_MOD_PATH=$DESTDIR/linux64 modules_install && |
pankso@12285 | 185 make ARCH=x86_64 INSTALL_HDR_PATH=$DESTDIR/linux64/usr headers_install && |
pankso@12285 | 186 if [ -x /usr/bin/cook ]; then |
pankso@12285 | 187 [ -s arch/x86/boot/bzImage ] || return 1 |
pankso@12285 | 188 elif [ -x /usr/bin/tazwok ]; then |
pankso@12285 | 189 [ -s arch/x86/boot/bzImage ] || { report close-bloc; return 1; } |
pankso@12285 | 190 fi |
pankso@12285 | 191 mkdir -p $DESTDIR/linux64/boot 2> /dev/null |
pankso@12285 | 192 mv arch/x86/boot/bzImage $DESTDIR/linux64/boot/vmlinuz-$VERSION-slitaz |
pankso@12285 | 193 ln System.map System.map-modules64 |
pankso@12285 | 194 ln Module.symvers Module.symvers-modules64 |
pascal@12570 | 195 esac |
pankso@12803 | 196 |
pankso@12294 | 197 # |
pankso@12294 | 198 # Standard kernel |
pankso@12294 | 199 # |
pankso@12294 | 200 [ ! -x /usr/bin/cook ] && report step "Make bzImage without modules first" |
pankso@12294 | 201 [ -x /usr/bin/cook ] && echo "Building standard kernel..." |
pankso@12803 | 202 |
pankso@12294 | 203 # Build bzImage without modules first |
pankso@12294 | 204 cp -f $stuff/$PACKAGE-slitaz.config .config |
pankso@12294 | 205 sed -i 's/CONFIG_MODULES=y/# CONFIG_MODULES is not set/' .config |
pankso@12803 | 206 |
pankso@12803 | 207 # We can't keep every driver in staging |
pankso@12294 | 208 sed -i -e 's/^CONFIG_RTL8192/#&/' \ |
pankso@12294 | 209 -e 's/^CONFIG_R8187SE/#&/' \ |
pankso@12294 | 210 -e 's/^CONFIG_RT2870/#&/' .config |
pankso@12294 | 211 yes '' | make oldconfig |
pankso@12294 | 212 if [ -x /usr/bin/cook ]; then |
pankso@12294 | 213 make -j 4 bzImage || exit 1 |
pankso@12294 | 214 elif [ -x /usr/bin/tazwok ]; then |
pankso@12294 | 215 make -j 4 bzImage || { report close-bloc; return 1; } |
pankso@12294 | 216 fi |
pankso@12294 | 217 [ -d $DESTDIR ] || mkdir -p $DESTDIR |
pankso@12294 | 218 mv arch/x86/boot/bzImage $DESTDIR |
pankso@12294 | 219 mv System.map System.map-without-modules |
pankso@12294 | 220 |
pankso@12294 | 221 [ ! -x /usr/bin/cook ] && report step "Now build bzImage with modules" |
pankso@12803 | 222 |
pankso@12294 | 223 # Build bzImage with modules |
pankso@12294 | 224 cp -f $stuff/$PACKAGE-slitaz.config .config |
pankso@12294 | 225 #make oldconfig |
pankso@12294 | 226 ln .config $WOK/$PACKAGE/source/slitaz/config |
pankso@12294 | 227 make -j 4 bzImage && |
pankso@12294 | 228 make -j 4 modules && |
pankso@12294 | 229 make INSTALL_MOD_PATH=$DESTDIR modules_install && |
pankso@12294 | 230 make INSTALL_HDR_PATH=$DESTDIR/usr headers_install && |
pankso@12294 | 231 if [ -x /usr/bin/cook ]; then |
pankso@12294 | 232 [ -s arch/x86/boot/bzImage ] || return 1 |
pankso@12294 | 233 elif [ -x /usr/bin/tazwok ]; then |
pankso@12294 | 234 [ -s arch/x86/boot/bzImage ] || { report close-bloc; return 1; } |
pankso@12294 | 235 fi |
pankso@12294 | 236 mkdir -p $DESTDIR/boot 2> /dev/null |
pankso@12294 | 237 mv arch/x86/boot/bzImage $DESTDIR/boot/vmlinuz-$VERSION-slitaz |
pankso@12803 | 238 |
gokhlayeh@11395 | 239 [ ! -x /usr/bin/cook ] && report step "Compressing all modules" |
pankso@12803 | 240 |
slaxemulator@6719 | 241 # Compress all modules. |
pankso@12285 | 242 $stuff/gztazmod.sh $DESTDIR/lib/modules/$KBASEVER-slitaz |
pankso@12285 | 243 $stuff/gztazmod.sh $DESTDIR/linux64/lib/modules/$KBASEVER-slitaz |
pascal@7667 | 244 ln System.map System.map-modules |
pascal@7667 | 245 ln Module.symvers Module.symvers-modules |
pankso@12803 | 246 |
gokhlayeh@11395 | 247 if [ ! -x /usr/bin/cook ]; then |
gokhlayeh@11395 | 248 report close-bloc |
gokhlayeh@11395 | 249 fi |
pankso@3864 | 250 } |
erjo@253 | 251 |
pankso@3 | 252 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3 | 253 genpkg_rules() |
pankso@3 | 254 { |
pankso@12803 | 255 case "$ARCH" in |
pankso@12803 | 256 arm) |
pankso@12803 | 257 echo "Packing: ARM Kernel" |
pankso@12803 | 258 cp -a $install/* $fs |
pankso@12803 | 259 rm -f $fs/lib/modules/*/build $fs/lib/modules/*/source |
pankso@12803 | 260 return 0 ;; |
pankso@12803 | 261 x86_64) |
pankso@12803 | 262 echo "TODO: use default or custom x86_64 packing" |
pankso@12803 | 263 return 0 ;; |
pankso@12803 | 264 esac |
pankso@12803 | 265 |
pascal@12300 | 266 export PACKAGE VERSION |
pascal@521 | 267 local path |
pascal@7656 | 268 cp -a $_pkg/boot $fs |
pankso@3 | 269 # Compress all modules. |
pascal@12558 | 270 $stuff/gztazmod.sh $_pkg/lib/modules/$KBASEVER-slitaz |
pankso@12285 | 271 path=$fs/lib/modules/$KBASEVER-slitaz/kernel |
pascal@521 | 272 mkdir -p $path |
pankso@12285 | 273 cp -a $_pkg/lib/modules/$KBASEVER-slitaz/mo* \ |
pankso@12285 | 274 $fs/lib/modules/$KBASEVER-slitaz |
pankso@5640 | 275 # Get the base modules |
pascal@886 | 276 export src |
pascal@886 | 277 export _pkg |
pankso@12285 | 278 mkdir -p $WOK/$PACKAGE/source/tmp |
slaxemulator@9701 | 279 $stuff/list_modules.sh \ |
pankso@12285 | 280 $(cat $stuff/modules.list) > $WOK/$PACKAGE/source/tmp/modules.list |
pankso@3864 | 281 while read module; do |
pascal@521 | 282 dir=$(dirname $module) |
pankso@535 | 283 [ -d $path/$dir ] || mkdir -p $path/$dir |
pankso@12285 | 284 cp -a $_pkg/lib/modules/$KBASEVER-slitaz/kernel/$module $path/$dir |
pankso@12285 | 285 done < $WOK/$PACKAGE/source/tmp/modules.list |
pascal@397 | 286 # Remove unresolved links |
pankso@12285 | 287 rm -f $fs/lib/modules/$KBASEVER-slitaz/build |
pankso@12285 | 288 rm -f $fs/lib/modules/$KBASEVER-slitaz/source |
pankso@12285 | 289 # Cook all packages with a kernel module |
pankso@12285 | 290 for i in $(cd $WOK; grep -l 'tazwok cook linux$' */receipt) |
pankso@12285 | 291 do |
pankso@12285 | 292 echo tazwok cook ${i%/receipt} |
pankso@12285 | 293 done |
pankso@12285 | 294 # Fixed modules.dep to use right path |
pankso@12285 | 295 # saves 100kb of space too |
pankso@12285 | 296 sed -i "s|$_pkg||g" $fs/lib/modules/$KBASEVER-slitaz/modules.dep |
pankso@12285 | 297 sed -i "s|99.98.$KBASEVER-slitaz|$KBASEVER-slitaz|g" $fs/lib/modules/$KBASEVER-slitaz/modules.dep |
pankso@12803 | 298 # Check and echo any module in kernel .config that's not added to |
pankso@5640 | 299 # one of linux-* pkgs |
pankso@12803 | 300 $stuff/check_modules.sh |
pankso@3 | 301 } |
pankso@3 | 302 |
pankso@3 | 303 # Pre and post install commands for Tazpkg. |
pankso@3 | 304 post_install() |
pankso@3 | 305 { |
pascal@521 | 306 echo "Processing post-install commands..." |
pankso@12803 | 307 case "$ARCH" in |
pankso@12803 | 308 arm) |
pankso@12803 | 309 echo "Kernel : /boot/linux-$VERSION-slitaz-$ARCH" |
pankso@12803 | 310 echo "Modules: /lib/modules/$VERSION-slitaz" |
pankso@12803 | 311 return 0 ;; |
pankso@12803 | 312 esac |
pankso@12285 | 313 chroot "$1/" depmod -a $KBASEVER-slitaz |
pankso@5640 | 314 # GRUB stuff. |
pankso@1154 | 315 if [ -f "$1/boot/grub/menu.lst" ]; then |
pankso@4056 | 316 root_dev=`cat $1/boot/grub/menu.lst | grep root= | sed 's/.*root=\([^ ]*\).*/\1/' | head -n 1` |
pankso@4056 | 317 grub_dev=`cat $1/boot/grub/menu.lst | grep "root (" | head -n 1` |
pankso@3864 | 318 # Add new kernel entry in case of upgrade for installed system. |
pankso@12291 | 319 if ! grep -q vmlinuz-$VERSION-slitaz $1/boot/grub/menu.lst; then |
pankso@4056 | 320 cat >> $1/boot/grub/menu.lst << EOT |
pankso@4056 | 321 |
pankso@4056 | 322 title SliTaz GNU/Linux (Kernel $VERSION-slitaz) |
pankso@4056 | 323 $grub_dev |
pankso@4056 | 324 kernel /boot/vmlinuz-$VERSION-slitaz root=$root_dev |
pankso@4056 | 325 EOT |
pankso@4056 | 326 fi |
pankso@4056 | 327 # Display information message. |
pankso@4056 | 328 cat <<EOT |
pankso@4056 | 329 ---- |
pankso@4056 | 330 GRUB is installed, these tree lines must be in your /boot/grub/menu.lst: |
pankso@1154 | 331 |
pankso@1154 | 332 title SliTaz GNU/Linux (Kernel $VERSION-slitaz) |
pankso@1154 | 333 $grub_dev |
pankso@4056 | 334 kernel /boot/vmlinuz-$VERSION-slitaz root=$root_dev |
pascal@886 | 335 ---- |
pascal@886 | 336 EOT |
pankso@1154 | 337 fi |
pankso@3 | 338 } |