[OE-core] [Draft design][RFC] Running postinst at rootfs generation time

Hauser, Wolfgang (external) Wolfgang.Hauser.external at cassidian.com
Wed Jul 13 07:58:06 UTC 2011


>> The problem with the alphabetic order of the postinst scripts we
managed by renaming some of the packages to fit the needed order. An
ugly solution, but in case of missing python skills, the easiest.

>Ya, this one bothers me slightly... and I'm not really sure how to
solve it...

>--Mark

The packages are installed by opkg in their dependency order and are
echoed into the log file, as I know the common package managers (rpm,
dpkg, ...) provide an output of the dependency order of packages or have
a verbose installing output. It may possible to recycle this output as a
control list for the postinst loop instead of using the directory
listing (using tee to get an intermediate listing).

Regards
Wolfgang Hauser




More information about the Openembedded-core mailing list