Re: Busybox in Debian

2018-01-14 Thread Denys Vlasenko
On Wed, Aug 23, 2017 at 2:43 AM, Ben Hutchings wrote: >> > > > On Mon, 2017-08-14 at 16:42 +0200, Denys Vlasenko wrote: >> > > > > > > run-init >> > > > > >> > > > > This tool is doing this: >> > > > >> > > > [...] >> > > > > There is the "switch_root" tool in util-linux which does the >> > > > >

Re: Busybox in Debian

2017-08-25 Thread Ben Hutchings
On Wed, 2017-08-23 at 14:36 +0200, Denys Vlasenko wrote: [...] > I take you also will need ipconfig, as it seems to be the tool developed > to handle IP autoconfiguration thingy: > ip=:: > I'm looking at it right now. > Can you point me to scripts / other places where it is used in Debian?

Re: Busybox in Debian

2017-08-23 Thread Denys Vlasenko
On Wed, Aug 23, 2017 at 2:43 AM, Ben Hutchings wrote: > On Tue, 2017-08-22 at 10:38 +0200, Denys Vlasenko wrote: >> > > I added run-init to busybox just now, but I don't see -n option >> > > in >> > > klibc-2.0.4 source. Can you point me to the source code with -n? >> > >> > It's not upstream yet,

Re: Busybox in Debian

2017-08-22 Thread Ben Hutchings
On Tue, 2017-08-22 at 10:38 +0200, Denys Vlasenko wrote: > On Mon, Aug 21, 2017 at 8:38 PM, Ben Hutchings > wrote: > > On Mon, 2017-08-21 at 19:40 +0200, Denys Vlasenko wrote: > > > > On Mon, Aug 14, 2017 at 5:12 PM, Ben Hutchings > > > g.uk> wrote: > > > > On Mon, 2017-08-14 at 16:42 +0200, Deny

Re: Busybox in Debian

2017-08-22 Thread Denys Vlasenko
On Mon, Aug 21, 2017 at 8:38 PM, Ben Hutchings wrote: > On Mon, 2017-08-21 at 19:40 +0200, Denys Vlasenko wrote: >> > On Mon, Aug 14, 2017 at 5:12 PM, Ben Hutchings >> > wrote: >> > On Mon, 2017-08-14 at 16:42 +0200, Denys Vlasenko wrote: >> > > > > run-init >> > > >> > > This tool is doing this

Re: Busybox in Debian

2017-08-21 Thread Ben Hutchings
On Mon, 2017-08-21 at 19:40 +0200, Denys Vlasenko wrote: > > On Mon, Aug 14, 2017 at 5:12 PM, Ben Hutchings wrote: > > On Mon, 2017-08-14 at 16:42 +0200, Denys Vlasenko wrote: > > > > > run-init > > > > > > This tool is doing this: > > > > [...] > > > There is the "switch_root" tool in util-linu

Re: Busybox in Debian

2017-08-21 Thread Denys Vlasenko
On Mon, Aug 14, 2017 at 5:12 PM, Ben Hutchings wrote: > On Mon, 2017-08-14 at 16:42 +0200, Denys Vlasenko wrote: >> > > run-init >> >> This tool is doing this: > [...] >> There is the "switch_root" tool in util-linux which does the >> crucial part of this functionality - deleting / remounting / ch

Re: Busybox in Debian

2017-08-18 Thread Denys Vlasenko
On Mon, Aug 14, 2017 at 5:12 PM, Ben Hutchings wrote: >> If you want "resume" and "ipconfig" in bbox, I can do that. > > Go for it. Added resume, nuke, minips so far.

Re: Busybox in Debian

2017-08-14 Thread Ben Hutchings
On Mon, 2017-08-14 at 16:42 +0200, Denys Vlasenko wrote: [...] > > > minips > > It's just mini-ps. Proliferation of reinvented tools > with slightly different names. It's not a POSIX-compliant ps implementation. Anyway, initramfs-tools doesn't need it. > > > nuke > > This is "rm -rf -- FILE".

Re: Busybox in Debian

2017-08-14 Thread Denys Vlasenko
>> ipconfig Looks like it is used to run DHCP / BOOTP / RARP on several interfaces, including a possibility to run it on _all_ existing interfaces (excluding loopback and point-to-point). I see how this can be useful during boot. >> minips It's just mini-ps. Proliferation of reinvented tools wi

Re: Busybox in Debian

2017-08-14 Thread Denys Vlasenko
On Mon, Aug 14, 2017 at 3:05 PM, Ben Hutchings wrote: > On Mon, 2017-08-14 at 14:55 +0200, Denys Vlasenko wrote: >> On Sat, Aug 12, 2017 at 4:15 PM, Ben Hutchings >> wrote: >> > On Fri, 2017-08-11 at 14:54 -0400, Chris Boot wrote: >> > [...] >> > > - The default initramfs assembly system, initram

Re: Busybox in Debian

2017-08-14 Thread Denys Vlasenko
On Sat, Aug 12, 2017 at 4:15 PM, Ben Hutchings wrote: > On Fri, 2017-08-11 at 14:54 -0400, Chris Boot wrote: > [...] >> - The default initramfs assembly system, initramfs-tools, incorporates >> busybox into the initramfs and it's used until the root filesystem (and >> /usr if separate) is mounted

Re: Busybox in Debian

2017-08-14 Thread Ben Hutchings
On Mon, 2017-08-14 at 14:55 +0200, Denys Vlasenko wrote: > On Sat, Aug 12, 2017 at 4:15 PM, Ben Hutchings > wrote: > > On Fri, 2017-08-11 at 14:54 -0400, Chris Boot wrote: > > [...] > > > - The default initramfs assembly system, initramfs-tools, incorporates > > > busybox into the initramfs and it

Re: Busybox in Debian

2017-08-12 Thread Ben Hutchings
On Fri, 2017-08-11 at 14:54 -0400, Chris Boot wrote: [...] > - The default initramfs assembly system, initramfs-tools, incorporates > busybox into the initramfs and it's used until the root filesystem (and > /usr if separate) is mounted and can be pivot_rooted into. We also use > parts of klibc in

Re: Busybox in Debian

2017-08-11 Thread Chris Boot
On 11/08/17 14:13, Denys Vlasenko wrote: >> In the mean time, please let us know if you have any questions. > What is Debian using bbox for? Hi Denys, It's used principally in two places: - It's bundled in the Debian Installer ramdisk and used as the shell, bootstrap for D-I and its applets prov

Re: Busybox in Debian

2017-08-11 Thread Denys Vlasenko
On Fri, Aug 11, 2017 at 7:01 PM, Chris Boot wrote: > Hi all, > > This is a short note to say that Christoph (CCed) and I are taking over > packaging of Busybox in Debian. I'm hoping that we will both be fairly > active in here (the busybox mailing list) from now on. > >

Busybox in Debian

2017-08-11 Thread Chris Boot
Hi all, This is a short note to say that Christoph (CCed) and I are taking over packaging of Busybox in Debian. I'm hoping that we will both be fairly active in here (the busybox mailing list) from now on. We've got a lot of work to do to update Busybox in Debian to a more modern versi