ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Alexey I. Froloff" <raorn@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] ~/.rpmmacros inside hasher chroot
Date: Tue, 23 Sep 2008 13:31:30 +0400
Message-ID: <20080923093130.GE10576@altlinux.org> (raw)
In-Reply-To: <f7a739430809222332r4adfa169mee99c6083c40fa3a@mail.gmail.com>

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

* Eugene Prokopiev <enp@> [080923 10:45]:
> В целях борьбы со склерозом хочется получать из hasher на выходе уже
> подписанные пакеты. Как правильно перед сборкой подложить в сборочный
> чрут ~/.rpmmacros и ключ? Городить обертку, которая затем подпишет
> получившиеся пакеты, не хочется ... или так и положено делать?

==8<==
#!/bin/sh -efu

trap '' SIGPIPE

. /etc/sisyphus/config

gear-hsh-build --prefix="/raid/raorn/hasher" --target=i586 --export="$START_DIR" --sisyphus --cleanup-repo "$@"

find "$START_DIR/SRPMS" "$START_DIR/RPMS" -mindepth 1 -maxdepth 1 -type f -name '*.rpm' -print0 |
    xargs -r0 rpm --addsign --

find "$START_DIR/SRPMS" -mindepth 1 -maxdepth 1 -type f -name '*.rpm' -print0 |
    xargs -r0 cp -f -v --target-directory="$HOME/2alt/Sisyphus/" --

sisyphus_add_new
sisyphus_relink
sisyphus_genhash
==>8==

-- 
Regards,
Sir Raorn.

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

      reply	other threads:[~2008-09-23  9:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-23  6:32 Eugene Prokopiev
2008-09-23  9:31 ` Alexey I. Froloff [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=20080923093130.GE10576@altlinux.org \
    --to=raorn@altlinux.ru \
    --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