diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2014-03-12 05:58:47 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-17 14:01:07 +0000 |
commit | 87df114982db7a94fce8622b15458bbe2d2ddacc (patch) | |
tree | 6468ddab649deb88fd83f3ebc48b6f1b053cc5fb /meta/recipes-devtools/flex | |
parent | f09d2583894be0a4069600381046bec5e7f0277b (diff) | |
download | openembedded-core-87df114982db7a94fce8622b15458bbe2d2ddacc.tar.gz openembedded-core-87df114982db7a94fce8622b15458bbe2d2ddacc.tar.bz2 openembedded-core-87df114982db7a94fce8622b15458bbe2d2ddacc.zip |
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]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/flex')
0 files changed, 0 insertions, 0 deletions