/srv/irclogs.ubuntu.com/2011/11/06/#ubuntu-arm.txt

rsalvetisveinse: did you try with latest qemu-linaro from https://launchpad.net/~linaro-maintainers/+archive/tools?00:25
sveinsersalveti: Yes. I just commented it on the bug. It works using the newer backported qemu00:26
rsalvetisveinse: great, so at least you have a working version00:26
sveinseYes. This was a serious blocker for us, since the build server is running i386 natty...00:27
sveinsersalveti: Did you see my question the other day? For some reason rootstock adds the fuse group, but without any explanation to why. Do you recall if it was a particular reason?00:29
rsalvetisveinse: hm, don't remember the reason why it was added00:31
rsalvetisveinse: any issues with it?00:31
sveinsersalveti: Nope. Just ooi, so don't bother. In fact, I'm not using rootstock any more. I'm using qemu-debootstrap instead. But when changing over from rootstock to deboostrap, I had to ensure my script had similar setup to rootstock, and that's when I discovered the fuse setting.00:34
rsalvetisveinse: I'd recommend you to use live-build if you can00:34
rsalvetiI know there's support for qemu at the latest live-build version00:35
rsalvetiand you can hook scripts and etc00:35
sveinsersalveti: I'll check it out. However we are satisfied with way debootstrap works. I.e. run debootstrap and then apt-get install everything under chroot qemu emulation. The only risk is the qemu armel emulation during dpkg install when building the rootfs on an intel host. But it has proved to work successfully on a larger set of prototypes.00:40
rsalvetisveinse: yeah, great00:40
rsalvetiand it seems for precise mono, tomboy and banshee was removed from desktop00:40
rsalvetithen no mono issue when cross debootstraping the desktop anymore :-)00:41
sveinsersalveti: I'm doing it in two steps: I'm debootstrapping to minimal, and then include the rest under chroot. And our app is not using desktop, its Qt QWS, so no X11.00:42
rsalveticool, then you can build it quickly00:42
sveinseBut one of the developers are talking about adding mono. Should I expect issues with installing it under chroot?00:43
rsalvetisveinse: yup, there are quite a few issues when installing mono packages00:46
rsalvetisveinse: bug 53000000:47
ubot2Launchpad bug 530000 in qemu-kvm "mono assembly installation under qemu-arm-static hangs" [Medium,Won't fix] https://launchpad.net/bugs/53000000:47
sveinsersalveti: good to know. Does this also include native installation of mono on armel?00:47
rsalvetinops, just under qemu iirc00:47
sveinsersalveti: One thing I've been considering, is to only run dpkg unpack in image creation, and wait to do configure until the customer boots the product. I suppose this is the same as running the second stage natively00:50
rsalvetisveinse: ye00:50
rsalvetiyes00:50
rsalvetidepending on the amount of packages you have, it's quite a sane solution00:50
rsalvetiand you don't rely on qemu anymore00:51
sveinseExcept that "See I bought this product. Now I just have to wait 20 minutes for it to start for the first time"00:51
rsalvetiwell, it all depends on the amount of packages you have00:53
rsalvetiand for sure some packages could be changed to avoid doing stuff at the post inst00:54
sveinsersalveti: Would it be possible to debootstrap the first stage on intel, and then move the root into a chroot on a armel native and run the second stage using a chroot there?00:55
sveinseE.g. does that resolve the mono issues, right?00:55
rsalvetisveinse: yes00:55
sveinsersalveti: BTW I don't know if there is much activity on rootstock, but during an installation of a package I discovered that it can be smart to dpkg-divert /sbin/start since some packages tries to start the services from their postinst's.00:59
rsalvetiyeah, this would help avoiding starting services while running with qemu01:00
rsalvetiI need to spend some time on it, to at least fix some of the bugs01:01
rsalvetibut we're kind of moving to live-build now01:01
sveinseyup, just a suggestion01:01
rsalvetibut yeah, useful, thanks anyway :-)01:02

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