]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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>
Fri, 16 Sep 2016 14:24:02 +0000 (15:24 +0100)
commit2a2634e10debd81bb95fe7be5df92f89d67f80e2
treeeb32ce1a59537ec2fa5301fb95464f5e55e36c37
parent0573dceb7ba9488cb62e08f8e139a75e32ca33ea
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]

(From OE-Core rev: cdae3e76232110903d124195b036e4e70fb28aa4)

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