|
|
@ -8,27 +8,13 @@ sed -i 's/ALT Linux/KOMETA/' $destdir/etc/rc.d/rc.sysinit |
|
|
|
echo 'NAME="KOMETA"'>$destdir/etc/os-release |
|
|
|
echo 'NAME="KOMETA"'>$destdir/etc/os-release |
|
|
|
echo 'VERSION="School 830"'>>$destdir/etc/os-release |
|
|
|
echo 'VERSION="School 830"'>>$destdir/etc/os-release |
|
|
|
echo 'ID=kometa'>>$destdir/etc/os-release |
|
|
|
echo 'ID=kometa'>>$destdir/etc/os-release |
|
|
|
echo 'VERSION_ID=p9'>>$destdir/etc/os-release |
|
|
|
echo 'VERSION_ID=p10'>>$destdir/etc/os-release |
|
|
|
echo 'PRETTY_NAME="KOMETA School 830"'>>$destdir/etc/os-release |
|
|
|
echo 'PRETTY_NAME="KOMETA School 830"'>>$destdir/etc/os-release |
|
|
|
echo 'ANSI_COLOR="1;33"'>>$destdir/etc/os-release |
|
|
|
echo 'ANSI_COLOR="1;33"'>>$destdir/etc/os-release |
|
|
|
echo 'CPE_NAME="cpe:/o:alt:kometa:p9"'>>$destdir/etc/os-release |
|
|
|
echo 'CPE_NAME="cpe:/o:alt:kometa:p10"'>>$destdir/etc/os-release |
|
|
|
echo 'LOGO=kometa'>>$destdir/etc/os-release |
|
|
|
echo 'LOGO=kometa'>>$destdir/etc/os-release |
|
|
|
|
|
|
|
|
|
|
|
#Вынесено в skel |
|
|
|
#Настройки фонов |
|
|
|
#Добавление тёмной картинки в sddm |
|
|
|
|
|
|
|
#sed -i 's/default.png/bgschooldark.png/g' $destdir/usr/share/sddm/themes/breeze/theme.conf |
|
|
|
|
|
|
|
#Добавление тёмной картинки в lockscreen и загрузки-выходы |
|
|
|
|
|
|
|
#echo "[Greeter][Wallpaper][org.kde.image][General]">$destdir/etc/skel/.config/kscreenlockerrc |
|
|
|
|
|
|
|
#echo "Image=/usr/share/design/current/backgrounds/bgschooldark.png">>$destdir/etc/skel/.config/kscreenlockerrc |
|
|
|
|
|
|
|
#sed -i 's/default.png/bgschooldark.png/g' $destdir/usr/share/kf5/plasma/look-and-feel/org.kde.breeze.desktop/contents/userswitcher/UserSwitcher.qml |
|
|
|
|
|
|
|
#sed -i 's/default.png/bgschooldark.png/g' $destdir/usr/share/kf5/plasma/look-and-feel/org.kde.breeze.desktop/contents/splash/Splash.qml |
|
|
|
|
|
|
|
#sed -i 's/default.png/bgschooldark.png/g' $destdir/usr/share/kf5/plasma/look-and-feel/org.kde.breeze.desktop/contents/logout/Logout.qml |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#Настройки панели, иконок стола и фонов |
|
|
|
|
|
|
|
#mv $destdir/usr/share/design/school/backgrounds/p.tar $destdir/etc/skel/.local/share/ |
|
|
|
|
|
|
|
#cd $destdir/etc/skel/.local/share/ |
|
|
|
|
|
|
|
#tar -xf $destdir/etc/skel/.local/share/p.tar -C $destdir/etc/skel/.local/share/ |
|
|
|
|
|
|
|
#rm -f $destdir/etc/skel/.local/share/p.tar |
|
|
|
|
|
|
|
cp $destdir/usr/share/design/school/backgrounds/bglight.png $destdir/etc/skel/ |
|
|
|
cp $destdir/usr/share/design/school/backgrounds/bglight.png $destdir/etc/skel/ |
|
|
|
cp $destdir/usr/share/design/school/backgrounds/default.png $destdir/etc/skel/ |
|
|
|
cp $destdir/usr/share/design/school/backgrounds/default.png $destdir/etc/skel/ |
|
|
|
|
|
|
|
|
|
|
@ -57,7 +43,5 @@ echo "/home/tmp /tmp auto bind,rw,nosuid 0 0">>$destdir/etc/f |
|
|
|
|
|
|
|
|
|
|
|
#Скрипт update |
|
|
|
#Скрипт update |
|
|
|
echo "#!/bin/sh">$destdir/root/upd.sh |
|
|
|
echo "#!/bin/sh">$destdir/root/upd.sh |
|
|
|
echo "apt-get update">>$destdir/root/upd.sh |
|
|
|
echo "apt-get update && apt-get -y dist-upgrade && update-kernel -f && apt-get clean">>$destdir/root/upd.sh |
|
|
|
echo "apt-get -y dist-upgrade">>$destdir/root/upd.sh |
|
|
|
chmod u+x $destdir/root/upd.sh |
|
|
|
echo "update-kernel -f">>$destdir/root/upd.sh |
|
|
|
|
|
|
|
echo "apt-get clean">>$destdir/root/upd.sh |
|
|
|
|
|
|
|