Skip to content

Commit

Permalink
slc9-arm: Do not rebuild rpm db on provision
Browse files Browse the repository at this point in the history
Removing this because it gives problems when building with Docker's overlayfs

Similar issue: radiasoft/containers#91

strace out:
```
renameat(AT_FDCWD, "/var/lib/rpm", AT_FDCWD, "/var/lib/rpmold.68") = -1 EXDEV (Invalid cross-device link)
```
  • Loading branch information
singiamtel committed Aug 8, 2024
1 parent 9c3e89f commit c1fc762
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions slc9-arm-builder/provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,6 @@ useradd -rmUu 982 mesosdaq
useradd -rmUu 983 mesosuser
useradd -rmUu 984 mesostest

wipednf () {
rpmdb --rebuilddb
dnf clean all
rm -rf /var/cache/yum
}

wipednf

dnf install -y epel-release dnf-plugins-core

# Formerly "powertools"; contains some dev tools we need.
Expand All @@ -24,5 +16,3 @@ dnf update -y
dnf groups install -y 'Development Tools'
# python3-{pip,setuptools} and s3cmd needed for Jenkins builds.
dnf install -y alice-o2-full-deps python3-pip python3-setuptools s3cmd

wipednf

0 comments on commit c1fc762

Please sign in to comment.