Re: [lxc-devel] [PATCH] Create busybox commands as symlinks instead of hardlinks

2012-11-30 Thread Dwight Engen
On Fri, 30 Nov 2012 23:17:20 +0100 Natanael Copa wrote: > On Fri, 30 Nov 2012 11:49:25 -0500 > Dwight Engen wrote: > > > +# it would be nice to just use "chroot $rootfs busybox > > --install -s /bin" > > +# but that only works right in a chroot with busybox >= 1.19.0 > > I think it sho

Re: [lxc-devel] [PATCH] Create busybox commands as symlinks instead of hardlinks

2012-11-30 Thread Natanael Copa
On Fri, 30 Nov 2012 11:49:25 -0500 Dwight Engen wrote: > +# it would be nice to just use "chroot $rootfs busybox --install > -s /bin" > +# but that only works right in a chroot with busybox >= 1.19.0 I think it should work with busybox before 1.19 if you make sure /proc/self/exe works in

Re: [lxc-devel] [PATCH] Create busybox commands as symlinks instead of hardlinks

2012-11-30 Thread Stéphane Graber
On 11/30/2012 11:49 AM, Dwight Engen wrote: > I was getting a "Too many links" error when creating a busybox container on > a btrfs file system. This change has the template create the links as > symlinks instead. It also generates the list of commands to be symlinked from > busybox itself instead

[lxc-devel] [PATCH] Create busybox commands as symlinks instead of hardlinks

2012-11-30 Thread Dwight Engen
I was getting a "Too many links" error when creating a busybox container on a btrfs file system. This change has the template create the links as symlinks instead. It also generates the list of commands to be symlinked from busybox itself instead of a hardcoded list in the template. Also set the r