Skip to content
Snippets Groups Projects
Commit 91056754 authored by Jörg Sachse's avatar Jörg Sachse
Browse files

feat: make changes for enabling the role to be run against Debian 12 Bookworm targets

parent 83422faf
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@
become: true
- name: add repo URL to sources.list
ansible.builtin.apt_repository:
repo: "deb https://sdvdebianrepo.slub-dresden.de/deb-repository bullseye main"
repo: "deb https://sdvdebianrepo.slub-dresden.de/deb-repository {{ ansible_distribution_release }} main"
state: present
update_cache: true
mode: "0644"
......
......@@ -13,7 +13,7 @@ platforms:
# https://github.com/ansible-community/molecule-vagrant#documentation
# for more platform parameters.
- name: mol-validators
box: debian/bullseye64
box: debian/bookworm64
memory: 1024
# List of raw Vagrant `config` options.
# provider_raw_config_args:
......
---
# ATTENTION!!!
# The 'libcgicc-dev' package needs to be a patched version provided by SLUB's
# own package repository, and of course it needs to be created from the
# official Debian package for the specific Debian version installed on the
# target. The patch is necessary to patch the bug described at
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985941. If the unpatched
# version is used, the CGI-Binaries for validation and repair fail. Make sure
# to keep the package on the Debian repo server up to date with the latest
# Debian releases.
- name: install prerequisite packages for compilation
ansible.builtin.apt:
name: [
'g++',
'git',
'libcgicc-dev=3.2.19-0.3',
'libcgicc-dev=3.2.19-1.1',
'make',
]
state: present
......@@ -52,6 +61,11 @@
- "var"
changed_when: false # This always changes, because the dest path is fresh.
- name: remove libstdc++ that is delivered with CallasSDK to ensure that local system lib is used
ansible.builtin.file:
name: "/usr/lib/cgi-bin/lib/libstdc++.so.6"
state: absent
# We need to use the ansible.builtin.shell module here, because the
# ansible.builtin.command module does not accept setting environment variables
# inline. Molecule errors are turned off for this.
......
......@@ -67,7 +67,7 @@
- name: install libstdc++
ansible.builtin.apt:
name: "libstdc++-10-dev"
name: "libstdc++-11-dev"
state: present
- name: remove symlinks to distro version of libstdc++, because we need to use what's provided with PDFEngine
......
......@@ -26,7 +26,7 @@
'logrotate',
'lsb-release',
'nfs-common',
'openjdk-11-jre',
'openjdk-17-jre',
'perl',
'perl-base',
'perl-modules',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment