Skip to content

Commit 316d8dd

Browse files
committed
CI (Linux): disables post operations for polyfilled binaries
Fixes #1990
1 parent 5d8c21a commit 316d8dd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,10 @@ jobs:
145145
strip fastfetch && ./polyfill-glibc fastfetch --target-glibc=2.17
146146
strip flashfetch && ./polyfill-glibc flashfetch --target-glibc=2.17
147147
echo 'set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_FILE_NAME}-polyfilled")' >> CPackConfig.cmake
148+
echo 'set(CPACK_PACKAGE_RELOCATABLE OFF)' >> CPackConfig.cmake
148149
echo 'set(CPACK_DEBIAN_PACKAGE_DEPENDS "libc6 (>= 2.17)")' >> CPackConfig.cmake
149-
cpack
150+
echo 'set(CPACK_RPM_SPEC_MORE_DEFINE "%global __os_install_post %{nil}")' >> CPackConfig.cmake
151+
cpack -V
150152
151153
- name: upload artifacts
152154
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)