Skip to content

Commit

Permalink
Placate update-xmlcatalog
Browse files Browse the repository at this point in the history
Installing, I guess, an XML DTD causes update-xmlcatalog to be run.
This Perl script requires `/var/lib/xml-core` to exist. This directory
is part of the `xml-core` package but of course is deleted with the rest
of `/var`.

https://phabricator.endlessm.com/T4482
  • Loading branch information
wjt committed Dec 19, 2023
1 parent bf76d5a commit aaa5698
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions run-build
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,9 @@ class ImageBuildRoot(object):
# update-catalog requires /var/lib/sgml-base to exist
os.makedirs(os.path.join(self.builddir, 'var/lib/sgml-base'))

# update-xmlcatalog requires /var/lib/xml-core to exist
os.makedirs(os.path.join(self.builddir, 'var/lib/xml-core'))

log.info('Installing buildroot packages')
apt_env = os.environ.copy()
apt_env['DEBIAN_FRONTEND'] = 'noninteractive'
Expand Down

0 comments on commit aaa5698

Please sign in to comment.