[arch-dev-public] install scripts in core

Thomas Bächler thomas at archlinux.org
Mon Feb 2 12:50:52 EST 2009


Aaron Griffin schrieb:
> The way pacman calls the scriptlets, it actually uses the shell from
> the _parent_ system. I know this for a fact, because Dan and I
> investigated, added checks for bash in the chroot, then realized it
> didn't matter and reverted it.
> 
> Are you _sure_ it's bash failing like you suspect? What happens if you
> just install vi and library deps in a chroot and try to run things
> manually?

If you have a command like
find .... -exec somecommand {} \;
then find might actually call "/bin/sh -c somecommand" to get proper 
shell expansion. Other programs could do so as well. This will require a 
shell to be present in the child system.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://www.archlinux.org/pipermail/arch-dev-public/attachments/20090202/0c499da9/attachment.pgp>


More information about the arch-dev-public mailing list