From b3059c044cc9c8f08418e6161c7b88307581576b Mon Sep 17 00:00:00 2001 From: Will Thompson Date: Tue, 19 Dec 2023 10:33:31 +0000 Subject: [PATCH] Placate update-xmlcatalog 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 --- run-build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/run-build b/run-build index 637a5b08..1c4f9fae 100755 --- a/run-build +++ b/run-build @@ -192,6 +192,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'