Added busybox headers fix (_pre2) and changed utils to runtask on udev build (_pre3).
authorChris Gianelloni <wolf31o2@gentoo.org>
Thu, 12 Jan 2006 19:09:04 +0000 (19:09 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Thu, 12 Jan 2006 19:09:04 +0000 (19:09 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@353 67a159dc-881f-0410-a524-ba9dfbe2cb84

gen_compile.sh
genkernel
pkg/busybox-1.00-headers_fix.patch [new file with mode: 0644]

index 874849c57060954e2eb7810ae7e708fbd9df8488..e56ba75619387961ffc6fff8fbff9b8e0887a83b 100644 (file)
@@ -356,6 +356,12 @@ compile_busybox() {
                cp "${BUSYBOX_CONFIG}" "${BUSYBOX_DIR}/.config"
                sed -i ${BUSYBOX_DIR}/.config -e 's/#\? \?CONFIG_FEATURE_INSTALLER[ =].*/CONFIG_FEATURE_INSTALLER=y/g'
                cd "${BUSYBOX_DIR}"
+               if [ -f ${GK_SHARE}/pkg/busybox-1.00-headers_fix.patch ]
+               then
+                       patch -p1 -i \
+                               ${GK_SHARE}/pkg/busybox-1.00-headers_fix.patch \
+                               || gen_die "Failed patching busybox"
+               fi
                print_info 1 'busybox: >> Configuring...'
                yes '' 2>/dev/null | compile_generic oldconfig utils
                print_info 1 'busybox: >> Compiling...'
@@ -779,7 +785,7 @@ compile_udev() {
                then
                        compile_generic "EXTRAS=\"${extras}\" ARCH=sparc64 CROSS=sparc64-unknown-linux-gnu- USE_KLIBC=true KLCC=${TEMP}/klibc-build/bin/klcc USE_LOG=false DEBUG=false udevdir=/dev all" utils
                else
-                       compile_generic "EXTRAS=\"${extras}\" USE_KLIBC=true KLCC=${TEMP}/klibc-build/bin/klcc USE_LOG=false DEBUG=false udevdir=/dev all" utils
+                       compile_generic "EXTRAS=\"${extras}\" USE_KLIBC=true KLCC=${TEMP}/klibc-build/bin/klcc USE_LOG=false DEBUG=false udevdir=/dev all" runtask
                fi
 
 
index 0bd2894f170c0d0daa00f3876115894e2195c7dd..5b67f11352a6ded24569cd0be85e21b666127fe3 100755 (executable)
--- a/genkernel
+++ b/genkernel
@@ -2,7 +2,7 @@
 # Genkernel v3
 
 PATH="/bin:/usr/bin:/sbin:/usr/sbin"
-GK_V='3.3.11_pre1'
+GK_V='3.3.11_pre3'
 
 TMPDIR='/var/tmp/genkernel'
 TODEBUGCACHE=1 # Until an error occurs or DEBUGFILE is fully qualified.
diff --git a/pkg/busybox-1.00-headers_fix.patch b/pkg/busybox-1.00-headers_fix.patch
new file mode 100644 (file)
index 0000000..7e7e37b
--- /dev/null
@@ -0,0 +1,36 @@
+diff -ur busybox-1.00-rt-mdstart.plasmaroo/coreutils/Config.in busybox-1.00-rt-mdstart.plasmaroo.new/coreutils/Config.in
+--- busybox-1.00-rt-mdstart.plasmaroo/coreutils/Config.in      2004-08-11 03:45:47.000000000 +0100
++++ busybox-1.00-rt-mdstart.plasmaroo.new/coreutils/Config.in  2006-01-11 23:35:23.000000000 +0000
+@@ -469,7 +469,7 @@
+         touch is used to create or change the access and/or
+         modification timestamp of specified files.
+-config CONFIG_TR
++config CONFIG_TR_X
+       bool "tr"
+       default n
+       help
+diff -ur busybox-1.00-rt-mdstart.plasmaroo/coreutils/Makefile.in busybox-1.00-rt-mdstart.plasmaroo.new/coreutils/Makefile.in
+--- busybox-1.00-rt-mdstart.plasmaroo/coreutils/Makefile.in    2004-10-08 08:45:14.000000000 +0100
++++ busybox-1.00-rt-mdstart.plasmaroo.new/coreutils/Makefile.in        2006-01-11 23:35:32.000000000 +0000
+@@ -74,7 +74,7 @@
+ COREUTILS-$(CONFIG_TEE)       += tee.o
+ COREUTILS-$(CONFIG_TEST)      += test.o
+ COREUTILS-$(CONFIG_TOUCH)     += touch.o
+-COREUTILS-$(CONFIG_TR)        += tr.o
++COREUTILS-$(CONFIG_TR_X)              += tr.o
+ COREUTILS-$(CONFIG_TRUE)      += true.o
+ COREUTILS-$(CONFIG_TTY)       += tty.o
+ COREUTILS-$(CONFIG_UNAME)     += uname.o
+diff -ur busybox-1.00-rt-mdstart.plasmaroo/include/applets.h busybox-1.00-rt-mdstart.plasmaroo.new/include/applets.h
+--- busybox-1.00-rt-mdstart.plasmaroo/include/applets.h        2006-01-11 23:29:22.000000000 +0000
++++ busybox-1.00-rt-mdstart.plasmaroo.new/include/applets.h    2006-01-11 23:35:30.000000000 +0000
+@@ -586,7 +586,7 @@
+ #ifdef CONFIG_TOUCH
+       APPLET(touch, touch_main, _BB_DIR_BIN, _BB_SUID_NEVER)
+ #endif
+-#ifdef CONFIG_TR
++#ifdef CONFIG_TR_X
+       APPLET(tr, tr_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
+ #endif
+ #ifdef CONFIG_TRACEROUTE