Files
poky/meta/recipes-devtools
Robert Yang 3c70ad6646 docbook-sgml-dtd-native: remove catalog file when do_clean
The docbook_sgml_dtd_sstate_postinst adds catalog file to
/etc/sgml/sgml-docbook.cat and sgml-docbook.bak, but the do_clean would not
remove the file, which would cause unexpected errors since we have multiple
versions of docbook-sgml-dtd:

docbook-sgml-dtd-3.1-native_3.1.bb
docbook-sgml-dtd-4.1-native_4.1.bb
docbook-sgml-dtd-4.5-native.bb

If we run:

$ bitbake docbook-sgml-dtd-4.1-native
$ bitbake docbook-sgml-dtd-4.1-native -ccleansstate && bitbake docbook-sgml-dtd-3.1-native
$ bitbake docbook-utils-native

We would get this error:

jade: cannot open "/path/to/etc/sgml/sgml-docbook-dtd-4.1.cat" (No such file or directory)
make[2]: *** [sgmldiff.html] Error 1

Remove the catalog entry when do_clean will fix the problem.

[YOCTO #5949]

(From OE-Core rev: 87df114982db7a94fce8622b15458bbe2d2ddacc)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-17 14:01:42 +00:00
..
2014-03-17 14:01:42 +00:00
2014-03-02 17:25:28 +00:00
2014-03-02 17:25:27 +00:00
2014-02-17 15:28:58 +00:00
2014-03-07 15:05:08 +00:00
2013-12-09 18:01:44 +00:00
2014-02-14 12:30:20 +00:00
2014-03-07 14:58:44 +00:00
2014-02-09 09:42:52 +00:00
2014-01-02 12:50:24 +00:00
2014-02-17 15:28:58 +00:00
2014-02-21 16:09:08 +00:00
2013-10-26 15:59:10 +01:00
2014-03-17 14:01:41 +00:00
2014-01-02 12:50:18 +00:00
2014-03-07 15:05:08 +00:00
2014-02-04 11:00:45 +00:00
2013-08-13 23:05:58 +01:00