On 2012-03-08 06:29, Koen Kooi wrote:

Op 8 mrt. 2012, om 14:24 heeft Gary Thomas het volgende geschreven:

On 2012-03-08 05:36, Gary Thomas wrote:
On 2012-03-08 05:30, Christophe Aeschlimann wrote:
On 07.03.2012 15:04, Koen Kooi wrote:

Does your kernel have these options enabled:
http://dominion.thruhere.net/koen/cms/recommended-kernel-config-options-for-a-modern-angstrom-system
?


It does now...

Thank you !

This solved most of the issues but I still get :

Dependency failed. Aborted start of Getty on tty1 [ABORT]

I will look into it.


This is happening because the postinst scripts are not being
run during the first boot. I'm not sure why they don't run
anymore, but they used to be run via the script /etc/rcS.d/S98configure

With the change to systemd, this doesn't seem to happen.

To be clear, I believe it's the change to use systemd that has
broken this function, not running the first-boot scripts.  These
should be executed by running 'opkg-cl configure'

There was a 12 day window over 9 months ago where those scripts didn't get run: 
http://cgit.openembedded.org/meta-openembedded/log/meta-oe/recipes-core/systemd/systemd-compat-units.bb

They aren't running for me or Christophe using images built in
the last few days.  I've built a number of images and the boot
fails because the postinst scripts were not run.

I think I know why now - looking at your reference above.  That script set up 
these files:
  $ find 
build/tmp-angstrom_2010_x-eglibc/work/all-angstrom-linux/systemd-compat-units-1.0-r14/image/
  
build/tmp-angstrom_2010_x-eglibc/work/all-angstrom-linux/systemd-compat-units-1.0-r14/image/
  
build/tmp-angstrom_2010_x-eglibc/work/all-angstrom-linux/systemd-compat-units-1.0-r14/image/usr
  
build/tmp-angstrom_2010_x-eglibc/work/all-angstrom-linux/systemd-compat-units-1.0-r14/image/usr/bin
  
build/tmp-angstrom_2010_x-eglibc/work/all-angstrom-linux/systemd-compat-units-1.0-r14/image/usr/bin/runlevel
  
build/tmp-angstrom_2010_x-eglibc/work/all-angstrom-linux/systemd-compat-units-1.0-r14/image/lib
  
build/tmp-angstrom_2010_x-eglibc/work/all-angstrom-linux/systemd-compat-units-1.0-r14/image/lib/systemd
  
build/tmp-angstrom_2010_x-eglibc/work/all-angstrom-linux/systemd-compat-units-1.0-r14/image/lib/systemd/system
  
build/tmp-angstrom_2010_x-eglibc/work/all-angstrom-linux/systemd-compat-units-1.0-r14/image/lib/systemd/system/basic.target.wants
  
build/tmp-angstrom_2010_x-eglibc/work/all-angstrom-linux/systemd-compat-units-1.0-r14/image/lib/systemd/system/basic.target.wants/machineid.service
  
build/tmp-angstrom_2010_x-eglibc/work/all-angstrom-linux/systemd-compat-units-1.0-r14/image/lib/systemd/system/basic.target.wants/opkg.service
  
build/tmp-angstrom_2010_x-eglibc/work/all-angstrom-linux/systemd-compat-units-1.0-r14/image/lib/systemd/system/sysinit.target.wants
  
build/tmp-angstrom_2010_x-eglibc/work/all-angstrom-linux/systemd-compat-units-1.0-r14/image/lib/systemd/system/sysinit.target.wants/machineid.service
  
build/tmp-angstrom_2010_x-eglibc/work/all-angstrom-linux/systemd-compat-units-1.0-r14/image/lib/systemd/system/sysinit.target.wants/opkg.service
  
build/tmp-angstrom_2010_x-eglibc/work/all-angstrom-linux/systemd-compat-units-1.0-r14/image/lib/systemd/system/machineid.service
  
build/tmp-angstrom_2010_x-eglibc/work/all-angstrom-linux/systemd-compat-units-1.0-r14/image/lib/systemd/system/opkg.service

For whatever reason, the opkg.service is not being executed.

Looking at this confuses me though - why are there some systemd
files in /etc/systemd and others in /lib/systemd?

I put the image I built at http://www.mlbassoc.com/misc/BeagleBone_2012-03-08/
Maybe someone can explain to me why the opkg.service is not running on the
first boot?

This was just built using this Angstrom configuration:
OE Build Configuration:
BB_VERSION        = "1.15.1"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "beaglebone"
DISTRO            = "angstrom"
DISTRO_VERSION    = "v2012.03-core"
TUNE_FEATURES     = "armv7a vfp neon cortexa8"
TARGET_FPU        = "vfp-neon"
meta-angstrom     = "master:51ba0dd081af1d7de56ffc9fb318044bc3c7c47e"
meta-oe
meta-efl
meta-gpe
meta-gnome
meta-xfce
meta-initramfs    = "master:5b3974ed483418b206678acca7414b81bcf749a7"
meta-opie         = "master:efa3892b20a4ef80274e56e5633ebd62c16f9731"
meta-java         = "master:e90110b85733f9cdda26861bc29588257173c11c"
meta-mozilla      = "master:5737d9fa26a632a27b2aa760c0d01190f0a17d0e"
meta-ti           = "master:ed29286f2b16b48206ba788f790c1082c7724bb0"
meta-efikamx      = "master:2c09a3a780b23448e8a6ca964256ff7f5ccba65d"
meta-nslu2        = "master:3d9fc951b05b4df476374b6fc3085ebac7f293ee"
meta-htc
meta-nokia
meta-openmoko
meta-palm         = "master:947bcbbb3214fdc5f51962a84587600933a75be6"
meta-handheld     = "master:fa1e6dcb524eb7ed29a6cd971a150d35c31e96e7"
meta-intel
meta-sugarbay
meta-crownbay
meta-emenlow
meta-fishriver
meta-jasperforest
meta-n450         = "master:d9132cc66316be45f44beeea6eba734bb3ab337d"
meta              = "master:d7b8c247227f3cc82f92292407f548927e9fde78"


--
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel

Reply via email to