* Re: [devel] Проблемка с rpmbs
@ 2016-02-23 4:00 ` Hihin Ruslan
2016-02-23 8:31 ` Vitaly Lipatov
2016-02-23 4:06 ` Hihin Ruslan
1 sibling, 1 reply; 4+ messages in thread
From: Hihin Ruslan @ 2016-02-23 4:00 UTC (permalink / raw)
To: devel
[-- Attachment #1: Type: text/plain, Size: 832 bytes --]
Здравствуйте Vitaly Lipatov
В сообщении от 22 февраля 2016 Vitaly Lipatov написал(a):
> On 22.02.2016 23:37, Vitaly Lipatov wrote:
> > ...Загляните в файл /etc/altlinux-release
> > и что потом выводит
> > $ distr_vendor
>
> Если по какой-то причине хотите из системы на p6 или p7
> собирать src.rpm для Сизифа, то можно в
> /etc/eterbuild/config
> раскомментрировать
> MENV=SS
>
> Предложения приветствуются.
Да не, я собираю на Сизифе, хотя и на p7 научится - бы не
помешало, а вто с первым вашим письмом - интересно:
$ distr_vendor
ALTLinux/p6
$ cat /etc/altlinux-release
ALT Linux 7.0.5 KDesktop (Centaurea Montana)
--
А ещё говорят так (fortune):
Neither spread the germs of gossip nor encourage others to do so.
________________________________________________________________________
С уважением Хихин Руслан
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [devel] Проблемка с rpmbs
2016-02-23 4:00 ` [devel] Проблемка с rpmbs Hihin Ruslan
@ 2016-02-23 8:31 ` Vitaly Lipatov
2016-02-23 12:02 ` Hihin Ruslan
0 siblings, 1 reply; 4+ messages in thread
From: Vitaly Lipatov @ 2016-02-23 8:31 UTC (permalink / raw)
To: devel
On 23.02.2016 07:00, Hihin Ruslan wrote:
>
> Да не, я собираю на Сизифе, хотя и на p7 научится - бы не
> помешало, а вто с первым вашим письмом - интересно:
>
> $ distr_vendor
> ALTLinux/p6
>
> $ cat /etc/altlinux-release
> ALT Linux 7.0.5 KDesktop (Centaurea Montana)
Если Сизиф, тогда надо привести в соответствие:
$ rpm -qf /etc/altlinux-release
altlinux-release-sisyphus-20081222-alt1
--
С уважением,
Виталий Липатов,
Etersoft
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [devel] Проблемка с rpmbs
2016-02-23 4:00 ` [devel] Проблемка с rpmbs Hihin Ruslan
@ 2016-02-23 4:06 ` Hihin Ruslan
1 sibling, 0 replies; 4+ messages in thread
From: Hihin Ruslan @ 2016-02-23 4:06 UTC (permalink / raw)
To: devel
[-- Attachment #1: Type: text/plain, Size: 2843 bytes --]
Здравствуйте Vitaly Lipatov
В сообщении от 22 февраля 2016 Vitaly Lipatov написал(a):
> On 22.02.2016 23:37, Vitaly Lipatov wrote:
> > ...Загляните в файл /etc/altlinux-release
> > и что потом выводит
> > $ distr_vendor
>
> Если по какой-то причине хотите из системы на p6 или p7
> собирать src.rpm для Сизифа, то можно в
> /etc/eterbuild/config
> раскомментрировать
> MENV=SS
>
> Предложения приветствуются.
$ sh -x dist_vendor
sh: dist_vendor: Нет такого файла или каталога
[writer@Rostov ~]$ sh -x distr_vendor
+ DISTRIB_ID=Generic
+ DISTRIB_RELEASE=
+ distro lsb-release
+ DISTROFILE=/etc/lsb-release
+ '[' -f /etc/lsb-release ']'
++ get_var DISTRIB_ID
++ cat /etc/lsb-release
++ sed -e 's/^[^=]*[ \t]*=[ \t]*//'
++ head -n 1
++ grep -i '^DISTRIB_ID *='
+ DISTRIB_ID='"ALT"'
++ cat /etc/lsb-release
++ get_var DISTRIB_RELEASE
++ grep -i '^DISTRIB_RELEASE *='
++ head -n 1
++ sed -e 's/^[^=]*[ \t]*=[ \t]*//'
+ DISTRIB_RELEASE=
+ distro altlinux-release
+ DISTROFILE=/etc/altlinux-release
+ '[' -f /etc/altlinux-release ']'
+ DISTRIB_ID=ALTLinux
+ has Strawberry
+ '[' -n /etc/altlinux-release ']'
+ grep Strawberry /etc/altlinux-release
+ has Citron
+ '[' -n /etc/altlinux-release ']'
+ grep Citron /etc/altlinux-release
+ has 20050723
+ '[' -n /etc/altlinux-release ']'
+ grep 20050723 /etc/altlinux-release
+ has Ajuga
+ '[' -n /etc/altlinux-release ']'
+ grep Ajuga /etc/altlinux-release
+ has 20070810
+ '[' -n /etc/altlinux-release ']'
+ grep 20070810 /etc/altlinux-release
+ has 'ALT Linux 4.0'
+ '[' -n /etc/altlinux-release ']'
+ grep 'ALT Linux 4.0' /etc/altlinux-release
+ has 'ALT Linux 4.1'
+ '[' -n /etc/altlinux-release ']'
+ grep 'ALT Linux 4.1' /etc/altlinux-release
+ has Walnut
+ '[' -n /etc/altlinux-release ']'
+ grep Walnut /etc/altlinux-release
+ has 5.0
+ '[' -n /etc/altlinux-release ']'
+ grep 5.0 /etc/altlinux-release
+ has 5.1
+ '[' -n /etc/altlinux-release ']'
+ grep 5.1 /etc/altlinux-release
+ has 'ALT Linux p5'
+ '[' -n /etc/altlinux-release ']'
+ grep 'ALT Linux p5' /etc/altlinux-release
+ has 'ALT Linux p6'
+ '[' -n /etc/altlinux-release ']'
+ grep 'ALT Linux p6' /etc/altlinux-release
+ has 'ALT Linux p7'
+ '[' -n /etc/altlinux-release ']'
+ grep 'ALT Linux p7' /etc/altlinux-release
+ has 6.0
+ '[' -n /etc/altlinux-release ']'
+ grep 6.0 /etc/altlinux-release
+ has Centaurea
+ '[' -n /etc/altlinux-release ']'
+ grep Centaurea /etc/altlinux-release
+ DISTRIB_RELEASE=p6
+ case $1 in
+ '[' -n p6 ']'
+ echo ALTLinux/p6
ALTLinux/p6
--
А ещё говорят так (fortune):
I was at this restaurant. The sign said "Breakfast Anytime." So I
ordered French Toast in the Rennaissance. -- Steven Wright
________________________________________________________________________
С уважением Хихин Руслан
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-02-23 12:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-23 4:00 ` [devel] Проблемка с rpmbs Hihin Ruslan
2016-02-23 8:31 ` Vitaly Lipatov
2016-02-23 12:02 ` Hihin Ruslan
2016-02-23 4:06 ` Hihin Ruslan
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git