twb | cjwatson: well live booting works off local media, but Ubuntu's busybox-initramfs lacks tftp, thus: | 03:36 |
---|---|---|
twb | Begin: Trying tftp -g -b 10240 -r 203.7.155.1/understudy/filesystem.squashfs -l /live/image/live/filesystem.squashfs ... /init: line 14: tftp: not found | 03:36 |
twb | ...what's the best way to get that applet in the initrd? Install busybox, copy it over the top of the busybox-initramfs version? | 03:36 |
cjwatson | I'd grab the busybox source, tweak debian/config/pkg/initramfs, rebuild | 03:37 |
cjwatson | and file a bug since that should be easy for us to add for the future | 03:37 |
twb | Well AFAICT it was by design since lots of other applets are also missing compared to debian's busybox | 03:38 |
twb | I assumed it was to make space in initrd for plymouth :P | 03:38 |
twb | For now I'm trying this: http://paste.debian.net/172037/ | 03:41 |
cjwatson | when I ask you to file a bug, you can safely assume it isn't by design | 03:44 |
cjwatson | it's by design that busybox and busybox-initramfs are different; but your imputation is clearly false since busybox-initramfs predates plymouth by several years | 03:44 |
cjwatson | using busybox will *probably* work, though I don't remember if there's anything turned on in busybox-initramfs and not in busybox. In general we considered it useful to keep busybox-initramfs as small as reasonably possible since it does have some effect on boot time, but adding tftp wouldn't break the bank | 03:46 |
twb | cjwatson: except then you get feature creep "one more applet won't hurt" | 03:48 |
twb | OTOH your ramdisks are about double Debian's in size atm (12 vs 20ish MB) IIRC, and a busybox with ALL the apps is still only a couple of MB IIRC | 03:48 |
cjwatson | feature creep that's still within the upper bound set by the size of busybox doesn't really count much in my boo | 03:50 |
cjwatson | k | 03:50 |
cjwatson | last I checked, the vast majority of the initramfs size lay in kernel modules | 03:50 |
cjwatson | to the point where it really wasn't desperately worth looking at anything much else | 03:50 |
twb | Woot, that approach I pasted worked | 03:51 |
* cjwatson returns to bed, having exorcised the things he woke up at 1:30am being unable to get out of his head | 03:51 | |
twb | http://paste.debian.net/172045/ | 03:52 |
twb | Sorry to wake you | 03:52 |
cjwatson | You didn't | 03:52 |
twb | Now my only issue is this machine has 256MB RAM and to boot of TFTP I need to copy the .sq to it, so I need to make sure I don't make the image too big :-) | 03:53 |
twb | cjwatson: FYI, busybox head w/allyesconf except selinux, is 2.7MB on x86_64 | 05:42 |
=== sagaci_ is now known as sagaci |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!