From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 7 Nov 2006 23:31:43 +0300 From: =?koi8-r?B?5MXOydMg883J0s7P1w==?= To: devel@lists.altlinux.org Message-ID: <20061107203143.GB13108@localhost.localdomain> References: <20060910185913.GD22147@localhost.localdomain> <20060911040006.GA17693@localhost.localdomain> <20061105212120.GA7107@localhost.localdomain> <20061105213603.GA3523@basalt.office.altlinux.org> <20061106160330.GA31466@localhost.localdomain> <20061107081438.GB16256@lks.home> <20061107083319.GB9088@localhost.localdomain> <20061107083653.GA17813@lks.home> <20061107122536.63135418@localhost.localdomain> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="O3RTKUHj+75w1tg5" Content-Disposition: inline In-Reply-To: <20061107122536.63135418@localhost.localdomain> Subject: Re: [devel] double chroot X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.9rc1 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: Tue, 07 Nov 2006 20:32:00 -0000 Archived-At: List-Archive: List-Post: --O3RTKUHj+75w1tg5 Content-Type: multipart/mixed; boundary="WYTEVAkct0FjGQmd" Content-Disposition: inline --WYTEVAkct0FjGQmd Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 07, 2006 at 12:25:36PM +0300, Alex V. Myltsev wrote: AVM> * =C9=CE=D3=D4=D2=D5=CD=C5=CE=D4=D9 (mksquashfs, genromfs, mkisofs =C9= =D0=D2=CF=DE=C9=C5 =CE=C5=CF=C2=C8=CF=C4=C9=CD=D9=C5 AVM> =C4=CC=D1 =D3=C2=CF=D2=CB=C9 =D7=C5=DD=C9) =CE=C5=CC=D8=DA=D1 =D7=D9= =D0=CF=CC=CE=D1=D4=D8 =D7 =DE=D2=D5=D4=C5, =D0=CF=D4=CF=CD=D5 =DE=D4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CF glibc). --=20 =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD, =E4=C5=CE=C9=D3 http://freesource.info ---------------------------------------------------------------------------- =EE=C1=D3=D4=CF=D1=DD=C9=C5 =D0=D2=CF=C7=D2=C1=CD=CD=C9=D3=D4=D9 =C4=C5=CC= =C1=C0=D4 =D4=C1=CB: COPY CON PROGRAM. EXE. --WYTEVAkct0FjGQmd Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=aptbox2cpio #!/bin/bash #=============================================================================# # Make cpios image from fakeroot directory # #=============================================================================# # Requires: # hasher by Dmitry V. Levin (ldv) # cpio #=============================================================================# # (C) Denis Smirnov $T cp -a `which cpio` $chroot/.host/ echo "Creating $RESULT" | csed '/.*/ p green' >&2 hsh-run "$WORKDIR" --rooter --save-fakeroot -- /.host/find / \ -mindepth 1 \ -name .in -prune -o \ -name .out -prune -o \ -name .host -prune -o \ -name .fakedata -prune -o \ -name .altlinux.img -prune -o \ -wholename /usr/lib*/*fakeroot* -prune -o \ -print0 \ | grep -vz ^/etc$ \ | grep -vz ^/etc/passwd$ \ | grep -vz ^/etc/group$ \ >> $T \ 2> /dev/null hsh-run "$WORKDIR" --rooter --save-fakeroot -- /.host/cpio \ -0 -c --create --quiet > "$RESULT" < $T rm -f $T --WYTEVAkct0FjGQmd-- --O3RTKUHj+75w1tg5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFUO0vPuR8c4jhFKIRAhAJAJ9MYkm/4Cy0ALWuej+EEfcuU2Q4NQCfZ1dW o6bQotPnnNf+3MzUMNtlJUw= =CmSU -----END PGP SIGNATURE----- --O3RTKUHj+75w1tg5--