malfs mekanizma guncelleme
This commit is contained in:
parent
41b7505a8b
commit
a9e9e21ee7
|
@ -987,7 +987,7 @@ chroot_gir(){
|
|||
lfs_kontrol
|
||||
unmount_islemi
|
||||
mount_islemi
|
||||
chroot "$LFS" /usr/bin/env -i HOME=/root TERM="$TERM" PS1='\u:\w\$ ' /bin/bash --login +h
|
||||
chroot "$LFS" /usr/bin/env -i HOME=/root TERM="$TERM" PS1='\u:\w\$ ' /bin/bash --login
|
||||
#chroot "$LFS" /usr/bin/env -i HOME=/root PS1='\u:\w\$ ' /bin/bash --login +h
|
||||
}
|
||||
|
||||
|
|
|
@ -1,13 +1,11 @@
|
|||
version=2.22
|
||||
version=2.23
|
||||
source=(\
|
||||
http://ftp.gnu.org/gnu/glibc/glibc-$version.tar.xz
|
||||
http://www.linuxfromscratch.org/patches/lfs/development/glibc-$version-upstream_i386_fix-1.patch
|
||||
)
|
||||
|
||||
build()
|
||||
{
|
||||
cd glibc-$version
|
||||
patch -Np1 -i ../glibc-$version-upstream_i386_fix-1.patch
|
||||
|
||||
mkdir -v build
|
||||
cd build
|
||||
|
@ -15,7 +13,7 @@ cd build
|
|||
|
||||
../configure \
|
||||
--prefix=/tools \
|
||||
--host=$LFS_TGT \
|
||||
--host=$LFS_TARGET \
|
||||
--build=$(../scripts/config.guess) \
|
||||
--disable-profile \
|
||||
--enable-kernel=2.6.32 \
|
||||
|
@ -32,7 +30,7 @@ rm -rf /tools/share/info/dir
|
|||
make install
|
||||
|
||||
echo 'main(){}' > dummy.c
|
||||
$LFS_TGT-gcc dummy.c
|
||||
$LFS_TARGET-gcc dummy.c
|
||||
echo $(readelf -l a.out | grep ': /tools')
|
||||
rm -v dummy.c a.out
|
||||
}
|
|
@ -1,16 +1,13 @@
|
|||
# Description: The Glibc package contains the main C library.
|
||||
# URL: https://www.gnu.org/software/libc/
|
||||
# Packagers: milis
|
||||
# Packagers: tnut at nutyx dot org
|
||||
kernelversion=4.4
|
||||
|
||||
name=glibc
|
||||
version=2.22
|
||||
version=2.23
|
||||
release=1
|
||||
|
||||
source=(http://www.kernel.org/pub/linux/kernel/v4.x/linux-$kernelversion.tar.xz
|
||||
http://www.linuxfromscratch.org/patches/downloads/$name/glibc-$version-largefile-1.patch
|
||||
http://www.linuxfromscratch.org/patches/downloads/$name/glibc-$version-fhs-1.patch
|
||||
http://www.linuxfromscratch.org/patches/downloads/$name/glibc-$version-upstream_i386_fix-1.patch
|
||||
http://ftp.gnu.org/gnu/glibc/glibc-$version.tar.xz glibc.locales.supported )
|
||||
build() {
|
||||
|
||||
|
@ -26,8 +23,6 @@ cp -rv dest/include/* $PKG/usr/include
|
|||
cd ../glibc-$version
|
||||
|
||||
patch -Np1 -i ../glibc-$version-fhs-1.patch
|
||||
patch -Np1 -i ../glibc-$version-upstream_i386_fix-1.patch
|
||||
patch -Np1 -i ../glibc-$version-largefile-1.patch
|
||||
|
||||
mkdir -v ../glibc-build
|
||||
cd ../glibc-build
|
||||
|
|
Loading…
Reference in New Issue