Andrea, If there is no downside, or decreased functionality, and you've verified it builds properly on x86 (uclibc funkiness), then yes, please commit.
We're probably a long ways out from truly supporting ipv6 anyway. Cheers, -Brian Andrea Righi wrote: > Hi all, > > with these options we can reduce the initrd size, performing a > size-optimization for the rsync, dhclient and udpcast apps. > > If you like it I can apply the patch... > > Bye, > -Andrea > >------------------------------------------------------------------------ > >diff -urN systemimager-org/initrd_source/make.d/rsync.rul >systemimager/initrd_source/make.d/rsync.rul >--- systemimager-org/initrd_source/make.d/rsync.rul 2004-02-13 >01:13:34.000000000 +0100 >+++ systemimager/initrd_source/make.d/rsync.rul 2005-02-15 >17:39:28.000000000 +0100 >@@ -4,7 +4,7 @@ > RSYNC_DIR = rsync-$(RSYNC_VERSION) > RSYNC_BINARY = $(INITRD_SRC_DIR)/$(RSYNC_DIR)/rsync > RSYNC_PATCHES = $(shell ls $(INITRD_PATCH_DIR)/rsync.*.patch 2>/dev/null | > sort) >-RSYNC_CONFIGURE_OPTS = --with-included-popt >+RSYNC_CONFIGURE_OPTS = --with-included-popt --disable-ipv6 > > ifdef UCLIBC_ARCH_NAME > RSYNC_CONFIGURE_OPTS += --host=$(ARCH)-gnu-linux CFLAGS="-DHAVE_OFF64_T" >@@ -22,7 +22,7 @@ > cd $(INITRD_SRC_DIR)/$(RSYNC_DIR) && \ > cat $(RSYNC_PATCHES) < /dev/null | patch -p1 > cd $(INITRD_SRC_DIR)/$(RSYNC_DIR) && \ >- ./configure $(RSYNC_CONFIGURE_OPTS) PATH=$(INITRD_BUILD_PATH) >+ ./configure $(RSYNC_CONFIGURE_OPTS) CFLAGS='-Os >-fomit-frame-pointer -mpreferred-stack-boundary=2 -falign-functions=0 >-falign-loops=0 -falign-jumps=0' PATH=$(INITRD_BUILD_PATH) > $(MAKE) -C $(INITRD_SRC_DIR)/$(RSYNC_DIR) rsync \ > PATH=$(INITRD_BUILD_PATH) > >diff -urN >systemimager-org/initrd_source/patches/dhclient.10-2.0pl5.reduce_size.patch >systemimager/initrd_source/patches/dhclient.10-2.0pl5.reduce_size.patch >--- >systemimager-org/initrd_source/patches/dhclient.10-2.0pl5.reduce_size.patch > 1970-01-01 01:00:00.000000000 +0100 >+++ systemimager/initrd_source/patches/dhclient.10-2.0pl5.reduce_size.patch >2005-02-15 17:40:05.000000000 +0100 >@@ -0,0 +1,11 @@ >+--- dhcp-2.0pl5/Makefile.conf~ 2000-07-20 07:06:34.000000000 +0200 >++++ dhcp-2.0pl5/Makefile.conf 2005-02-14 19:06:54.243162328 +0100 >+@@ -242,7 +242,7 @@ >+ >+ ## Linux 2.2 >+ ##--linux-2.2-- >+-#COPTS = -DLINUX_MAJOR=$(MAJORVERSION) -DLINUX_MINOR=$(MINORVERSION) >++#COPTS = -Os -fomit-frame-pointer -mpreferred-stack-boundary=2 >-falign-functions=0 -falign-loops=0 -falign-jumps=0 >-DLINUX_MAJOR=$(MAJORVERSION) -DLINUX_MINOR=$(MINORVERSION) >+ #CF = cf/linux.h >+ #ADMMANDIR = /usr/man/man8 >+ #ADMMANEXT = .8 >diff -urN systemimager-org/initrd_source/patches/udpcast.10reduce_size.patch >systemimager/initrd_source/patches/udpcast.10reduce_size.patch >--- systemimager-org/initrd_source/patches/udpcast.10reduce_size.patch >1970-01-01 01:00:00.000000000 +0100 >+++ systemimager/initrd_source/patches/udpcast.10reduce_size.patch >2005-02-15 17:40:59.000000000 +0100 >@@ -0,0 +1,11 @@ >+--- udpcast/Makefile~ 2005-02-14 19:57:22.489798864 +0100 >++++ udpcast/Makefile 2005-02-14 19:57:38.790320808 +0100 >+@@ -1,7 +1,7 @@ >+ DESTDIR = >+ >+ #CFLAGS = -O4 -Wall -DNDEBUG -DLOSSTEST >+-CFLAGS =-Wall -Wshadow -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 >++CFLAGS =-Os -fomit-frame-pointer -mpreferred-stack-boundary=2 >-falign-functions=0 -falign-loops=0 -falign-jumps=0 -Wall -Wshadow >-DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 >+ LDFLAGS =-s -Wl,-warn-common >+ LIBS=-lpthread >+ BUSYBOX=../udp-busybox/busybox > > -- ------------------------------------------------------ Brian Elliott Finley Mobile: 630.631.6621 gpg --keyserver wwwkeys.pgp.net --recv-keys 10F8EE52 ------------------------------------------------------ ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Sisuite-devel mailing list Sisuite-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sisuite-devel