milis/bin/mate_iso_yapma.sh

49 lines
1.5 KiB
Bash
Raw Normal View History

2017-06-24 05:57:24 +02:00
#!/bin/bash
2017-07-01 22:05:10 +02:00
# mate iso yapma
2017-06-24 05:57:24 +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="mate"
2017-07-01 10:40:06 +02:00
girisyonetici="slim"
2017-06-24 05:57:24 +02:00
mps kur linux-firmware
2017-07-26 13:09:27 +02:00
mps kur lsb-release
2017-06-24 05:57:24 +02:00
mps kur kernel
2017-07-29 17:32:22 +02:00
[ -f /usr/bin/dracut ] && rm -rf /usr/bin/dracut
2017-06-24 05:57:24 +02:00
mps kur dracut
2017-06-24 06:19:30 +02:00
mps kur xorg
2017-06-24 05:57:24 +02:00
mps -kuruld /root/talimatname/temel-ek/derleme.sira
mps kur $masaustu
# girisci kurulum
2017-06-24 07:17:16 +02:00
mps kur $girisyonetici
2017-06-24 05:58:31 +02:00
mps -kurul /root/ayarlar/gerekli_programlar_$masaustu
2017-07-01 08:27:46 +02:00
mkdir /usr/share/backgrounds/milis
cp /root/ayarlar/mate/milis-arkaplan/* /usr/share/backgrounds/milis/
2017-06-24 05:57:24 +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' @
2017-08-21 03:47:52 +02:00
cd /sources/milis.git
2017-06-24 05:57:24 +02:00
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
export LC_ALL="tr_TR.UTF-8"
export LANG="tr_TR.UTF-8"
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-06-24 05:57:24 +02:00
fi
2017-06-24 07:22:15 +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-06-24 05:57:24 +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-06-24 05:57:24 +02:00
tamir_touchpad
2017-07-01 08:13:30 +02:00
tamir_mate_logo
2017-06-24 05:57:24 +02:00
tamir_masaustu