[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [patch] uniform libc handling among kernels



On Mon, Jun 22, 2009 at 12:09:07PM +0200, Luca Favatella wrote:
> This patch (against d-i trunk) aims to handle libc the same way also
> on GNU/kFreeBSD (libc0.1) and GNU/Hurd (libc0.3).
> 
> Tested on kfreebsd-i386, creating a d-i image without needing libc
> locale deb or udeb.
> 
> 
> Cheers,
> Luca Favatella

> Index: installer/build/pkg-lists/exclude
> ===================================================================
> --- installer/build/pkg-lists/exclude	(.../trunk)	(revision 59039)
> +++ installer/build/pkg-lists/exclude	(.../branches/d-i/kfreebsd)	(revision 59039)
> @@ -3,6 +3,10 @@
>  # reduction step.
>  
>  # libc gets reduced, so using the udeb is not a good idea
> +libc0.1 -
> +libc0.1-udeb -
> +libc0.3 -
> +libc0.3-udeb -
>  libc6 -
>  libc6-udeb -
>  libc6.1 -
> Index: installer/build/util/get-packages
> ===================================================================
> --- installer/build/util/get-packages	(.../trunk)	(revision 59039)
> +++ installer/build/util/get-packages	(.../branches/d-i/kfreebsd)	(revision 59039)
> @@ -103,7 +103,7 @@
>  	echo -n > $APTDIR/state/status
>  	# Some archs have libc6, others have libc6.1. libgcc1 is not used
>  	# on all architectures.
> -	for i in libc6 libc6.1 libnewt0.52 libgcc1; do
> +	for i in libc0.1 libc0.3 libc6 libc6.1 libnewt0.52 libgcc1; do
>  		if dpkg -s $i >/dev/null 2>&1; then
>  			dpkg -s $i | grep -v Depends: >> $APTDIR/state/status
>  			echo >> $APTDIR/state/status

Except the changelog entry as noticed by Otavio, this looks fine.

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net


Reply to: