lfs-mekanizma.ayar
This commit is contained in:
parent
df171d2d34
commit
9ce0480a67
|
@ -15,7 +15,7 @@ birinci_ayarlar(){
|
||||||
root_kontrol
|
root_kontrol
|
||||||
lfs_kontrol
|
lfs_kontrol
|
||||||
#lfs dizinin olusturulması
|
#lfs dizinin olusturulması
|
||||||
mkdir -p /mnt/lfs
|
mkdir -p $LFS
|
||||||
#lfs kullanici-grup silme sıfırlama
|
#lfs kullanici-grup silme sıfırlama
|
||||||
userdel lfs
|
userdel lfs
|
||||||
rm -r /home/lfs
|
rm -r /home/lfs
|
||||||
|
@ -110,7 +110,7 @@ ikinci_ayarlar(){
|
||||||
root_kontrol
|
root_kontrol
|
||||||
lfs_kontrol
|
lfs_kontrol
|
||||||
unmount_islemi
|
unmount_islemi
|
||||||
mv /mnt/sources_depo /mnt/lfs/sources
|
mv /mnt/sources_depo $LFS/sources
|
||||||
chown -R root:root $LFS
|
chown -R root:root $LFS
|
||||||
install -dv -m0750 $LFS/root
|
install -dv -m0750 $LFS/root
|
||||||
rm -r $LFS/root/bin
|
rm -r $LFS/root/bin
|
||||||
|
@ -1013,27 +1013,27 @@ bash_kur(){
|
||||||
|
|
||||||
onsistem_sfs(){
|
onsistem_sfs(){
|
||||||
tarih=`date +%Y-%m-%d`
|
tarih=`date +%Y-%m-%d`
|
||||||
mv /mnt/lfs/sources /mnt/sources_depo
|
mv $LFS/sources /mnt/sources_depo
|
||||||
mksquashfs /mnt/lfs malfs-asama1-onsistem_$tarih.sfs -comp xz
|
mksquashfs $LFS malfs-asama1-onsistem_$tarih.sfs -comp xz
|
||||||
}
|
}
|
||||||
|
|
||||||
temel_sfs(){
|
temel_sfs(){
|
||||||
unmount_islemi
|
unmount_islemi
|
||||||
tarih=`date +%Y-%m-%d`
|
tarih=`date +%Y-%m-%d`
|
||||||
mv /mnt/lfs/sources /mnt/sources_depo
|
mv $LFS/sources /mnt/sources_depo
|
||||||
mv /mnt/lfs/tools /mnt/tools_ydk
|
mv $LFS/tools /mnt/tools_ydk
|
||||||
mv /mnt/lfs/paket_depo /mnt/base_paket_depo
|
mv $LFS/paket_depo /mnt/base_paket_depo
|
||||||
mksquashfs /mnt/lfs malfs-asama2-temel_$tarih.sfs -comp xz
|
mksquashfs $LFS malfs-asama2-temel_$tarih.sfs -comp xz
|
||||||
mv /mnt/sources_depo /mnt/lfs/sources
|
mv /mnt/sources_depo $LFS/sources
|
||||||
}
|
}
|
||||||
|
|
||||||
son_sfs(){
|
son_sfs(){
|
||||||
unmount_islemi
|
unmount_islemi
|
||||||
tarih=`date +%Y-%m-%d`
|
tarih=`date +%Y-%m-%d`
|
||||||
mv /mnt/lfs/sources /mnt/sources_depo
|
mv $LFS/sources /mnt/sources_depo
|
||||||
mv /mnt/lfs/paket_depo /mnt/paket_depo
|
mv $LFS/paket_depo /mnt/paket_depo
|
||||||
rm -r -f /mnt/lfs/usr/src
|
rm -r -f $LFS/usr/src
|
||||||
mksquashfs /mnt/lfs malfs-asama3-sonsistem_$tarih.sfs -comp xz
|
mksquashfs $LFS malfs-asama3-sonsistem_$tarih.sfs -comp xz
|
||||||
}
|
}
|
||||||
|
|
||||||
baslatici_olustur(){
|
baslatici_olustur(){
|
||||||
|
@ -1050,8 +1050,8 @@ squashfs_olustur(){
|
||||||
unmount_islemi
|
unmount_islemi
|
||||||
lfs_kontrol
|
lfs_kontrol
|
||||||
#son ayar yuklemeleri
|
#son ayar yuklemeleri
|
||||||
cp /etc/bashrc /mnt/lfs/etc/bashrc
|
cp /etc/bashrc $LFS/etc/bashrc
|
||||||
cp ./ayarlar/mps.conf /mnt/lfs/etc/mps.conf
|
cp ./ayarlar/mps.conf $LFS/etc/mps.conf
|
||||||
iso_etiket="malfsLive"
|
iso_etiket="malfsLive"
|
||||||
rm iso_icerik/boot/kernel
|
rm iso_icerik/boot/kernel
|
||||||
rm iso_icerik/boot/initramfs
|
rm iso_icerik/boot/initramfs
|
||||||
|
|
Loading…
Reference in New Issue