Changeset 9f812cd in freewrt for tools


Ignore:
Timestamp:
Jul 16, 2006, 9:18:19 PM (19 years ago)
Author:
Thorsten Glaser <tg@…>
Branches:
freewrt_1_0, freewrt_2_0
Children:
a5748d2
Parents:
eeb6f72
Message:

fix ipkg for real: GNU tar uses non-standard -X as alias for --exclude,
that's why I didn't see it. move stuff around instead

git-svn-id: svn://www.freewrt.org/trunk/freewrt@234 afb5a338-a214-0410-bd46-81f09a774fd1

Location:
tools/ipkg-utils/patches
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • tools/ipkg-utils/patches/030-paxmirabilis.patch

    reeb6f72 r9f812cd  
    44        we just assume they always pass -o 0 -g 0
    55
    6 --- ipkg-utils-1.7/ipkg-build   Sun Jul 16 15:47:51 2006
    7 +++ ipkg-utils-1.7/ipkg-build.new       Sun Jul 16 19:03:02 2006
     6--- ipkg-utils-1.7/ipkg-build   Sun Jul 16 19:11:46 2006
     7+++ ipkg-utils-1.7/ipkg-build.new       Sun Jul 16 19:16:09 2006
    88@@ -169,10 +169,12 @@ usage="Usage: $0 [-c] [-C] [-o owner] [-
    99 while getopts "cg:ho:v" opt; do
     
    2121         c ) outer=tar
    2222             ;;
     23@@ -232,10 +234,12 @@ fi
     24 tmp_dir=$dest_dir/IPKG_BUILD.$$
     25 mkdir $tmp_dir
     26 
     27-echo $CONTROL > $tmp_dir/tarX
     28-( cd $pkg_dir && tar $ogargs -czf $tmp_dir/data.tar.gz . -X $tmp_dir/tarX )
     29+( cd $pkg_dir && pax -rw -pe $CONTROL $tmp_dir/ )
     30+rm -rf $CONTROL
     31+( cd $pkg_dir && tar $ogargs -czf $tmp_dir/data.tar.gz . )
     32+( cd $tmp_dir && pax -rw -pe $CONTROL $pkg_dir/ )
     33 ( cd $pkg_dir/$CONTROL && tar $ogargs -czf $tmp_dir/control.tar.gz . )
     34-rm $tmp_dir/tarX
     35+rm -rf $tmp_dir/$CONTROL
     36 
     37 echo "2.0" > $tmp_dir/debian-binary
     38 
Note: See TracChangeset for help on using the changeset viewer.