Skip to content

Commit

Permalink
Placate update-catalog
Browse files Browse the repository at this point in the history
Installing an sgml catalog causes update-catalog to be run. This Perl
script requires var/lib/sgml-base to exist. This directory is part of
the sgml-base 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 bbe2d66 commit 8760464
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 @@ -189,6 +189,9 @@ class ImageBuildRoot(object):
os.path.join(self.builddir, 'var/lib/dpkg'),
)

# update-catalog requires /var/lib/sgml-base to exist
os.makedirs(os.path.join(self.builddir, 'var/lib/sgml-base'))

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

0 comments on commit 8760464

Please sign in to comment.