Репозиторий osmesh.ru

master
Artem Proskurnev 3 years ago
parent f0e2a49125
commit 0e80275e86
  1. 17
      build.sh
  2. 7
      installer-feature-kometa-school-kde5.spec
  3. 5
      installer-feature-kometa-school-kde5/93-kometa-school-kde5.sh

@ -0,0 +1,17 @@
#!/bin/sh
mkdir -p ~/RPM/SOURCES
mkdir -p ~/RPM/SPECS
for i in $(ls *.spec)
do
v=$(cat $i | grep Version | cut -c 9- | sed 's/ *//g')
n=$(basename -s .spec $i)
d=$n-$v
if [ -d $n ]; then
cp -fr $n $d
tar -cvf $d.tar $d
mv -f $d.tar ~/RPM/SOURCES/
cp -f $i ~/RPM/SPECS/
rm -rf $d
fi
rpm -ba ~/RPM/SPECS/$i
done

@ -1,6 +1,6 @@
Name: installer-feature-kometa-school-kde5
Version: 1.0
Release: kometa7
Version: 1.1
Release: kometa1
Summary: feature to kometa school distro
License: GPL
@ -27,6 +27,9 @@ install -pm755 93-kometa-school-kde5.sh %buildroot%hookdir/
%hookdir/*
%changelog
* Thu Feb 22 2022 Artem Proskurnev <tema@proskurnevs.ru> 1.1-kometa1
- Репозиторий osmesh.ru
* Fri Dec 24 2021 Artem Proskurnev <tema@proskurnevs.ru> 1.0-kometa7
- os-release отдельным файлом

@ -10,11 +10,12 @@ cp $destdir/usr/share/design/school/backgrounds/bglight.png $destdir/etc/skel/
cp $destdir/usr/share/design/school/backgrounds/default.png $destdir/etc/skel/
#Настройка дефолтных реп
#echo "">>$destdir/etc/apt/sources.list
echo "">>$destdir/etc/apt/sources.list
#raz=`cat $destdir/etc/apt/sources.list.d/yandex.list|grep x86_64`
#if [ "$raz" != "" ];
#then
#echo "rpm http://school830.ru/myrepo/ x86_64 hasher">>$destdir/etc/apt/sources.list
echo "rpm http://osmesh.ru/repo/p10 x86_64 hasher">>$destdir/etc/apt/sources.list
echo "rpm http://osmesh.ru/repo/p10 noarch hasher">>$destdir/etc/apt/sources.list
#else
#echo "rpm http://school830.ru/myrepo/ i586 hasher">>$destdir/etc/apt/sources.list
#fi
Loading…
Cancel
Save