Changeset 479

Show
Ignore:
Timestamp:
10/04/07 20:41:46 (4 years ago)
Author:
andi
Message:

Added dropbear directory in readonly /etc
support for ld.so.conf/cache
copy blk lib in e2fsprogs for rpc.mountd
disable /usr/bin and /usr/sbin in busybox install

Location:
trunk/openmct/packages
Files:
4 added
4 modified

Legend:

Unmodified
Added
Removed
  • trunk/openmct/packages/base/busybox/Makefile

    r474 r479  
    44MAKEARGS=       CROSS_COMPILE=$(OPENMCT_CROSS_COMPILE) 
    55 
    6 INSTALL=        cd $(SRCDIR) && make CROSS_COMPILE=$(OPENMCT_CROSS_COMPILE) CONFIG_PREFIX=$(NEWROOTDIR) install && cd .. 
     6INSTALL=        cd $(SRCDIR) && make CROSS_COMPILE=$(OPENMCT_CROSS_COMPILE) \ 
     7                CONFIG_PREFIX=$(NEWROOTDIR) install && cd .. 
    78 
    89include         $(OPENMCT_DEVEL_PREFIX)Rules 
  • trunk/openmct/packages/base/busybox/configs/config

    r473 r479  
    5959# Installation Options 
    6060# 
    61 # CONFIG_INSTALL_NO_USR is not set 
     61CONFIG_INSTALL_NO_USR=y 
    6262CONFIG_INSTALL_APPLET_SYMLINKS=y 
    6363# CONFIG_INSTALL_APPLET_HARDLINKS is not set 
  • trunk/openmct/packages/build/buildetc/src/etc/rc.d/rcS

    r475 r479  
    77 
    88echo -n "Added /usr/lib directory ... " 
    9 ldconfig -C /etc/ld.so.cache -f /etc/ld.so.conf -X /usr/lib 
     9/sbin/ldconfig -C /var/etc/ld.so.cache -f /var/etc/ld.so.conf -X /usr/lib 
    1010echo "" 
    1111 
     
    3535if [ "$START_HTTPD" == "yes" ]; then 
    3636   echo -n "Starting Web Server ..." 
    37    if [ -d /usr/data/www ]; then 
    38       /sbin/httpd -h /usr/data/www 
     37   if [ -d /usr/var/www ]; then 
     38      /sbin/httpd -h /usr/var/www 
    3939   else 
    40       /sbin/httpd -h /www 
     40      /sbin/httpd -h /var/www 
    4141   fi 
    4242   echo "" 
     
    4646# we create the directory with '-p' option on mkdir, so every directory ahead the named directory is builded automaticly 
    4747 
    48 DIRECTORY="/usr/var /usr/var/empty /usr/var/log/samba /usr/var/run/samba /usr/var/lib/samba /usr/var/lib/nfs" 
     48DIRECTORY="/var/empty /var/log/samba /var/run/samba /var/lib/samba /var/lib/nfs" 
    4949echo "looking up for $DIRECTORY" 
    5050for i in $DIRECTORY; do 
     
    5353 
    5454# ok, and now checking for some files needed for NFS 
    55 FILES="/usr/var/lib/nfs/rmtab /usr/var/lib/nfs/etab /usr/var/lib/nfs/xtab" 
     55FILES="/var/lib/nfs/rmtab /var/lib/nfs/etab /var/lib/nfs/xtab" 
    5656for i in $FILES; do 
    5757    test -d $i || touch $i; 
  • trunk/openmct/packages/lib/e2fsprogs/Makefile

    r463 r479  
    88                $(LN) -sf libuuid.so.1.2 $(NEWROOTDIR)/lib/libuuid.so.1 && \ 
    99                $(LN) -sf libuuid.so.1.2 $(NEWROOTDIR)/lib/libuuid.so && \ 
     10                $(CP) $(SRCDIR)/lib/libblkid.so.1.0 $(NEWROOTDIR)/lib && \ 
     11                $(STRIP) $(NEWROOTDIR)/lib/libblkid.so.1.0 && \ 
     12                $(LN) -sf libblkid.so.1.0 $(NEWROOTDIR)/lib/libblkid.so.1 && \ 
     13                $(LN) -sf libblkid.so.1.0 $(NEWROOTDIR)/lib/libblkid.so && \ 
    1014                cd $(SRCDIR) && make install-libs && cd .. 
    1115