This is an archive of the discontinued Mercurial Phabricator instance.

packaging: drop Disco (19.04) and add Focal (20.04)
ClosedPublic

Authored by mharbison72 on Nov 25 2020, 12:14 AM.

Details

Summary

Disco support ended in January 2020, and Focal does not have an announced EOL.

Something is now installing and configuring tzdata, which was throwing up an
interactive prompt to configure the timezone. Aside from being hostile to
automation, the prompt didn't actually accept input and hung the process. This
propagates the host's timezone into the image via environment variable in order
to skip the prompt, and avoid hardcoding a value.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

mharbison72 created this revision.Nov 25 2020, 12:14 AM

I’ve run into this issue of tzdata prompting for user input in automation before, and worked around it by setting the DEBIAN_FRONTEND=noninteractive environment variable based on https://stackoverflow.com/questions/44331836/apt-get-install-tzdata-noninteractive. This might also help if an other system package starts prompting.

pulkit accepted this revision.Nov 29 2020, 1:13 PM
This revision is now accepted and ready to land.Nov 29 2020, 1:13 PM
This revision was automatically updated to reflect the committed changes.