Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
fix: add workaround for deborphan bug (gardenlinux#2099)
Browse files Browse the repository at this point in the history
  • Loading branch information
nkraetzschmar authored Apr 30, 2024
1 parent c53556a commit 3238cf5
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions features/openstack/exec.config
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,9 @@ set -Eeuo pipefail
mv /etc/cloud/cloud.cfg /etc/cloud/cloud.cfg.bak
cat /etc/cloud/cloud.cfg.bak | grep -v "^ - growpart$" | grep -v "^ - resizefs$" | grep -v "^ - ntp$" >/etc/cloud/cloud.cfg
rm /etc/cloud/cloud.cfg.bak

# deborphan bug workaround:
# deborphan does not properly parse `Provides: libmspack0 (= 0.11-1.1)`
# => libmspack0t64 wrongly detected as orphan during tests

apt-mark manual libmspack0t64
6 changes: 6 additions & 0 deletions features/server/exec.config
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,9 @@ chmod 0640 /etc/skel/.profile
sed -r '/^netgroup:\s+nis/d' -i /etc/nsswitch.conf

DEBIAN_FRONTEND=noninteractive pam-auth-update --remove passwdqc

# deborphan bug workaround:
# deborphan does not properly parse `Provides: liburcu8 (= 0.14.0-3.1)`
# => liburcu8t64 wrongly detected as orphan during tests

apt-mark manual liburcu8t64
6 changes: 6 additions & 0 deletions features/vmware/exec.config
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,9 @@ rm /etc/cloud/cloud.cfg.bak
# Remove ignition config on arm64
# This is incompatible in combination with arm64, vmware, readonly (ignition)
if [ "$(uname -m)" = aarch64 ]; then rm /etc/kernel/cmdline.d/50-ignition.cfg; fi

# deborphan bug workaround:
# deborphan does not properly parse `Provides: libmspack0 (= 0.11-1.1)`
# => libmspack0t64 wrongly detected as orphan during tests

apt-mark manual libmspack0t64

0 comments on commit 3238cf5

Please sign in to comment.