Changeset 1e977a4 in freewrt


Ignore:
Timestamp:
Jul 16, 2006, 8:39:14 PM (19 years ago)
Author:
Thorsten Glaser <tg@…>
Branches:
freewrt_1_0, freewrt_2_0
Children:
8c028e7
Parents:
efcdba6
Message:

switch to paxmirabilis

ok wbx@

NB: not yet totally tested, but if anything breaks I'll fix it today/tonight

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

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    refcdba6 r1e977a4  
    107107                ln -s $$(which make) lbin/gmake; \
    108108        fi
    109         @if which gtar >/dev/null 2>&1; then \
    110                 ln -s $$(which gtar) lbin/tar; \
    111         else \
    112                 ln -s $$(which tar) lbin/tar; \
    113         fi
    114109        @if ! which md5sum >/dev/null 2>&1; then \
    115110                cp scripts/md5sum.bsd lbin/md5sum; \
  • rules.mk

    refcdba6 r1e977a4  
     1# $FreeWRT$
     2
    13include $(TOPDIR)/lbin/prereq.mk
    24include $(TOPDIR)/.config
     
    5456
    5557ifeq ($(BR2_TAR_VERBOSITY),y)
    56 TAR_OPTIONS=-xvf
     58TAR_OPTIONS=    -xvf
    5759else
    58 TAR_OPTIONS=-xf
     60TAR_OPTIONS=    -xf
    5961endif
    60 
    61 #ifeq ($(shell which pax 2>/dev/null),)
    62 TAR_EXTRACT=    $(TOPDIR)/lbin/tar $(TAR_OPTIONS) -
    63 #else
    64 #TAR_EXTRACT=   pax -r -pma
    65 #endif
     62TAR_EXTRACT=    ${TOPDIR}/lbin/tar ${TAR_OPTIONS} -
    6663
    6764TARGET_CFLAGS:=$(TARGET_OPTIMIZATION) $(TARGET_DEBUGGING)
     
    139136                for file in ${DISTFILES}; do \
    140137                        case $$file in \
    141                         *.zip)  unzip $$file ;; \
    142                         *.cpio) cpio -mid <$$file ;; \
    143                         *.tar)  tar -xf $$file ;; \
    144                         *.cpio.Z | *.cpio.gz | *.cgz | *.mcz) \
     138                        *.cpio | *.tar) \
     139                                cpio -mid <$$file ;; \
     140                        *.cpio.Z | *.cpio.gz | *.cgz | *.mcz | \
     141                            *.tar.Z | *.tar.gz | *.taz | *.tgz) \
    145142                                gzip -dc $$file | cpio -mid ;; \
    146                         *.tar.Z | *.tar.gz | *.taz | *.tgz) \
    147                                 gzip -dc $$file | tar -xf - ;; \
    148                         *.cpio.bz2 | *.cbz) \
     143                        *.cpio.bz2 | *.cbz | *.tar.bz2 | *.tbz) \
    149144                                bzip2 -dc $$file | cpio -mid ;; \
    150                         *.tar.bz2 | *.tbz) \
    151                                 bzip2 -dc $$file | tar -xf - ;; \
     145                        *.zip) \
     146                                unzip $$file ;; \
    152147                        esac; \
    153148                done
  • scripts/scan-tools.sh

    refcdba6 r1e977a4  
    181181fi
    182182
    183 if ! tar --version 2>&1 | fgrep 'GNU tar' >/dev/null 2>&1; then
    184         echo You must install GNU tar for now, sorry...
    185         echo this is horrid, I know, but it will be fixed RSN.
    186         exit 1
    187 fi
    188 
    189183#if ! which perl >/dev/null 2>&1; then
    190184if [[ "$(which perl 2>/dev/null)" != /usr/bin/perl ]]; then
  • target/linux/image/tgz.mk

    refcdba6 r1e977a4  
    11$(KDIR)/root.tar.gz:
    2         tar --owner=0 --group=0 -czf $@ -C $(KDIR)/root/ .
     2        tar -M uidgid -cf - -C $(KDIR)/root/ . | gzip -n9 >$@
    33
    44ifeq ($(BOARD),x86)
  • tools/Makefile

    refcdba6 r1e977a4  
    66BUILD_SED_DEP:=sed-install
    77
    8 TARGETS:=$(BUILD_SED) ipkg-utils brcm-utils lzma
     8TARGETS:=paxmirabilis $(BUILD_SED) ipkg-utils brcm-utils lzma
    99
    1010TARGETS_INSTALL:=$(patsubst %,%-install,$(TARGETS))
     
    1212
    1313all: install
    14 install: $(TARGETS_INSTALL)
     14install: check-pax $(TARGETS_INSTALL)
    1515clean: $(TARGETS_CLEAN)
     16
     17check-pax:
     18        @[ -e ${TOPDIR}/lbin/pax ] || \
     19            rm -f $(TOOLS_STAMP_DIR)/.tools_paxmirabilis-install
    1620
    1721$(STAGING_DIR):
Note: See TracChangeset for help on using the changeset viewer.