openpkg/etc.wrapsrc.sh

changeset 450
061d2617f42f
parent 445
43a74e63d4a3
     1.1 --- a/openpkg/etc.wrapsrc.sh	Thu Aug 02 22:07:29 2012 +0200
     1.2 +++ b/openpkg/etc.wrapsrc.sh	Thu Aug 02 22:11:13 2012 +0200
     1.3 @@ -93,7 +93,7 @@
     1.4  
     1.5  #   optionally extract the embedded tarball only
     1.6  if [ ".$o_tar" = .yes ]; then
     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      exit 0
    1.10  fi
    1.11  
    1.12 @@ -124,7 +124,7 @@
    1.13  echo "++ extracting OpenPKG source distribution"
    1.14  rm -rf $l_dir >/dev/null 2>&1
    1.15  mkdir $l_dir || exit 1
    1.16 -dd if=$l_me bs=8192 skip=8 2>/dev/null | (cd $l_dir; tar xf - 2>/dev/null)
    1.17 +dd if=$l_me bs=8192 skip=10 2>/dev/null | (cd $l_dir; tar xf - 2>/dev/null)
    1.18  if [ ".$cusr" = .root ]; then
    1.19      ( cd $l_dir || exit 1
    1.20        chown -R -h $cusr . >/dev/null 2>&1 || true
    1.21 @@ -151,7 +151,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