Any views expressed within media held on this service are those of the contributors, should not be taken as approved or endorsed by the University, and do not necessarily reflect the views of the University in respect of any particular issue.

LCFG Project

LCFG Project

Recent Activity for the LCFG project

Weekly Changes – 07/11/2022

Most of the changes for this week are again related to the integration work for the new Ubuntu installer. Hopefully within the next few weeks the installer will be ready for wider testing. Here are all the details…

Localisation

All Ubuntu profiles now include the new localisation header – lcfg/defaults/l10n.h – which controls various files that configure the locale for a system. Previously most of those files were only configured during the initial install phase. The header currently assumes that an en_GB environment is required, this could be parameterised in the future if alternatives are desired.

fstab management

The LCFG fstab component, and dependencies, are now included by default on the Ubuntu platform. At this stage, this is mainly to facilitate wider testing, currently the component is not started at boot-time. Once testing is completed it will be enabled and will assume control over the contents of the /etc/fstab file.

boot mode

It is now possible to detect the desired boot-mode through the LCFG sysinfo features system. You can test for it like this:

my $sysinfo = LCFG::SysInfo->new();

if ( $sysinfo->has_feature('boot_uefi') ) {
   ...
}

Or alternatively test for the boot_legacy feature.

Installbase profile

As flagged up in a recent message the installbase profiles for Ubuntu are changing, with new ones being required for systems which use UEFI.

To make this easier for other sites there is a new site defaults macro which can be set – LCFG_INSTALLBASE_STUB – the default is installbase. This is combined like this:

#if defined(USE_NEW_INSTALLER) && !defined(USE_LEGACY_BOOT)
install.installbase         LCFG_INSTALLBASE_STUB-efi-<%sysinfo.platform_full%>-<%profile.release%>.<%profile.domain%>
#else
install.installbase         LCFG_INSTALLBASE_STUB-<%sysinfo.platform_full%>-<%profile.release%>.<%profile.domain%>
#endif

For example, in Informatics our local installbase profiles are all named with a diceinstallbase stub, which gives something like diceinstallbase-ubu2004-stable.inf.ed.ac.uk.

Installer

Further work has been done to integrate the configuration for the new Ubuntu installer, in particular for the LCFG gaiconf component and the wallet openssh key restoration process.

Package Building Support

Support has been added for building packages for the Ubuntu 22.04 (Jammy Jellyfish) and Debian 11 (bullseye) platforms using pbuilder.

For Informatics, there is also support for submitting packages for those platforms into the local repositories but care must be taken to not cause conflicts with source packages that were already submitted for the 20.04 (Focal Fossa) platform.

Changes to headers and package lists

Members of the Informatics Computing team can browse all the changes to the headers and package lists.

Leave a reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

css.php

Report this page

To report inappropriate content on this page, please use the form below. Upon receiving your report, we will be in touch as per the Take Down Policy of the service.

Please note that personal data collected through this form is used and stored for the purposes of processing this report and communication with you.

If you are unable to report a concern about content via this form please contact the Service Owner.

Please enter an email address you wish to be contacted on. Please describe the unacceptable content in sufficient detail to allow us to locate it, and why you consider it to be unacceptable.
By submitting this report, you accept that it is accurate and that fraudulent or nuisance complaints may result in action by the University.

  Cancel