Changeset 294


Ignore:
Timestamp:
2005-02-26T03:32:16+01:00 (13 years ago)
Author:
mbm
Message:

bugfix

Location:
trunk/openwrt
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/openwrt/Makefile

    r290 r294  
    119119        -find $(TARGET_DIR) -type d -name CVS | xargs rm -rf 
    120120        -find $(TARGET_DIR) -type d -name .svn | xargs rm -rf 
     121        -ln -sf /tmp/resolv.conf $(TARGET_DIR) 
     122        -mkdir -p $(TARGET_DIR)/jffs 
    121123 
    122124source: $(TARGETS_SOURCE) 
  • trunk/openwrt/package/openwrt/jffs2root.c

    r276 r294  
    4949    unsigned long poly = 0xEDB88320L; 
    5050    int n, bit; 
    51     crc32 = (unsigned long *) malloc(256 * sizeof(unsigned long)); 
     51    if ((crc32 = (unsigned long *) malloc(256 * sizeof(unsigned long))) == (void *)-1) { 
     52            perror("malloc"); 
     53            exit(1); 
     54    } 
    5255    for (n = 0; n < 256; n++) { 
    5356        crc = (unsigned long) n; 
  • trunk/openwrt/target/default/target_skeleton/etc/preinit

    r278 r294  
    1212    mount -t jffs2 /dev/mtdblock/4 /jffs 
    1313    pivot_root /jffs /jffs/rom 
    14     mount none /dev -t devfs 
    15     mount none /proc -t proc 
    16     umount rom/proc 
    1714  } 
     15  mount none /dev -t devfs 
     16  mount none /proc -t proc 
     17  umount rom/proc 
    1818fi 
    1919mount none /tmp -t ramfs 
  • trunk/openwrt/target/squashfs-lzma/squashfslzmaroot.mk

    r293 r294  
    4040        @rm -rf $(TARGET_DIR)/usr/man 
    4141        @rm -rf $(TARGET_DIR)/usr/info 
    42         @mkdir -p $(TARGET_DIR)/jffs 
    4342        $(SQUASHFSLZMA_DIR)/squashfs-tools/mksquashfs-lzma $(TARGET_DIR) $(IMAGE).squashfslzma -noappend -root-owned -le 
    4443 
  • trunk/openwrt/target/squashfs/squashfsroot.mk

    r293 r294  
    3939        @rm -rf $(TARGET_DIR)/usr/man 
    4040        @rm -rf $(TARGET_DIR)/usr/info 
    41         @mkdir -p $(TARGET_DIR)/jffs 
    4241        $(SQUASHFS_DIR)/squashfs-tools/mksquashfs $(TARGET_DIR) $(IMAGE).squashfs -noappend -root-owned -le 
    4342 
Note: See TracChangeset for help on using the changeset viewer.