ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Hihin Ruslan <ruslandh@gmail.com>
To: devel@lists.altlinux.org
Subject: Re: [devel] Проблемка с rpmbs
Date: Tue, 23 Feb 2016 07:06:03 +0300
Message-ID: <201602230706.03817@ruslandh> (raw)
In-Reply-To: <56CB7509.9000003@etersoft.ru>

[-- 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 --]

      parent reply	other threads:[~2016-02-23  4:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-23  4:00     ` Hihin Ruslan
2016-02-23  8:31       ` Vitaly Lipatov
2016-02-23 12:02         ` Hihin Ruslan
2016-02-23  4:06     ` Hihin Ruslan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201602230706.03817@ruslandh \
    --to=ruslandh@gmail.com \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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