]> git.openstreetmap.org Git - chef.git/commitdiff
Use fully resolved libeatmydata.so in ld.so.preload
authorGrant Slater <github@firefishy.com>
Wed, 24 Apr 2024 16:08:22 +0000 (17:08 +0100)
committerGrant Slater <github@firefishy.com>
Wed, 24 Apr 2024 16:08:22 +0000 (17:08 +0100)
.kitchen.yml

index f4a55180f8e23417fb6d1363531dbf8c5e240ded..1727c072b318f7e87c8675e8446c97fc2d118e83 100644 (file)
@@ -38,7 +38,7 @@ platforms:
       intermediate_instructions:
         - RUN /usr/bin/apt-get update -y
         - RUN /usr/bin/apt-get install -y eatmydata
-        - RUN echo libeatmydata.so >>/etc/ld.so.preload
+        - RUN echo /usr/lib/$(uname -m)-linux-gnu/libeatmydata.so >>/etc/ld.so.preload
   - name: ubuntu-22.04
     driver:
       image: ghcr.io/test-kitchen/dokken/ubuntu-22.04
@@ -47,7 +47,7 @@ platforms:
       intermediate_instructions:
         - RUN /usr/bin/apt-get update -y
         - RUN /usr/bin/apt-get install -y eatmydata
-        - RUN echo libeatmydata.so >>/etc/ld.so.preload
+        - RUN echo /usr/lib/$(uname -m)-linux-gnu/libeatmydata.so >>/etc/ld.so.preload
   - name: debian-12
     driver:
       image: ghcr.io/test-kitchen/dokken/debian-12
@@ -56,7 +56,7 @@ platforms:
       intermediate_instructions:
         - RUN /usr/bin/apt-get update -y
         - RUN /usr/bin/apt-get install -y eatmydata
-        - RUN echo libeatmydata.so >>/etc/ld.so.preload
+        - RUN echo /usr/lib/$(uname -m)-linux-gnu/libeatmydata.so >>/etc/ld.so.preload
 
 suites:
   - name: accounts