containers / composefs

a file system for mounting container images
GNU General Public License v2.0
424 stars 29 forks source link

Support older linux headers #253

Closed rborn-tx closed 7 months ago

rborn-tx commented 7 months ago

This aims to tackle https://github.com/containers/composefs/issues/252, i.e. allowing the build when macros MOUNT_ATTR_IDMAP and LOOP_CONFIGURE along with related structures are not available in the user API of the Linux kernel.

cgwalters commented 7 months ago

This looks sane, but...do you mind trying out adding a suitably old build environment in the CI configuration too? Otherwise we're somewhat likely to break this again. You're effectively aiming to define e.g. "Ubuntu Focal" as a baseline. Should be pretty trivial to pull that as a container image and build there right?

rborn-tx commented 7 months ago

...do you mind trying out adding a suitably old build environment in the CI configuration too? Otherwise we're somewhat likely to break this again. You're effectively aiming to define e.g. "Ubuntu Focal" as a baseline. Should be pretty trivial to pull that as a container image and build there right?

Sure! I'll do that. Thanks for the feedback.