[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: build dependency removal



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John Schmidt wrote:
> Hi,
> 
> I am implementing a script that installs packages for Etch in a chroot.  
> However, there are a couple of packages in Sid that I need.  I download the 
> source and the build dependencies via:
> 
> 	apt-get -y build-dep $i
>         apt-get -y source --compile $i
> 
> I would like to remove the build dependencies from the install process 
> automatically.  Other than doing a dpkg --get-selections prior to the build 
> and after the build and removing the differences, is there a way to use dpkg 
> to show what the build dependicies are and removing them via dpkg -P ?
> 
> I am aware of pbuilder, but since I am installing in a chroot, I wasn't sure 
> how pbuilder would work in a chroot.

Just like another machine, because is another chroot, so it would be a
chroot inside a chroot, but anyway, you can set up pbuilder to be in
etch, lenny or sid.

Regards.
- --
Jose Luis Rivas. San Cristóbal, Venezuela. PGP: 0xCACAB118
http://ghostbar.ath.cx/{about,acerca} - http://debian.org.ve
`ghostbar' @ irc.debian.org/#debian-ve,#debian-devel-es
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHeoRCOKCtW8rKsRgRAt1JAKCw1ztRVNY87+HQNiWuBCDzxTsVlwCfS3K1
K7w4ksbbo/H6RLiEvQo9i4U=
=2F7V
-----END PGP SIGNATURE-----


Reply to: