Hi,

I really like T2, thanks for all the hard work. I'm currently
experimenting with the rescue system target. I once tried to work with
LNX-BBC, but that project is mostly dead nowadays :(

So, here are some small patches:

my-bin-sh-is-not-bash.diff - Mostly fixes #!-lines to point to bash if
bashism is used. /bin/sh can be dash on Debian and most certainly is
dash in recent Ubuntu releases.

uclibc-no-locales.diff - Not sure about that one, but it seems like the
right thing to do, otherwise I couldn't get the target to build (the
rescue target disables locales in uclibc but tries to call a
locale-related target of uclibc there)

package/perl/perl/strange-typo-fix.patch - New patch for Perl, fixes a
missed quote. Maybe this wasn't noticed by anyone because that branch
was never executed, only on my system? Oh well, that fixes it...

Greetings Tobi

-- 
GPG-Key 0xE2BEA341 - signed/encrypted mail preferred
My, oh so small, homepage: http://portfolio16.de/
http://www.fli4l.de/ - ISDN- & DSL-Router on one disk!
Registered FLI4L-User #00000003
Index: scripts/Build-Tools
===================================================================
--- scripts/Build-Tools	(Revision 22919)
+++ scripts/Build-Tools	(Arbeitskopie)
@@ -174,7 +174,7 @@
 	#
 	echo_status "Building $toolsdir/wrapper/strip_wrapper."
 	cat << EOT > build/$SDECFG_ID/TOOLCHAIN/$toolsdir/wrapper/strip_wrapper.$$
-#!/bin/sh
+#!/bin/bash
 if [ "\$STRIP_WRAPPER_NOLOOP" = 1 ] ; then
 	echo "Aaaaaeik! Strip wrapper is looping!" >&2
 	exit 1
@@ -202,7 +202,7 @@
 	#
 	echo_status "Building $toolsdir/wrapper/{uname,arch}."
 	cat << EOT > build/$SDECFG_ID/TOOLCHAIN/$toolsdir/wrapper/uname.$$
-#!/bin/sh
+#!/bin/bash
 
 arch=\$(echo \${arch_machine//-*/} | sed -e 's/sparcv.*/sparc/' -e 's/powerpc/ppc/')
 
Index: package/base/mkinitrd/mkinitrd.sh
===================================================================
--- package/base/mkinitrd/mkinitrd.sh	(Revision 22919)
+++ package/base/mkinitrd/mkinitrd.sh	(Arbeitskopie)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 # --- T2-COPYRIGHT-NOTE-BEGIN ---
 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
 # 
Index: package/base/linux24/linux24.conf
===================================================================
--- package/base/linux24/linux24.conf	(Revision 22919)
+++ package/base/linux24/linux24.conf	(Arbeitskopie)
@@ -149,7 +149,7 @@
 		[ -z "`type -p mkinitrd`" ] || mkinitrd ${lx_kernelrelease}
 	  else
 		# In theory depmod here as well ...
-		[ ! -e $root/sbin/mkinitrd ] || sh $root/sbin/mkinitrd -R $root ${lx_kernelrelease}
+		[ ! -e $root/sbin/mkinitrd ] || bash $root/sbin/mkinitrd -R $root ${lx_kernelrelease}
 	  fi
 
 	  echo "Fixing /lib/modules/${ver}/{build,source} symlink ..."
Index: package/base/uclibc/uclibc.conf
===================================================================
--- package/base/uclibc/uclibc.conf	(Revision 22919)
+++ package/base/uclibc/uclibc.conf	(Arbeitskopie)
@@ -173,7 +173,9 @@
 	# FIXME: inject X options early - so 2 loops are enough
 	auto_config 3
 	eval $MAKE $makeopt oldconfig
-	eval $MAKE $makeopt locale_headers
+	if [ "$SDECFG_DISABLE_NLS" = "0" ]; then
+		eval $MAKE $makeopt locale_headers
+	fi
 	eval $MAKE $makeopt all
 		
 	# remove symlinks to avoid shares (install_dev)
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# 
# T2 SDE: package/.../perl/lib64.diff
# Copyright (C) 2004 - 2007 The T2 SDE Project
# 
# More information can be found in the files COPYING and README.
# 
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- T2-COPYRIGHT-NOTE-END ---

--- perl-5.8.8/makedepend.SH.orig	2007-02-21 00:15:24.556370264 +0100
+++ perl-5.8.8/makedepend.SH	2007-02-21 00:15:44.364923055 +0100
@@ -128,7 +128,7 @@
     *.y) filebase=`basename $file .y` ;;
     esac
     case "$file" in
-    */*) finc="-I`echo $file | sed 's#/[^/]*$##`" ;;
+    */*) finc="-I`echo $file | sed 's#/[^/]*$##'`" ;;
     *)   finc= ;;
     esac
     $echo "Finding dependencies for $filebase$_o."

Attachment: signature.asc
Description: Digital signature

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of: unsubscribe t2

Reply via email to