2017-04-21 21:35:22 +02:00
|
|
|
|
#!/bin/bash
|
2017-07-26 13:09:27 +02:00
|
|
|
|
# xfce4 iso yapma
|
2017-04-21 21:35:22 +02:00
|
|
|
|
# lfs dizini oluşturup ortama girdikten sonra bu betiği çalıştırabilirsiniz,bütün ortam içi işlemler yapılacaktır.
|
|
|
|
|
masaustu="xfce4"
|
2017-06-27 14:15:23 +02:00
|
|
|
|
girisyonetici="slim"
|
2017-06-05 23:07:52 +02:00
|
|
|
|
mps kur linux-firmware
|
2017-07-26 13:09:27 +02:00
|
|
|
|
mps kur lsb-release
|
2017-06-04 16:36:30 +02:00
|
|
|
|
mps kur kernel
|
2017-07-29 17:32:22 +02:00
|
|
|
|
[ -f /usr/bin/dracut ] && rm -rf /usr/bin/dracut
|
2017-06-27 14:15:23 +02:00
|
|
|
|
mps kur dracut
|
|
|
|
|
mps kur xorg
|
2017-04-21 21:35:22 +02:00
|
|
|
|
mps -kuruld /root/talimatname/temel-ek/derleme.sira
|
|
|
|
|
mps kur $masaustu
|
2017-06-27 14:15:23 +02:00
|
|
|
|
# girisci kurulum
|
|
|
|
|
mps kur $girisyonetici
|
|
|
|
|
mps -kurul /root/ayarlar/gerekli_programlar_$masaustu
|
2017-04-21 21:35:22 +02:00
|
|
|
|
cp /root/ayarlar/.xinitrc.$masaustu /root/.xinitrc
|
|
|
|
|
cp -r /root/ayarlar/$masaustu/.config /root/
|
|
|
|
|
cp /root/ayarlar/network /etc/sysconfig/
|
|
|
|
|
cd /var/lib/pkg/DB
|
|
|
|
|
grep -rli '/mnt/lfs' * | xargs -i@ sed -i 's/\/mnt\/lfs\///g' @
|
|
|
|
|
cd /root/
|
|
|
|
|
if [ ! -f /usr/bin/dracut ];then
|
|
|
|
|
tamir_dracut
|
|
|
|
|
fi
|
|
|
|
|
./lfs-mekanizma -bo
|
|
|
|
|
rm -r /depo/paketler/*
|
|
|
|
|
mv /var/lib/pkg/tarihce/temel-pkvt.tar.lz /var/lib/pkg/tarihce/temel2-pkvt.tar.lz
|
|
|
|
|
rm -r /tmp/*
|
|
|
|
|
mps -tro
|
2017-05-25 20:29:29 +02:00
|
|
|
|
export LC_ALL="tr_TR.UTF-8"
|
|
|
|
|
export LANG="tr_TR.UTF-8"
|
2017-05-26 02:04:24 +02:00
|
|
|
|
xdg-user-dirs-update
|
|
|
|
|
if [ -f /usr/bin/slim ];then
|
2017-07-01 21:15:34 +02:00
|
|
|
|
cp -f /root/ayarlar/.xinitrc-$masaustu.slim /root/.xinitrc
|
2017-05-26 02:04:24 +02:00
|
|
|
|
fi
|
2017-06-27 14:15:23 +02:00
|
|
|
|
if [ -f /usr/bin/lxdm ];then
|
|
|
|
|
cp -rf /sources/milis.git/ayarlar/servisler/mbd/init.d/lxdm /etc/init.d/
|
|
|
|
|
fi
|
2017-06-24 16:56:24 +02:00
|
|
|
|
cp -rf /sources/milis.git/ayarlar/milbit/milbit.desktop /usr/share/applications/
|
2017-05-09 20:24:30 +02:00
|
|
|
|
cp ayarlar/kurulum.desktop /root/Desktop/
|
|
|
|
|
cp ayarlar/kurulum.desktop /root/Masaüstü/
|
2017-08-11 18:16:09 +02:00
|
|
|
|
rm -f /root/.gitconfig
|
2017-05-29 16:28:49 +02:00
|
|
|
|
tamir_touchpad
|
2017-04-21 21:35:22 +02:00
|
|
|
|
tamir_masaustu
|