On Thursday 25 August 2011 20:49:58 Tom Gundersen wrote: > Hi guys, > > Since commit 4a2a86d5e7e7bf284a31af604a738dfa1f1a2240 (improve > --install operation in chroot jail) I have had some problems. I see > that the patch is meant to help when exec_path is /proc/self/exec, but > it is causing problems for me when I use exec_path=/bin/busybox. > > My usecase (somewhat simplified) is the following: > > busybox is installed in /lib/busybox/busybox and not in /bin/busybox > > cp /lib/busybox/busybox /mnt/bin/busybox > /lib/busybox/busybox -s --install /mnt/bin > chroot /mnt /bin/sh > > Before the aforementioned commit this worked fine, but now /mnt/bin/sh > points to /lib/busybox/busybox. > > Any chance the commit could be reverted, or changed to only apply to > the case when exec_path is /proc/self/exec? > > Cheers, > > Tom
Hi, what happens if you do: cp /lib/busybox/busybox /mnt/bin/busybox /mnt/bin/busybox -s --install /mnt/bin chroot /mnt /bin/sh Untested. Just my 0.2 cents. Ciao, Tito _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
