From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 28 Nov 2005 00:40:05 +0200 From: Michael Shigorin To: ALT Devel discussion list Message-ID: <20051127224005.GA10926@osdn.org.ua> Mail-Followup-To: ALT Devel discussion list References: <20051127223508.GA30790@nomad.office.altlinux.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+svXpSx+RSEd8UhP" Content-Disposition: inline In-Reply-To: <20051127223508.GA30790@nomad.office.altlinux.org> User-Agent: Mutt/1.4.2.1i Cc: Subject: [devel] hasher --cleanup X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Nov 2005 22:40:21 -0000 Archived-At: List-Archive: List-Post: --+svXpSx+RSEd8UhP Content-Type: multipart/mixed; boundary="yr6OvWOSyJed8q4v" Content-Disposition: inline --yr6OvWOSyJed8q4v Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 28, 2005 at 01:35:08AM +0300, Dmitry V. Levin wrote: > =F0=D2=CF=C1=CE=C1=CC=C9=DA=C9=D2=CF=D7=C1=D7 =C4=CF=CC=C7=C9=CA =CF=D0= =D9=D4 =DC=CB=D3=D0=CC=D5=C1=D4=C1=C3=C9=C9 hasher'=C1 =D7 =D2=C1=DA=CC=C9= =DE=CE=D9=C8 > =D5=D3=CC=CF=D7=C9=D1=C8, =D1 =D3=C4=C5=CC=C1=CC =D7=D9=D7=CF=C4, =DE=D4= =CF =D7 =C2=CF=CC=D8=DB=C9=CE=D3=D4=D7=C5 =D3=CC=D5=DE=C1=C5=D7 =C9=CD=C5= =C5=D4 =D3=CD=D9=D3=CC > =D5=C4=C1=CC=D1=D4=D8 =D3=C2=CF=D2=CF=DE=CE=D5=C0 =D3=D2=C5=C4=D5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C=D8=DA=CF=D7=C1=D4=D8, =CF=CE=C9 =C4=CF= =CC=D6=CE=D9 > =D3=CC=C1=C2=CF =D0=C5=D2=C5=D3=C5=CB=C1=D4=D8=D3=D1 =D3 =C4=D2=D5=C7=C9= =CD=C9. =EE=C1=D0=D2=C9=CD=C5=D2, =D0=D2=C9 =CE=C1=CC=C9=DE=C9=C9 =CB=CC= =C0=DE=C1 > --cleanup-only =C4=CF=C2=C1=D7=CC=C5=CE=C9=C5 =C5=DD=A3 =CF=C4=CE=CF=C7= =CF =CB=CC=C0=DE=C1 =D3 =D0=D2=C5=C6=C9=CB=D3=CF=CD > --cleanup =C4=C5=CC=C1=C5=D4 =C9=D3=D0=CF=CC=D8=DA=CF=D7=C1=CE=C9=C5 =CF= =C2=CF=C9=C8 =CB=CC=C0=DE=C5=CA =CD=C5=CE=C5=C5 =D5=C4=CF=C2=CE=D9=CD. --delete --delete-after? --=20 ---- WBR, Michael Shigorin ------ Linux.Kiev http://www.linux.kiev.ua/ --yr6OvWOSyJed8q4v Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=hsh-wrapper #!/bin/sh # configure hasher for a given branch # original: Alexey Beleckiy # further: Michael Shigorin BUILDPREFIX="$HOME/hasher" # per-branch hashroots APTPREFIX="/usr/local/etc/apt" # per-branch configurations SCRIPT="`basename $0`" BRANCH="${SCRIPT##hsh-}" BUILDDIR="$BUILDPREFIX/$BRANCH" APTDIR="$APTPREFIX/$BRANCH" APTCONF="$APTDIR/apt.conf" HSH="/bin/nice /usr/bin/time /usr/bin/hsh" #RMCHROOT="$HSH --cleanup-only $BUILDDIR" # 1.0.15 RMCHROOT="/usr/share/hasher/rmchroot $BUILDDIR" [ -d "$APTDIR" ] || { echo "$APTDIR expected to contain APT setup for $BRANCH" exit 1 } [ -f "$APTCONF" ] || { echo "$APTCONF missing" exit 1 } case $1 in -nc|--noclean) RMCHROOT="/bin/false"; shift;; esac echo "*** building in $BUILDDIR with $APTCONF" $HSH -v --apt-config="$APTCONF" "$BUILDDIR" $* && $RMCHROOT --yr6OvWOSyJed8q4v-- --+svXpSx+RSEd8UhP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFDijXFbsPDprYMm3IRAjJUAJ98Ed1iB0UQe2LBkC9NGuMxHhCc+gCfeiNT kVJfhhtL8nr+p7NIkNgxAzk= =lpbU -----END PGP SIGNATURE----- --+svXpSx+RSEd8UhP--