ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "Денис Смирнов" <mithraen@altlinux.ru>
To: shigorin@gmail.com,
	ALT Linux sysadmins' discussion <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] kernel-image-ovz-smp-2.6.32
Date: Thu, 13 May 2010 04:20:51 +0400
Message-ID: <20100513002051.GB31284@mw.office.seiros.ru> (raw)
In-Reply-To: <20100512182825.GS24342@osdn.org.ua>

[-- Attachment #1: Type: text/plain, Size: 2448 bytes --]

On Wed, May 12, 2010 at 09:28:25PM +0300, Michael Shigorin wrote:

MS> Подскажи/задокументируй?  А то я руками, как дурак, для tmc-tc...

Руками это как? :-(   )

Mithraen  втом что касается ядра -- ламер редкостный и делал тупо по
документации:

для тестов:
buildmodules -k flavour modulename

для релиза:
buildmodules -k flavour -f --tag modulename

Или ты про заливку?

hint: в out/taglist остается список созданых tag'ов

Вот такой скриптик у меня съедает этот список, и формирует скриптец который создает стопку task'ов.

У меня это именно стопка task'ов, потому как я не собираю ядра с кучей модулей, а собираю модули под кучку ядер.

А генерирую скриптик потому как попался на то же что и ты когда-то -- что ssh съедает stdin. Но понять это я не смог, потому предпочел просто сгенерировать код, который потом выполнять :)

#!/bin/bash                                                                                                  
pushd ../modules                                                                                             
git push --tags                                                                                              
git push                                                                                                     
popd                                                                                                         
> tmp.script                                                                                                 
cat taglist | while read tag; do                                                                             
        if [ "$tag" != "" ]; then                                                                            
                echo ssh git.alt task new >> tmp.script                                                      
                echo ssh git.alt task add repo kernel-modules "\"$tag\"" >> tmp.script                       
                echo ssh git.alt task run >> tmp.script                                                      
        fi                                                                                                   
done                                                                                                         
chmod +x tmp.script 

-- 
С уважением, Денис

http://mithraen.ru/
----------------------------------------------------------------------------

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  parent reply	other threads:[~2010-05-13  0:20 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-08 11:56 ` Konstantin Pavlov
2010-05-10 16:16 ` Денис Смирнов
2010-05-11 13:11     ` Денис Смирнов
2010-05-11 13:12     ` Денис Смирнов
2010-05-11 13:27       ` Slava Dubrovskiy
2010-05-11 13:32       ` Konstantin Pavlov
2010-05-11 14:33       ` Ivan Fedorov
2010-05-11 20:26         ` Денис Смирнов
2010-05-11 14:38       ` Vitaly Kuznetsov
2010-05-11 17:06           ` Michael Shigorin
2010-05-11 17:49             ` Vitaly Kuznetsov
2010-05-11 20:28         ` Денис Смирнов
2010-05-12 16:05             ` Денис Смирнов
2010-05-12 18:28               ` Michael Shigorin
2010-05-12 19:38                 ` Vitaly Kuznetsov
2010-05-13  0:20                 ` Денис Смирнов [this message]
2010-05-12 19:39               ` Ivan Fedorov
2010-05-13  0:21                 ` Денис Смирнов
2010-05-13  5:16                   ` Алексей Шенцев

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=20100513002051.GB31284@mw.office.seiros.ru \
    --to=mithraen@altlinux.ru \
    --cc=shigorin@gmail.com \
    --cc=sysadmins@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 sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git