From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 8 Jan 2008 20:30:36 +0300 From: "Dmitry V. Levin" To: ALT Linux Team development discussions Message-ID: <20080108173036.GB27978@wo.int.altlinux.org> Mail-Followup-To: ALT Linux Team development discussions References: <4783AB3F.5080000@altlinux.ru> <4783ACB6.5030000@altlinux.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZoaI/ZTpAVc4A5k6" Content-Disposition: inline In-Reply-To: <4783ACB6.5030000@altlinux.ru> X-fingerprint: FE4C 93AB E19A 2E4C CB5D 3E4E 7CAB E6AC 9E35 361E Subject: Re: [devel] java-1.6.0 X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jan 2008 17:30:36 -0000 Archived-At: List-Archive: List-Post: --ZoaI/ZTpAVc4A5k6 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 08, 2008 at 08:02:46PM +0300, Vitaly Kuznetsov wrote: > Vitaly Kuznetsov =D0=C9=DB=C5=D4: > > =E7=CF=D3=D0=CF=C4=C1, =D0=CF=CD=CF=C7=C9=D4=C5 =D2=C1=DA=CF=C2=D2=C1= =D4=D8=D3=D1 > > =E7=C4=C5-=D4=CF =CD=C5=D3=D1=C3 =CE=C1=DA=C1=C4 =D4=C1=CB=C9=C8 =D0=D2= =CF=C2=CC=C5=CD =CE=C5 =D7=CF=DA=CE=C9=CB=C1=CC=CF. > > =F3=C5=CA=DE=C1=D3 =D3=CF=C2=C9=D2=C1=C0 =D0=C1=CB=C5=D4 =D7 =C8=C5=DB= =C5=D2=C5, java =CE=C5 =DA=C1=D0=D5=D3=CB=C1=C5=D4=D3=D1 > =F3=CF=D2=D2=C9, =D2=C1=DA=CF=C2=D2=C1=CC=D3=D1, --mountpoints=3D/proc = =C8=C5=DB=C5=D2=D5 =DA=C1=C2=D9=CC. > =ED=CF=D6=C5=D4 =CB=C1=CB-=D4=CF =D3=C4=C5=CC=C1=D4=D8 =DE=D4=CF=C2 =D0= =C1=CB=C5=D4 java =C5=C7=CF require-=C9=CC? =EE=C5=D3=CF=CD=CE=C5=CE=CE=CF, "=D0=C1=CB=C5=D4 java =C5=C7=CF require-=C9= =D4", =D3 =DC=D4=C9=CD =D7=D3=A3 =D7 =D0=CF=D2=D1=C4=CB=C5. $ sed -n '/^[0-9].*proc/,/^[0-9]/p' /usr/share/doc/hasher-*/FAQ |head -n -1 4.2.1 Is there any way to use proc filesystem inside chroot while building the package? Yes, it is. First, you have to configure hasher-priv for the user, to allow mounting /proc inside chroot. Add the line: allowed_mountpoints=3D/proc Second, the package you are going to build should include /proc in its build dependencies, e.g. BuildPreReq: /proc Alternatively, at least one of packages installed to build environment should include /proc in its dependencies. =20 Third, hsh should be run with parameter --mountpoints=3D/proc. =E4=D2=D5=C7=C9=CD=C9 =D3=CC=CF=D7=C1=CD=C9, =C4=CF=CC=D6=CE=D9 =C2=D9=D4= =D8 =D7=D9=D0=CF=CC=CE=C5=CE=D9 =D3=D2=C1=DA=D5 3 =D5=D3=CC=CF=D7=C9=D1: 1. =C1=C4=CD=C9=CE=C9=D3=D4=D2=C1=D4=CF=D2 =C4=CF=CC=D6=C5=CE =D0=CF=DA=D7= =CF=CC=C9=D4=D8 (allowed_mountpoints); 2. =D0=C1=CB=C5=D4 =C4=CF=CC=D6=C5=CE =D0=D2=D1=CD=CF =C9=CC=C9 =CB=CF=D3= =D7=C5=CE=CE=CF =D7=D9=D4=D1=CE=D5=D4=D8 =D0=CF =DA=C1=D7=C9=D3=C9=CD=CF=D3= =D4=D1=CD; 3. =DA=C1=D0=D5=D3=CB=C1=C0=DD=C9=CA hsh =C4=CF=CC=D6=C5=CE =D0=CF=DA=D7=CF= =CC=C9=D4=D8 (--mountpoints). =F4.=C5. =D7 hsh =D3=CD=D9=D3=CC =D0=C1=D2=C1=CD=C5=D4=D2=C1 --mountpoints = =D7 =D4=CF=CD, =DE=D4=CF=C2=D9 =D2=C1=DA=D2=C5=DB=C9=D4=D8 =CD=CF=CE=D4=C9=D2=CF=D7=C1=CE=C9=C5 =D0=C5=D2=C5=DE=C9=D3=CC=D1=C5=CD=D9= =C8 =D2=C5=D3=D5=D2=D3=CF=D7. =F7 hsh-run/hsh-shell =D5 =D0=C1=D2=C1=CD=C5=D4=D2=C1 --mountpoints =CE=C5= =CD=CE=CF=C7=CF =C4=D2=D5=C7=CF=CA =D3=CD=D9=D3=CC, =D4=C1=CD =D0=D2=CF=D3=D4=CF =D0=C5=D2=C5=DE=C9=D3=CC=D1=C0=D4=D3=D1 =CD=CF= =CE=D4=C9=D2=D5=C5=CD=D9=C5 =D2=C5=D3=D5=D2=D3=D9. --=20 ldv --ZoaI/ZTpAVc4A5k6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (GNU/Linux) iEYEARECAAYFAkeDszwACgkQfKvmrJ41Nh507ACfdOkyrn2CCJWxhsrsKcesY+B1 LagAn3bwPT5sFW+MWVotF+mIDns7cXBd =JLhc -----END PGP SIGNATURE----- --ZoaI/ZTpAVc4A5k6--