From 282a29587203728eb2de90d1bd1db06e66d9468a Mon Sep 17 00:00:00 2001 From: shamil Date: Wed, 24 Feb 2016 23:31:11 +0200 Subject: [PATCH] malfs mekanizma guncelleme --- README.md | 10 +++------- bin/paketleri_arsivle | 2 +- lfs-mekanizma | 4 +--- mps-0.1/mps | 7 +++---- talimatname/temel/derleme.sira | 4 ++-- talimatname/temel/lzip/talimat | 17 +++++++++++++++++ 6 files changed, 27 insertions(+), 17 deletions(-) create mode 100644 talimatname/temel/lzip/talimat diff --git a/README.md b/README.md index 53df0823a..871781022 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Milis Automated Linux From Scratch apt-get remove mawk - apt-get install bsdtar binutils gcc g++ m4 make bison texinfo pkg-config squashfs-tools + apt-get install bsdtar binutils gcc g++ m4 make bison texinfo pkg-config squashfs-tools lzip rm /bin/sh @@ -86,11 +86,7 @@ Milis Automated Linux From Scratch root@makine:/opt/malfs# ./lfs-mekanizma -bk - komutu verilip bash kurulumu sağlanır.işlem aşağıdaki şekilde sonlanmalıdır. - - bash 4.3.30-3 - - bash.tr 4.3.30-3 + komutu verilip bash kurulumu sağlanır. tekrar chroot içine girilir.ortam değişkenleri ayarlandıktan sonra,temel sistem derlenmeye devam edilir. @@ -106,7 +102,7 @@ Milis Automated Linux From Scratch en son aşağıdaki mesaj ile derleme bitmelidir. - =======> 'ca-certificates#20160110-x86_64.mps.xz' basarili sekilde kuruldu. + =======> 'ca-certificates#20160110-x86_64.mps.lz' basarili sekilde kuruldu. temel sistem paketlerin paket_depo altında toplanması-paketlerin arsivlenmesi diff --git a/bin/paketleri_arsivle b/bin/paketleri_arsivle index a8afaa031..badf4cb0a 100755 --- a/bin/paketleri_arsivle +++ b/bin/paketleri_arsivle @@ -1,2 +1,2 @@ mkdir -p /paket_depo -find /root -iname "*.mps.xz" -type f | xargs -I '{}' mv {} /paket_depo/ +find /root -iname "*.mps.lz" -type f | xargs -I '{}' mv {} /paket_depo/ diff --git a/lfs-mekanizma b/lfs-mekanizma index 325c58d4d..9d47491d3 100755 --- a/lfs-mekanizma +++ b/lfs-mekanizma @@ -150,7 +150,6 @@ ikinci_ayarlar(){ cp $ANADIZIN/ayarlar/mpsd.conf $LFS/etc/ cp $ANADIZIN/ayarlar/onmpsd.conf $LFS/etc/ cp $ANADIZIN/ayarlar/dokunulmaz $LFS/etc/ - cp $ANADIZIN/ayarlar/ld.so.conf $LFS/tools/etc/ } generate_milis_version() { @@ -1027,9 +1026,8 @@ unmount_islemi() { bash_kur(){ cd $LFS/root/talimatname/temel/bash - for PACK in *.xz; do /tools/bin/pkgadd -r $LFS $PACK;done + for PACK in *.lz; do tar xf $PACK -C $LFS;done #kuruldugunu gormek icin - /tools/bin/pkginfo -r $LFS -i|grep bash } onsistem_sfs(){ diff --git a/mps-0.1/mps b/mps-0.1/mps index 588ee003a..113f476eb 100755 --- a/mps-0.1/mps +++ b/mps-0.1/mps @@ -7,18 +7,17 @@ betikad=${0##*/} kurulum_onay="evet" dokunulmaz="/etc/dokunulmaz" talimatname_dizin="/root/talimatname" +kokdizin="/" icerik_ekle(){ paketad=`echo "$1" | cut -d'#' -f1` paketad=`basename $paketad` echo $paketad" paketi kuruluyor." mkdir -p /var/lib/pkg/DB/"$paketad" && - tar xf $1 -C / && + tar xf $1 -C $kokdizin && mv /.MTREE /var/lib/pkg/DB/"$paketad"/files && mv /.META /var/lib/pkg/DB/"$paketad"/META && - if [ -f /tools/sbin/ldconfig ];then - /tools/sbin/ldconfig - else + if [ -f /etc/ld.so.conf ];then ldconfig fi echo $paketad" paketi kuruldu." diff --git a/talimatname/temel/derleme.sira b/talimatname/temel/derleme.sira index 3de53c77e..3af8c97dc 100644 --- a/talimatname/temel/derleme.sira +++ b/talimatname/temel/derleme.sira @@ -59,6 +59,7 @@ man-db nasm openssl libarchive +lzip kbd curl cpio @@ -71,6 +72,5 @@ gpm openssh dialog squashfs -cards sudo -ca-certificates \ No newline at end of file +ca-certificates diff --git a/talimatname/temel/lzip/talimat b/talimatname/temel/lzip/talimat new file mode 100644 index 000000000..54e36b88e --- /dev/null +++ b/talimatname/temel/lzip/talimat @@ -0,0 +1,17 @@ +# Description: Lzip is a lossless data compressor with a user interface similar to the one of gzip or bzip2 +# URL: download.savannah.gnu.org +# Maintainer: Antonio Diaz Diaz +# Packager: shamil + +name=lzip +version=1.18-rc1 +release=1 + +source=(http://download.savannah.gnu.org/releases/$name/$name-$version.tar.gz) +build() +{ +cd $name-$version +./configure --prefix=/usr +make +make DESTDIR=$PKG install +}