wok-next diff glibc/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
parents d5aab818505e
children
line diff
     1.1 --- a/glibc/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.2 +++ b/glibc/receipt	Tue Sep 01 10:31:46 2020 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="glibc"
     1.7 -VERSION="2.26"
     1.8 +VERSION="2.28"
     1.9  CATEGORY="meta"
    1.10  SHORT_DESC="The GNU C libraries"
    1.11  MAINTAINER="devel@slitaz.org"
    1.12 @@ -91,12 +91,12 @@
    1.13  	make install_root=$install install || return 1
    1.14  
    1.15  	# nscd
    1.16 -	cp ../nscd/nscd.conf $install/etc/nscd.conf
    1.17 +	install -Dm644 ../nscd/nscd.conf $install/etc/nscd.conf
    1.18  	mkdir -p $install/var/cache/nscd $install/var/db
    1.19  	install -Dm755 $stuff/nscd $install/etc/init.d/nscd
    1.20  
    1.21  	# nsswitch.conf
    1.22 -	cp $stuff/nsswitch.conf $install/etc
    1.23 +	install -Dm644 $stuff/nsswitch.conf $install/etc/nsswitch.conf
    1.24  
    1.25  	# ld.so.conf
    1.26  	install -Dm644 $stuff/ld.so.conf $install/etc/ld.so.conf
    1.27 @@ -128,10 +128,10 @@
    1.28  
    1.29  	# Place the debugging symbols for selected libraries in separate files.
    1.30  	# This debugging information is needed if running regression tests that use valgrind or gdb.
    1.31 -	# http://www.linuxfromscratch.org/lfs/view/stable/chapter06/strippingagain.html
    1.32 +	# http://www.linuxfromscratch.org/lfs/view/development/chapter06/strippingagain.html
    1.33  
    1.34 +	cd $install/lib/
    1.35  	for i in ld-$VERSION.so libc-$VERSION.so libpthread-$VERSION.so libthread_db-1.0.so; do
    1.36 -		cd $install/lib/
    1.37  		objcopy --only-keep-debug $i $i.dbg
    1.38  		strip   --strip-unneeded  $i
    1.39  		objcopy --add-gnu-debuglink=$i.dbg $i