]> code.ossystems Code Review - openembedded-core.git/commit
openjade/sgml-common: Add sstate postrm commands
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 15 Sep 2016 10:48:39 +0000 (11:48 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 15 Sep 2016 21:56:37 +0000 (22:56 +0100)
commitcdae3e76232110903d124195b036e4e70fb28aa4
tree841d227b448619e012363ed9a197598631646170
parent2268efd0cd3ddb40870c4c424d10444ba86d2849
openjade/sgml-common: Add sstate postrm commands

If you bump the PR of sgml-common and openjade-native but not sgml-
common-native, you will see a failure as files were removed from the
sysroot but still referenced by the sgml docbook catalog.

To properly handle this, the clean function needs to run at sstate
removal time, the problem is that this sstate removal can happen when
the metadata isn't present, so the correct removal commands are
unknown.

To avoid this, we need to write the commands into a "postrm" script
when we install the files, this can then be executed at sstate removal
time.

[YOCTO #8273]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/openjade/openjade-native_1.3.2.bb
meta/recipes-devtools/sgml-common/sgml-common-native_0.6.3.bb