/srv/irclogs.ubuntu.com/2012/05/07/#ubuntu-uds-grand-ballroom-g.txt

=== IdleOne is now known as Guest21295
=== Guest21295 is now known as IdleOne
=== daker is now known as daker__
zygahey guys17:55
zygahrw, ricardo!17:55
zygahrw, please get me a t-shirt while the stock lasts ;-)17:56
zygais the IRC feed on the screen?18:01
wookey_embedded is cool18:01
wookey_zyga - insult someone and see if they reply18:02
wookey_emdebian grip will get you down to 60MB or so, but that's not 'really small'18:04
wookey_this idea was emdebian's scheme in about 2001 :-)18:05
wookey_there is a very old implementations but it used CML to do the configuring, and CML is dead.18:06
zygaI have a use case18:07
zyga!18:07
zygawookey_, ^^18:07
Dr_Whothe concern I've always had with post processing or tools that put together the "minimal" fs based on a script is either way the intelligence is outside of the packaging system and away from the packages themselves,  so a package doesn't direct to the system it will be installed into what a minimum install is, so as times and packages change you have ongoing maint18:08
wookey_yeah we like this stuff :-)18:08
zygawookey_, give me a tool that takes ubuntu archive and gives me a read-only initramfs image that I can boot and reboot and turn off the power and never corrupt the rootfs18:08
zygahrw, hey :)18:08
Dr_Whoyeah we are all fans :-)18:08
zygahow would I just do that?18:09
wookey_zyga wants it from the archve, not from a running machine. Can initramfs do that?18:09
zygamaybe what I'm asking for is a tool that does that18:09
zygaI'm sure it's doable18:09
zygawookey_, I really want to make that from my x86 system18:10
zygawookey_, then I want to copy that image to SD18:10
zygawookey_, if mkinitramfs is the tool, I'll check it out18:10
wookey_The question is do we need to go smaller than what emdebian-grip does? (makes image about 2/3rds size)18:11
wookey_without just decided we want openWRT or buildroot18:11
wookey_The model people don;t want small images - they just want minimal executed instructions18:12
zygawookey_, without a use case to drive this discussion is hard18:14
wookey_Does the router have enough RAM to run ubuntu?18:15
wookey_It's simpler.18:16
wookey_I wouldn;t say worse engineered18:16
zygawookey_, most ISP-giveaway routers I saw have between 4 and 16MB of ram18:17
wookey_Why does someone want to run un-upgradeable ubuntu on router rather than openWRT or buildroot (or yocto/OE)?18:17
wookey_Is it really useful?18:17
zygawookey_, more familiar maybe?18:18
zygawookey_, +  the upgrade would be image based, not package based18:18
rsalvetiyeah, we should just go with ubuntu/debian once we decided to have a working rootfs that would be able to update itself with packages18:18
zygawookey_, but routers run mips a lot and we don't have that supported18:18
wookey_debian does :-)18:18
rsalvetiif you just want to be image oriented, using ubuntu is useful but we'd have better tools/distros to do that18:18
=== ChanServ changed the topic of #ubuntu-uds-grand-ballroom-g to: Track: Foundations | Create filesystems for embedded devices | Audio:
zygawookey_, kernels could be a problem18:19
wookey_agreed18:19
zygaand you may brick some devices with bad image (where brick I mean it's hard to recover without extra tools/hw)18:20
wookey_Emdebian baked targets exactly this area too18:20
chihchunyou can still upgrade openwrt package with opkg anyway18:20
wookey_(un-upgradeable, but debian=packaged based)18:21
wookey_i.e use apt externally so all metadata is external to image18:21
wookey_still hard to get under 50MB18:21
wookey_kind of...18:21
wookey_SO yes I thinkg you can do this18:22
wookey_but I haven't actually treid myself18:22
=== ChanServ changed the topic of #ubuntu-uds-grand-ballroom-g to: Track: Foundations | Create filesystems for embedded devices | Audio: http://icecast.ubuntu.com:8000/grand-ballroom-g.ogg.m3u
wookey_It uses apt/dpkg18:22
wookey_but ocnfigured to keep metadata on the build machine18:22
chihchunget under 50Mb means you probably need a customized feed package which using only busybox and small libraries18:22
wookey_go look up 'emdebian baked'18:23
wookey_chihchun: exactly - you have to go to busybox instead of gnu base18:23
wookey_and debian/ubuntu don;t resally support that18:23
wookey_We did the work once in emdebian crush but it was really hard and not really maintainable18:24
zygabusybox in ubuntu would be nice18:24
wookey_yes the inirmafs idea can make small images18:24
zygaas an option18:24
wookey_but I stil don;t really see what you get from using 'ubuntu initramfs' over openWRT or buildroot18:24
wookey_because you've thrown away most of the goodness18:25
zygawookey_, I just want to use the ubuntu archive18:25
wookey_I guess the /etc layout is more conventional18:25
timchen119I rememberd freebsd could installed their base system under 50mb without busybox when they're 2.X, not sure about now.18:25
chihchunthe good feature of openwrt/openembedded is they also build dev env for you, how we do if we use initramfs approach18:25
zygawookey_, I don't want to learn about other distros / systems18:25
zygawookey_, just take a list of packages and get a small image that I can boot18:26
wookey_initramfs boots off busybox right?18:26
zygawookey_, and optionally from initramfs, that I can ensure sudden power loss is not going to cripple it18:26
=== ChanServ changed the topic of #ubuntu-uds-grand-ballroom-g to: Track: Foundations | Create filesystems for embedded devices | Url: | Audio: http://icecast.ubuntu.com:8000/grand-ballroom-g.ogg.m3u
wookey_cross-arch installs work except for pre-inst scripts...18:27
zygawookey_, how many packages need pre-inst scripts?18:27
wookey_which mostly don;t matter, but do for a few things (like mysql)18:27
zygawookey_, what happens with other scripts? do they run via qemu or on first boot ?18:27
wookey_AH. OK. yes, that avoids the issue18:27
wookey_OK, so what is need to try this idea out?18:28
wookey_Does initramfs use busybox? Or GNU?18:29
=== ChanServ changed the topic of #ubuntu-uds-grand-ballroom-g to: Track: Foundations | Create filesystems for embedded devices | Url: http://summit.ubuntu.com/uds-q/meeting/20498/foundations-q-embedded-rootfs/ | Audio: http://icecast.ubuntu.com:8000/grand-ballroom-g.ogg.m3u
wookey_emdebian-grip tools take out docs from existing packages18:31
wookey_(and languages)18:31
wookey_otherwise packages are binary identical18:31
wookey_Like hrw says that is instal-time stripping18:32
wookey_emdbeina-grip is pre-install (after package build)18:32
chihchun_initramfs uses busybox-initramfs18:33
wookey_emdebian-grip overall gets you about 1/3rd smaller on a base system18:34
hrwfinally wrote name correctly18:34
wookey_how do the initramfs tools deal with running stuff on top of busybox OK?18:35
wookey_you can use dpkg from outside the image. so the data lives outside the image.18:36
wookey_gzipped apt files would be nice18:38
hrwapt files you can just remove18:39
hrwdpkg files are problem18:39
wookey_you have to download them again each time you want to update/upgrade, but yes.18:39
hrwstatus can be compressed but info/ directory would have to be tarred to not eat inodes18:39
hrwwookey_: you would fetch them anyway on update18:39
wookey_I still haven't understood how initramfs made from ubuntu binaries works OK with busybox, but standard image cannot use busybox.18:40
wookey_problem is usually use of unsupported options in init scripts or install scripts18:41
wookey_and mount18:41
wookey_and file18:41
wookey_and all sorts of stuff18:41
wookey_It is like the problem of using /bin/sh oinstead of bin/bash18:42
wookey_if something _really_ needs coreutils it needs to say so...18:42
wookey_'essential' gets in your way here.18:43
wookey_because thngs don't declare their deps at the low-end18:44
wookey_indeed. I mean that you don't know whether a package need real mount or busybox mount18:44
wookey_pics are embedded18:45
udsbotuuds-grand-ballroom-g: 5 minutes left in this session!18:50
udsbotuuds-grand-ballroom-g: 4 minutes left in this session!18:51
rsalvetithanks!18:51
rsalvetilots of linaro folks18:51
rsalveti:-)18:51
Dr_Whothanks!18:51
udsbotuuds-grand-ballroom-g: 3 minutes left in this session!18:52
udsbotuuds-grand-ballroom-g: 2 minutes left in this session!18:53
udsbotuuds-grand-ballroom-g: 1 minute left in this session!18:54
udsbotuuds-grand-ballroom-g: This session has ended.18:55
=== ChanServ changed the topic of #ubuntu-uds-grand-ballroom-g to: Track: Other | Feedback on Precise Release and Improvements | Url: http://summit.ubuntu.com/uds-q/meeting/20298/other-q-prior-release-feedback/ | Audio: http://icecast.ubuntu.com:8000/grand-ballroom-g.ogg.m3u
=== alexhung_ is now known as alexhung
NMinkerDid you just say the upgrade bug for amd64 still exists on the Precise CDs?19:19
bilalNMinker: Not sure but I think that bug was squashed long ago19:19
bilalnot exactly "long ago" but I mean before Precise release19:20
NMinkerAlright, good to know19:20
bilalNMinker: Again, don't take my word to be 100% sure, since I could be wrong19:20
bilalsince such bugs are largely hardware-specific.19:21
bilaland there's a fair chance that someone out there still has problems19:21
NMinkerI had a problem when upgrade my amd64 VM (my normal one and the one I have for building ChromiumOS) from Natty to Oneiric19:22
=== zyga_ is now known as zyga
cjwatsonNMinker: we fixed several such bugs, but not necessarily yours; please file a bug with 'ubuntu-bug update-manager' if you find problems with upgrades to 12.04, so that we have a chance of fixing them by 12.04.119:25
udsbotuuds-gb-g: 5 minutes left in this session!19:54
udsbotuuds-gb-g: 4 minutes left in this session!19:55
udsbotuuds-gb-g: 3 minutes left in this session!19:56
udsbotuuds-gb-g: 2 minutes left in this session!19:57
udsbotuuds-gb-g: 1 minute left in this session!19:58
udsbotuuds-gb-g: This session has ended.19:59
=== ChanServ changed the topic of #ubuntu-uds-grand-ballroom-g to: Currently no events are active in this room - http://summit.ubuntu.com/uds-q/grand-ballroom-g/ - http://ubottu.com/uds-logs/%23ubuntu-uds-grand-ballroom-g.log
sladenworks for me!20:49
=== oSoMoN_ is now known as oSoMoN
=== zyga_ is now known as zyga
cjwatsonwc23:56
cjwatson(oops)23:56

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!