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

Add build container based on Debian 12 #180

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

bedroge
Copy link
Collaborator

@bedroge bedroge commented Feb 26, 2024

No description provided.

@bedroge
Copy link
Collaborator Author

bedroge commented Feb 27, 2024

@ocaisa that change was actually fine, but there's another hardcoded string in the script that prepares the packages...

edit: fixed that by doing it in the same way as CVMFS does it here: https://github.com/cvmfs/cvmfs/blob/devel/ci/cvmfs/deb.sh#L36.

apt-get install -y wget lsb-release

arch=$(dpkg --print-architecture)
os="$(lsb_release -si | tr [:upper:] [:lower:])$(lsb_release -sr)"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
os="$(lsb_release -si | tr [:upper:] [:lower:])$(lsb_release -sr)"
os="$(lsb_release -si | tr [:upper:] [:lower:])$(lsb_release -sr | cut -d '.' -f 1)"

Not sure if this is the problem...


arch=$(dpkg --print-architecture)
os="$(lsb_release -si | tr [:upper:] [:lower:])$(lsb_release -sr)"

if [ "$arch" = "ppc64el" ] || [ "$arch" = "arm64" ]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it still need to build the deb packages from source for Arm?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are packages for Ubuntu, see https://cernvm.cern.ch/fs/, but I'm not sure if they work on Debian.

@bedroge
Copy link
Collaborator Author

bedroge commented Feb 27, 2024

Just tried building a Debian 12 container in my own repo and used that for testing, but it doesn't solve the permission errors with fuse-overlayfs from issue EESSI/software-layer#312. So in that sense we don't really need this, but I can leave it open for now in case we would like to use it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants