Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve build environment's ability to compile software #150

Open
shasheene opened this issue Dec 10, 2020 · 0 comments
Open

Improve build environment's ability to compile software #150

shasheene opened this issue Dec 10, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@shasheene
Copy link
Member

shasheene commented Dec 10, 2020

Rescuezilla's Dockerfile defines an Ubuntu 18.04 (Bionic) "host environment" where the build takes place. Third-party packages are compiled in this environment and debootstrap is used to create an Ubuntu root filesystem, which is then entered using chroot for further modification.

This architecture is becoming far less suitable now that Rescuezilla currently targets more Ubuntu versions: Ubuntu 20.04 (Focal) x86_64, Ubuntu 20.10 (Groovy) x86_64 and hopefully soon re-introducing Ubuntu 18.04 (Bionic) i386 (the last 32-bit Ubuntu release) before its support window ends in the year 2023.

To be more specific, compiling software targeting all these different releases should not happen in an Ubuntu 18.04 environment because it's linking against different versions than the target environments, which makes building the latest version of software like nbdkit from source much harder.

Side note: In the long-term it would be ideal to have builds of Rescuezilla available for more CPU architectures such as ARM.

The task is to revamp the build environment so software can be correctly compiled from source for the target system. This task is a good time to upgrade the Dockerfile host environment from Bionic to the next Ubuntu long-term support release (Focal). It's also a good time to tackle some related issues:

It's also a good time to compile the latest versions of software like partclone and sfdisk's util-linux from source to better match the package environment on Clonezilla's Ubuntu-based releases. Side note: Rescuezilla already compiles older versions from source for Redo Backup v0.9.8-v1.0.4 compatibility reasons.

This is definitely a big task, but being able to use the latest version of packages mean powerful features can then come to Rescuezilla. For example the latest version of projects like nbdkit will make it easier to expand the supported compression formats of the new Rescuezilla "Image Explorer" feature, which will make the goal of instantaneous image mount of even multi-terabyte images a reality much sooner than waiting for Ubuntu to one day update the dependent packages.

@shasheene shasheene added the enhancement New feature or request label Dec 10, 2020
@shasheene shasheene self-assigned this Dec 10, 2020
@shasheene shasheene added this to To do in Rescuezilla v2.2 via automation Feb 28, 2021
@shasheene shasheene moved this from To do to In progress in Rescuezilla v2.2 Feb 28, 2021
@shasheene shasheene moved this from In progress to To do in Rescuezilla v2.2 Mar 25, 2021
@shasheene shasheene removed this from To do in Rescuezilla v2.2 May 26, 2021
@shasheene shasheene added this to To do in Rescuezilla v2.3 Development via automation May 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant