openpkg/etc.wrapbin.sh

changeset 450
061d2617f42f
parent 445
43a74e63d4a3
     1.1 --- a/openpkg/etc.wrapbin.sh	Thu Aug 02 22:07:29 2012 +0200
     1.2 +++ b/openpkg/etc.wrapbin.sh	Thu Aug 02 22:11:13 2012 +0200
     1.3 @@ -95,7 +95,7 @@
     1.4  if [ ".$o_tar" = .yes ]; then
     1.5      tmpdir="${TMPDIR-/tmp}/openpkg.$$"
     1.6      ( umask 077 && mkdir $tmpdir) || exit 1
     1.7 -    dd if=$l_me bs=8192 skip=8 2>/dev/null |\
     1.8 +    dd if=$l_me bs=8192 skip=10 2>/dev/null |\
     1.9      ( cd $tmpdir || exit 1
    1.10        tar xf - 2>/dev/null || exit 1
    1.11        ./openpkg.bzip2 -d -c openpkg.tar.bz2
    1.12 @@ -166,7 +166,7 @@
    1.13  
    1.14  #   extract and install binary distribution files
    1.15  echo "++ extracting OpenPKG binary distribution"
    1.16 -dd if=$l_me bs=8192 skip=8 2>/dev/null |\
    1.17 +dd if=$l_me bs=8192 skip=10 2>/dev/null |\
    1.18      (cd $l_prefix; tar xf - 2>/dev/null)
    1.19  echo "++ installing OpenPKG binary distribution"
    1.20  ( cd $l_prefix || exit 1
    1.21 @@ -261,7 +261,7 @@
    1.22  
    1.23  #   the distribution tarball is appended in raw format directly to the
    1.24  #   end of this script, just leaded by padding whitespaces which make
    1.25 -#   sure that the tarball data starts at the predefined offset of 64KB.
    1.26 +#   sure that the tarball data starts at the predefined offset of 80KB.
    1.27  #   This allows us to unpack the tarball by just skipping the leading
    1.28 -#   64KB (= 8192*8, see above).
    1.29 +#   80KB (= 8192*10, see above).
    1.30  

mercurial