File size: 4,113 Bytes
4aa5fce
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
=== chihchun_afk is now known as chihchun
=== doko_ is now known as doko
[14:56] <applepi> Hi all..  I seem to be having trouble building an armhf trusty image, is 14.04 supported for armhf yet?  I keep getting the "Failure while configuring base packages.  This will be re-attempted up to five times." while running debootstrap or mk-sbuild, and while it finishes, when i try the finished product on my evk board, I get no console.
[14:57] <applepi> 12.04 works..  I've checked to make sure I've got a getty session on the usb uart that *should* be starting.
[14:57] <ogra_> yes, 14.04 armhf is supported and used by many people
[14:58] <ogra_> (in cloud setups as well as on phones for example)
[14:59] <applepi> Hmmm.
[15:00] <applepi> Maybe I'm not setting up the terminal correctly then after all, but I'm just copying what I have in 12.04...
=== chihchun is now known as chihchun_afk
[16:55] <infinity> applepi: What are you running debootstrap on?
[16:56] <infinity> applepi: Also, if in doubt, you could try unpacking ubuntu-core and configuring it, instead of debootstrap itself.
[16:56] <infinity> applepi: (But if debootstrap fails, looking at the log is also helpful...)
[16:58] <applepi> infinity: Mint 14
[16:59] <applepi> infinity: I can build 12.04 just fine but I get several configuring errors when during --second-stage when making 14.04
[16:59] <ogra_> awww
[16:59] <ogra_> use qemu-user-static ... then you can use qemu-debootstrap ... and wont need all that crap like foreign and second stage
[17:00] <ogra_> (well, if mint didnt break their kernel to much)
[17:01] <applepi> I'm not entirely sure what the issue is honestly, I can see in the dmesg logs that it IS finding ttymxc0 when booting...  right now the last thing I get is 'Mount failed for selinuxfs on /sys/fs/selinux:  No such file or directory' but looking around online that seems like it shouldn't stop it from booting..
[17:02] <ogra_> apt-get install qemu-user-static; sudo qemu-debootstrap --arch armhf trusty myarmchroot
[17:02] <ogra_> do that
[17:03] <ogra_> probably you need a reboot after installing the package, depends on the mint kernel
[17:09] <applepi> odd, I swear I tried that before, but I'm watching it run now and it does look like it's behaving MUCH better
[17:10] <ogra_> :)
[17:11] <ogra_> the nice thing is that you can just chroot into it now and prepatre your rootfs as you need it later ... no need for doing that on the device
[17:14] <applepi> Bugger...  right at the end.  "Configuring udev..."  "Failure while configuring base packages.  This will be re-attempted up to five times."  Four times, but then it says "Base system installed successfully."
[17:15] <applepi> I suppose it succeeded?
[17:52] <applepi> Bah...  I can *not* get trusty to give me a friggin login prompt...
[17:53] <infinity> applepi: Are you setting up a console job in /etc/init/ttymxc0.conf ?
[17:54] <applepi> infinity: yes.  and i've checked that ttymxc0 is being set up in dmesg..
[21:03] <arg>  
[21:05] <arg> A question regarding upstart- "When 2 or more upstart files start on the same event, how to make sure one of them always start before others" Ex: JobA.conf --> start on ALPHA . JobB.conf --> start on ALPHA. How do I make sure JobB.conf always start before JobA.conf ??
[21:07] <infinity> arg: If the order matters, you have an undeclared dependency.
[21:09] <arg> infinity: Here is what I am trying to do -
[21:09] <arg> I have a firstboot script /etc/init/firstboot.conf which starts on "filesystem". This file creates some symlinks to some libs in /usr/lib
[21:10] <arg> Issue is , /etc/init/lightdm.conf also starts on "filesystem".
[21:10] <arg> If I traverse backwards, mountall.conf is the file which emits "filesystem" event and when this event is generated, lightdm.conf as well as my custom firstboot.conf both try to execute their scripts but the ordering is not guarenteed and you can never tell which one runs first. Now I want to always ensure that firstboot.conf runs before lightdm.conf . How can I ensure this without editing lightdm.conf ( I know I can create a dependency by emitting an e