wok-6.x rev 13175

atk: fix tarball
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jul 30 10:59:32 2012 +0200 (2012-07-30)
parents 27727d07d680
children 723c93a27922
files atk/receipt linux/stuff/bootloader.sh
line diff
     1.1 --- a/atk/receipt	Mon Jul 30 04:45:09 2012 +0000
     1.2 +++ b/atk/receipt	Mon Jul 30 10:59:32 2012 +0200
     1.3 @@ -7,7 +7,7 @@
     1.4  MAINTAINER="pankso@slitaz.org"
     1.5  DEPENDS="glib"
     1.6  BUILD_DEPENDS="libgio-dev glib-dev gobject-introspection-dev pkg-config"
     1.7 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
     1.8 +TARBALL="$PACKAGE-$VERSION.tar.xz"
     1.9  WEB_SITE="http://www.gnome.org/"
    1.10  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:3}/$TARBALL"
    1.11  TAGS="accessibility"
     2.1 --- a/linux/stuff/bootloader.sh	Mon Jul 30 04:45:09 2012 +0000
     2.2 +++ b/linux/stuff/bootloader.sh	Mon Jul 30 10:59:32 2012 +0200
     2.3 @@ -204,6 +204,12 @@
     2.4  	while [ -L "$RDEV" ]; do RDEV="$(readlink "$RDEV")"; done
     2.5  	[ -b "$RDEV" ] && RDEV=$(stat -c '0x%02t%02T' $RDEV 2> /dev/null)
     2.6  	store 16 $RootDevOfs $RDEV $bs RDEV
     2.7 +
     2.8 +	[ $FORMAT -lt 1440 ] && store 8 0xEF  16	 $bs	1.2M
     2.9 +	[ $FORMAT -lt 1200 ] && store 8 0xEF  10	 $bs	720K
    2.10 +	[ $FORMAT -lt 720  ] && store 8 0x171 40	 $bs	360K
    2.11 +	[ $FORMAT -lt 360  ] && store 8 0xEF  9		 $bs	320K
    2.12 +	[ $FORMAT -lt 320  ] && store 8 0xF8  2		 $bs	160K
    2.13  	
    2.14  	# Info text after setup
    2.15  	if [ -s "$INFOFILE" ]; then
    2.16 @@ -283,10 +289,6 @@
    2.17  	[ $PAD -ne 512 ] && ddq if=/dev/zero bs=1 count=$PAD >> $PREFIX
    2.18  	exit
    2.19  fi
    2.20 -[ $FORMAT -lt 1440 ] && store 8 0xEF  16	 $bs	1.2M
    2.21 -[ $FORMAT -lt 1200 ] && store 8 0xEF  10	 $bs	720K
    2.22 -[ $FORMAT -lt 360  ] && store 8 0xEF  9		 $bs	320K
    2.23 -[ $FORMAT -lt 320  ] && store 8 0xF8  2		 $bs	160K
    2.24  floppyset | split -b ${FORMAT}k /dev/stdin floppy$$
    2.25  i=1
    2.26  ls floppy$$* 2> /dev/null | while read file ; do