From: <kr...@us...> - 2006-07-20 21:07:51
|
Revision: 186 Author: krisk84 Date: 2006-07-20 14:07:43 -0700 (Thu, 20 Jul 2006) ViewCVS: http://svn.sourceforge.net/astlinux/?rev=186&view=rev Log Message: ----------- pppd path fix, makeimage.sh stripping support Modified Paths: -------------- trunk/makeimage.sh trunk/package/pppd/pppd.mk trunk/target/generic/dev.tar.gz Modified: trunk/makeimage.sh =================================================================== --- trunk/makeimage.sh 2006-07-20 19:55:42 UTC (rev 185) +++ trunk/makeimage.sh 2006-07-20 21:07:43 UTC (rev 186) @@ -61,6 +61,29 @@ read +echo "Would you like me to aggresively strip everything in your image? +This can save as much as 10mb." + +echo "Please answer yes or no" +read -p "Strip: " RESPONSE + +if [ "$RESPONSE" = "yes" ] +then +STRIP=build_i586/staging_dir/bin/i586-linux-strip + +for i in bin sbin usr/bin usr/sbin lib usr/lib usr/lib/asterisk/modules +do +find build_i586/root/$i -type f | xargs $STRIP -g build_i586/root/$i/* +done + +for i in `find build_i586/root/lib/modules -iname \*.ko` +do +$STRIP -g $i +done +else +echo "Stripping declined" +fi + #dd if=/dev/zero of=disk.img bs=1024k count=$SIZE echo " Modified: trunk/package/pppd/pppd.mk =================================================================== --- trunk/package/pppd/pppd.mk 2006-07-20 19:55:42 UTC (rev 185) +++ trunk/package/pppd/pppd.mk 2006-07-20 21:07:43 UTC (rev 186) @@ -3,9 +3,10 @@ # pppd # ############################################################# -PPPD_SOURCE:=ppp-2.4.3.tar.gz +PPPD_VERSION=2.4.3 +PPPD_SOURCE:=ppp-$(PPPD_VERSION).tar.gz PPPD_SITE:=ftp://ftp.samba.org/pub/ppp -PPPD_DIR:=$(BUILD_DIR)/ppp-2.4.3 +PPPD_DIR:=$(BUILD_DIR)/ppp-$(PPPD_VERSION) PPPD_CAT:=zcat PPPD_BINARY:=pppd/pppd PPPD_TARGET_BINARY:=usr/sbin/pppd @@ -59,6 +60,7 @@ rm -rf $(TARGET_DIR)/usr/share/locale $(TARGET_DIR)/usr/info \ $(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc $(TARGET_DIR)/usr/share/man $(TARGET_DIR)/usr/include ln -sf /tmp/etc/ppp $(TARGET_DIR)/etc/ppp + ln -sf /usr/lib/pppd/2.4.3 $(TARGET_DIR)/usr/lib/ppp pppd: uclibc $(TARGET_DIR)/$(PPPD_TARGET_BINARY) Modified: trunk/target/generic/dev.tar.gz =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |