Changeset 4494

Show
Ignore:
Timestamp:
06/16/10 23:22:19 (3 months ago)
Author:
finley
Message:

* initrd.rul: remove hotplug bits; change grep for binaries; comment out prelinking bits

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/initrd_source/initrd.rul

    r4480 r4494  
    3434                                                        initrd_source/build_dir/usr/sbin/* \ 
    3535                                                        initrd_source/build_dir/lib/udev/* \ 
    36                                                         | grep -v "text\|symbolic link"
     36                                                        | egrep ':.*ELF '
    3737                                                        | perl -pi -e 's/:.*//') 
    38  
    3938 
    4039## Should initrd.img be gzipped? 
     
    121120                                                                $(UTIL_LINUX_DIR).install       \ 
    122121                                                                $(UDEV_DIR).install             \ 
    123                                                                 $(HOTPLUG_DIR).install          \ 
    124122                                                                $(LSB_DIR).build                \ 
    125123                                                                $(DHCLIENT_DIR).install         \ 
     
    151149        cp -a /lib/libnss* $(INITRD_BUILD_DIR)/lib 
    152150endif 
    153         # Undo prelinking. -AR- 
    154         [ -x `which prelink` ] && (find $(INITRD_BUILD_DIR) -type f -exec prelink -u {} \; 2>&1 | grep -v "does not have .gnu.prelink_undo section\|is not an ELF file") || true 
     151    # Do we still need to undo prelinking? -BEF- 
     152        ## Undo prelinking. -AR- 
     153        #[ -x `which prelink` ] && (find $(INITRD_BUILD_DIR) -type f -exec prelink -u {} \; 2>&1 | grep -v "does not have .gnu.prelink_undo section\|is not an ELF file") || true 
    155154 
    156155        # Strip 'em. -BEF-