From 378c20769d13dd890f804d765c562c2f3b05995c Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sun, 1 Aug 2010 15:15:51 +0200 Subject: [PATCH 1/5] Remove reiser4progs from installer system. The installer does not support installation on reiser4 any more. --- lfs/libaal | 12 +----------- lfs/reiser4progs | 16 +--------------- make.sh | 2 -- 3 files changed, 2 insertions(+), 28 deletions(-) diff --git a/lfs/libaal b/lfs/libaal index 99ede17b0..08d8ac1ef 100644 --- a/lfs/libaal +++ b/lfs/libaal @@ -30,11 +30,7 @@ THISAPP = libaal-$(VER) DL_FILE = $(THISAPP).tar.gz DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) -ifeq "$(LFS_PASS)" "install" - TARGET = $(DIR_INFO)/$(THISAPP)-install -else - TARGET = $(DIR_INFO)/$(THISAPP) -endif +TARGET = $(DIR_INFO)/$(THISAPP) ############################################################################### # Top-level Rules @@ -74,14 +70,8 @@ $(subst %,%_MD5,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) -ifeq "$(LFS_PASS)" "install" - cd $(DIR_APP) && ./configure --prefix=/opt/$(MACHINE)-uClibc - cd $(DIR_APP) && make $(MAKETUNING) - cd $(DIR_APP) && make install -else cd $(DIR_APP) && ./configure --prefix=/usr cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install -endif @rm -rf $(DIR_APP) @$(POSTBUILD) diff --git a/lfs/reiser4progs b/lfs/reiser4progs index 92a9338d7..99cbb8434 100644 --- a/lfs/reiser4progs +++ b/lfs/reiser4progs @@ -30,11 +30,7 @@ THISAPP = reiser4progs-$(VER) DL_FILE = $(THISAPP).tar.bz2 DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) -ifeq "$(LFS_PASS)" "install" - TARGET = $(DIR_INFO)/$(THISAPP)-install -else - TARGET = $(DIR_INFO)/$(THISAPP) -endif +TARGET = $(DIR_INFO)/$(THISAPP) ############################################################################### # Top-level Rules @@ -74,18 +70,8 @@ $(subst %,%_MD5,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE) -ifeq "$(LFS_PASS)" "install" - cd $(DIR_APP) && ./configure --prefix=/opt/$(MACHINE)-uClibc \ - --with-libaal=/opt/$(MACHINE)-uClibc \ - --without-readline --disable-shared \ - --sbindir=/install/initrd/sbin - cd $(DIR_APP) && make $(MAKETUNING) - cd $(DIR_APP) && make install - -rm -f /install/initrd/{debugfs.,measurefs.,make_}reiser4 -else cd $(DIR_APP) && ./configure --prefix=/usr --sbindir=/sbin --enable-static cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install -endif @rm -rf $(DIR_APP) @$(POSTBUILD) diff --git a/make.sh b/make.sh index 15b049eed..a7cda0919 100755 --- a/make.sh +++ b/make.sh @@ -682,8 +682,6 @@ buildinstaller() { installmake popt installmake sysvinit installmake misc-progs - installmake libaal - installmake reiser4progs installmake reiserfsprogs installmake sysfsutils installmake util-linux From 50a84cd283d64dd1573611c8a57fd659e6cfb47f Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Sun, 1 Aug 2010 19:19:50 +0200 Subject: [PATCH 2/5] ipfireseeder: core39 part2. --- lfs/ipfireseeder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lfs/ipfireseeder b/lfs/ipfireseeder index 6f1af8833..3d1a32fa3 100644 --- a/lfs/ipfireseeder +++ b/lfs/ipfireseeder @@ -27,7 +27,7 @@ include Config VER = 1.00 THISAPP = ipfireseeder-$(VER) -DL_FILE = ipfire-2.7.i586-full-core38.iso.torrent +DL_FILE = ipfire-2.7.i586-full-core39.iso.torrent DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) From 38fb6b4f219973ac5b54bc8a022005a8b504f7fa Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Mon, 2 Aug 2010 10:56:45 +0200 Subject: [PATCH 3/5] core40: Add dnsmasq customization feature. --- config/rootfiles/core/40/filelists/files | 1 + 1 file changed, 1 insertion(+) diff --git a/config/rootfiles/core/40/filelists/files b/config/rootfiles/core/40/filelists/files index 381979858..640006d52 100644 --- a/config/rootfiles/core/40/filelists/files +++ b/config/rootfiles/core/40/filelists/files @@ -4,6 +4,7 @@ var/ipfire/langs/de.pl var/ipfire/langs/es.pl var/ipfire/langs/fr.pl var/ipfire/dhcp/dhcpd.conf.local +etc/rc.d/init.d/dnsmasq etc/rc.d/init.d/functions srv/web/ipfire/cgi-bin/time.cgi usr/lib/python2.7/ipaddr.pyc From d4afb2f1746cc16687919713deac33e6ffcfcc64 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Mon, 2 Aug 2010 10:57:44 +0200 Subject: [PATCH 4/5] core40: Add dhcp customization feature. --- config/rootfiles/core/40/filelists/files | 1 + 1 file changed, 1 insertion(+) diff --git a/config/rootfiles/core/40/filelists/files b/config/rootfiles/core/40/filelists/files index 640006d52..34fb93159 100644 --- a/config/rootfiles/core/40/filelists/files +++ b/config/rootfiles/core/40/filelists/files @@ -6,6 +6,7 @@ var/ipfire/langs/fr.pl var/ipfire/dhcp/dhcpd.conf.local etc/rc.d/init.d/dnsmasq etc/rc.d/init.d/functions +srv/web/ipfire/cgi-bin/dhcp.cgi srv/web/ipfire/cgi-bin/time.cgi usr/lib/python2.7/ipaddr.pyc usr/lib/python2.7/site-packages/drv_libxml2.py From f17cac4a4d95d28627777283d68a46c12961c336 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Tue, 3 Aug 2010 23:46:28 +0200 Subject: [PATCH 5/5] Add Huawei Android usbid's to option driver. --- config/rootfiles/core/40/filelists/files | 2 ++ lfs/linux | 3 +++ ...-2.6.32.15-option_add_huawei_android.patch | 19 +++++++++++++++++++ 3 files changed, 24 insertions(+) create mode 100644 src/patches/linux-2.6.32.15-option_add_huawei_android.patch diff --git a/config/rootfiles/core/40/filelists/files b/config/rootfiles/core/40/filelists/files index 34fb93159..c5ca9a820 100644 --- a/config/rootfiles/core/40/filelists/files +++ b/config/rootfiles/core/40/filelists/files @@ -14,3 +14,5 @@ usr/lib/python2.7/site-packages/libxml2.py usr/lib/python2.7/site-packages/libxml2mod.so usr/lib/python2.7/site-packages/libxml2.pyc usr/lib/python2.7/site-packages/libxsltmod.so +lib/modules/2.6.32.15-ipfire/kernel/drivers/usb/serial/option.ko +lib/modules/2.6.32.15-ipfire-xen/kernel/drivers/usb/serial/option.ko diff --git a/lfs/linux b/lfs/linux index fa0ec1e4c..5d27158f0 100644 --- a/lfs/linux +++ b/lfs/linux @@ -147,6 +147,9 @@ endif # Huawei (Vodafone) K3765 & K4505 Usbids cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux-2.6.32.11-option_add_vodafone_usbids.patch + # Huawei Android Phones (Vodafone V845, T-Mobile Pulse/mini ...) + cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux-2.6.32.15-option_add_huawei_android.patch + # Cleanup kernel source cp $(DIR_SRC)/config/kernel/kernel.config.$(MACHINE)-$(VERSUFIX) $(DIR_APP)/.config diff --git a/src/patches/linux-2.6.32.15-option_add_huawei_android.patch b/src/patches/linux-2.6.32.15-option_add_huawei_android.patch new file mode 100644 index 000000000..a6bb66bcc --- /dev/null +++ b/src/patches/linux-2.6.32.15-option_add_huawei_android.patch @@ -0,0 +1,19 @@ +diff -Naur linux-2.6.32.15.org/drivers/usb/serial/option.c linux-2.6.32.15/drivers/usb/serial/option.c +--- linux-2.6.32.15.org/drivers/usb/serial/option.c 2010-06-01 18:56:03.000000000 +0200 ++++ linux-2.6.32.15/drivers/usb/serial/option.c 2010-08-02 22:38:11.000000000 +0200 +@@ -102,6 +102,7 @@ + #define HUAWEI_PRODUCT_E600 0x1001 + #define HUAWEI_PRODUCT_E220 0x1003 + #define HUAWEI_PRODUCT_E220BIS 0x1004 ++#define HUAWEI_PRODUCT_ANDROID 0x1035 + #define HUAWEI_PRODUCT_E1401 0x1401 + #define HUAWEI_PRODUCT_E1402 0x1402 + #define HUAWEI_PRODUCT_E1403 0x1403 +@@ -380,6 +381,7 @@ + { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E600, 0xff, 0xff, 0xff) }, + { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E220, 0xff, 0xff, 0xff) }, + { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E220BIS, 0xff, 0xff, 0xff) }, ++ { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_ANDROID, 0xff, 0xff, 0xff) }, + { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E1401, 0xff, 0xff, 0xff) }, + { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E1402, 0xff, 0xff, 0xff) }, + { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E1403, 0xff, 0xff, 0xff) },