commit c00c4e31e95d7cd6e2d4b526312644d2334b6b13
parent 8d3684e8c46309a9ef762f9e518fc427fdeb75e2
Author: Andrew Halberstadt <ahal@mozilla.com>
Date: Wed, 5 Nov 2025 18:23:52 +0000
Bug 1997969 - Update coreutils in Ubuntu 18.04 base image, r=taskgraph-reviewers,jcristau
The upstream `run-task` script uses `env -S` which isn't supported in
the version of coreutils that ships with Ubuntu 18.04. Create a packages
task to obtain a more modern version.
Differential Revision: https://phabricator.services.mozilla.com/D271094
Diffstat:
3 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/taskcluster/docker/ubuntu1804-base/Dockerfile b/taskcluster/docker/ubuntu1804-base/Dockerfile
@@ -32,6 +32,7 @@ RUN /usr/local/sbin/setup_packages.sh $TASKCLUSTER_ROOT_URL $DOCKER_IMAGE_PACKAG
apt-get update && \
apt-get dist-upgrade && \
apt-get install \
+ coreutils \
git \
less \
make \
diff --git a/taskcluster/kinds/docker-image/kind.yml b/taskcluster/kinds/docker-image/kind.yml
@@ -49,6 +49,7 @@ tasks:
symbol: I(ub18-base)
parent: ubuntu1804-raw
packages:
+ - ub18-coreutils
- ub18-mercurial
- ub18-python-zstandard
- ub18-python-psutil
diff --git a/taskcluster/kinds/packages/ubuntu.yml b/taskcluster/kinds/packages/ubuntu.yml
@@ -114,6 +114,18 @@ ub18-mercurial:
-e "s/__DATE__/$(date --rfc-2822)/" \
-e "s/__CODENAME__/bionic/" debian/changelog
+ub18-coreutils:
+ description: "Modern coreutils for Ubuntu bionic"
+ treeherder:
+ symbol: Ub18(coreutils)
+ run:
+ dsc:
+ url: https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/coreutils/8.32-4.1ubuntu1/coreutils_8.32-4.1ubuntu1.dsc
+ sha256: ac8f500698cb87284f6f5c750647d8c599866c5e00ff883b7dec76af23c376af
+ pre-build-command: >-
+ sed -i 's/debhelper (>= 12)/debhelper (>= 11)/' debian/control &&
+ export FORCE_UNSAFE_CONFIGURE=1
+
ub20-python-zstandard:
description: "python-zstandard for Ubuntu focal"
treeherder: