diff --git a/bin/mps b/bin/mps index cab692229..1ffe05b94 100755 --- a/bin/mps +++ b/bin/mps @@ -28,10 +28,10 @@ icerik_ekle(){ mkdir -p tmpk.$paketad tar xf $1 -C tmpk.$paketad && mkdir -p /var/lib/pkg/DB/"$paketad" && - cp -avf tmpk.$paketad/* $kokdizin > tmpk.$paketad/kurulan && + cp -axvnu tmpk.$paketad/* $kokdizin > tmpk.$paketad/kurulan cat tmpk.$paketad/kurulan | cut -d '>' -f2 > /var/lib/pkg/DB/"$paketad"/kurulan #mv tmpk.$paketad/.MTREE /var/lib/pkg/DB/"$paketad"/files && - mv tmpk.$paketad/.META /var/lib/pkg/DB/"$paketad"/META && + mv tmpk.$paketad/.META /var/lib/pkg/DB/"$paketad"/META #kur-kos calistirilmasi if [ -f tmpk.$paketad/.POST ];then @@ -48,8 +48,10 @@ icerik_ekle(){ # rm $kokdizin/.README #fi rm -r tmpk.$paketad - if [ -f /etc/ld.so.conf ];then - ldconfig + if [ -f /tools/sbin/ldconfig ];then + /tools/sbin/ldconfig + else + /sbin/ldconfig fi ryaz 34 $paketad" paketi kuruldu." } @@ -88,8 +90,10 @@ icerik_ekle2(){ # rm $kokdizin/.README #fi rm -r tmpk.$paketad - if [ -f /etc/ld.so.conf ];then - ldconfig + if [ -f /tools/sbin/ldconfig ];then + /tools/sbin/ldconfig + else + /sbin/ldconfig fi ryaz 34 $paketad" paketi kuruldu." } diff --git a/lfs-mekanizma b/lfs-mekanizma index 4cc14bdfe..67a9bd180 100755 --- a/lfs-mekanizma +++ b/lfs-mekanizma @@ -149,6 +149,7 @@ ikinci_ayarlar(){ generate_milis_version cp $ANADIZIN/ayarlar/mpsd.conf $LFS/etc/ cp $ANADIZIN/ayarlar/onmpsd.conf $LFS/etc/ + cp $ANADIZIN/ayarlar/ld.so.conf $LFS/tools/etc/ } generate_milis_version() { diff --git a/talimatname/onsistem/0glibc/talimat b/talimatname/onsistem/0glibc/talimat index a6674b302..b1e29fefd 100644 --- a/talimatname/onsistem/0glibc/talimat +++ b/talimatname/onsistem/0glibc/talimat @@ -13,7 +13,7 @@ cd build ../configure \ --prefix=/tools \ - --host=$LFS_TARGET \ + --host=$LFS_TGT \ --build=$(../scripts/config.guess) \ --disable-profile \ --enable-kernel=2.6.32 \ @@ -30,7 +30,7 @@ rm -rf /tools/share/info/dir make install echo 'main(){}' > dummy.c -$LFS_TARGET-gcc dummy.c +$LFS_TGT-gcc dummy.c echo $(readelf -l a.out | grep ': /tools') rm -v dummy.c a.out } \ No newline at end of file diff --git a/talimatname/temel/zlib/talimat b/talimatname/temel/zlib/talimat index 02c3258d4..c11b70cb9 100644 --- a/talimatname/temel/zlib/talimat +++ b/talimatname/temel/zlib/talimat @@ -12,8 +12,6 @@ build() { # VĂ©rifier si necessaire de faire les verifs du bon fonctionnement de # glibc et du linker if [ -L /bin/pwd ];then - ldconfig - ln -s /tools/lib/* /tools/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/ mv -v /tools/bin/ld /tools/bin/ld-old mv -v /tools/$(uname -m)-pc-linux-gnu/bin/ld /tools/$(uname -m)-pc-linux-gnu/bin/ld-old mv -v /tools/bin/ld-new /tools/bin/ld