malfs mekanizma guncelleme

This commit is contained in:
shamil 2016-02-24 23:31:11 +02:00
parent 1e419e18f4
commit 282a295872
6 changed files with 27 additions and 17 deletions

View File

@ -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

View File

@ -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/

View File

@ -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(){

View File

@ -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."

View File

@ -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
ca-certificates

View File

@ -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
}