]> code.ossystems Code Review - openembedded-core.git/commit
oe/rootfs.py: DpkgRootfs/OpkgRootfs add support for dependency handling in postinsts...
authorAníbal Limón <anibal.limon@linux.intel.com>
Thu, 25 Jun 2015 18:21:15 +0000 (13:21 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 26 Jun 2015 13:08:03 +0000 (14:08 +0100)
commited52d1040ee8be0bfa080d5679c583b1012bb575
treec078cdf17ee6f24efc0d3da86b155c460cdbc900
parentc171909352b5ed92166857b0bbcd901ae0f74996
oe/rootfs.py: DpkgRootfs/OpkgRootfs add support for dependency handling in postinsts scripts.

The old code don't take into account package dependencies causing
undefined execution order in postinsts scripts, in order to fix:

Add DpkgOpkgRootfs class for store common operations in DpkgRootfs
and OpkgRootfs.

Add _get_delayed_postinsts_common method that process Depends from
status file in dpkg/opkg and resolve dependency order causing an
execption if found circular dependencies.

[YOCTO #5318]

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/rootfs.py