Skip to content

Commit

Permalink
Merge pull request #56 from beckermr/no-libcrypt-cos8
Browse files Browse the repository at this point in the history
  • Loading branch information
beckermr authored Feb 15, 2024
2 parents 6b2306d + 150af40 commit 859e7fa
Show file tree
Hide file tree
Showing 8 changed files with 55 additions and 37 deletions.
8 changes: 3 additions & 5 deletions .azure-pipelines/azure-pipelines-linux.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 23 additions & 2 deletions .gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 8 additions & 6 deletions .scripts/build_steps.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .scripts/logging_utils.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .scripts/run_docker_build.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions recipe/build-sysroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ cp -Rf "${SRC_DIR}"/binary-glibc-nss-devel/* usr/
cp -Rf "${SRC_DIR}"/binary-nss_db/* .
cp -Rf "${SRC_DIR}"/binary-nss_nis/* usr/
cp -Rf "${SRC_DIR}"/binary-glibc-gconv-extra/* usr/
cp -Rf "${SRC_DIR}"/binary-libxcrypt/* .
cp -Rf "${SRC_DIR}"/binary-libxcrypt-devel/* .
cp -Rf "${SRC_DIR}"/binary-glibc-langpacks/* usr/

mkdir -p usr/lib64
Expand Down
28 changes: 9 additions & 19 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{% set version = "2.28" %}
{% set kernel_headers_version = "4.18.0" %}
{% set build_number = "0" %}
{% set rpm_url = "https://repo.almalinux.org/almalinux/8.7/BaseOS/" ~ centos_machine ~ "/os/Packages" %}
{% set appstream_rpm_url = "https://repo.almalinux.org/almalinux/8.7/AppStream/" ~ centos_machine ~ "/os/Packages" %}
{% set powertools_rpm_url = "https://repo.almalinux.org/almalinux/8.7/PowerTools/" ~ centos_machine ~ "/os/Packages" %}
{% set build_number = "1" %}
{% set rpm_url = "https://repo.almalinux.org/vault/8.7/BaseOS/" ~ centos_machine ~ "/os/Packages" %}
{% set appstream_rpm_url = "https://repo.almalinux.org/vault/8.7/AppStream/" ~ centos_machine ~ "/os/Packages" %}
{% set powertools_rpm_url = "https://repo.almalinux.org/vault/8.7/PowerTools/" ~ centos_machine ~ "/os/Packages" %}

package:
name: linux-sysroot
Expand Down Expand Up @@ -60,7 +60,7 @@ source:
sha256: c20ecc30eb7f4b2114bc703186608eb4066c0e27487ef98d67214b80c9674fb6 # [cross_target_platform == "linux-s390x"]

- folder: binary-tzdata
url: https://repo.almalinux.org/almalinux/8.7/BaseOS/x86_64/os/Packages/tzdata-2023c-1.el8.noarch.rpm
url: https://repo.almalinux.org/vault/8.7/BaseOS/x86_64/os/Packages/tzdata-2023c-1.el8.noarch.rpm
sha256: b33647f0a02d09d96fadf9c18ad421931061aaf608e0e7a86e702c9b3f4e3111

- folder: binary-glibc-langpacks
Expand Down Expand Up @@ -98,20 +98,6 @@ source:
sha256: a05b835c89ae9bf922fa0b23c637a372d0e32a37c337065c3ff6f3cb1acd83b3 # [cross_target_platform == "linux-ppc64le"]
sha256: 7c696ad779339aa18a45cf1ce238924e21a9a31c4db7ba810efce01bf2854c23 # [cross_target_platform == "linux-s390x"]

- folder: binary-libxcrypt
url: {{ rpm_url }}/libxcrypt-4.1.1-6.el8.{{ centos_machine }}.rpm
sha256: d47f375a7902f3059a8690edc5949bbfd4708d53762c53414ff8747b7b409809 # [cross_target_platform == "linux-64"]
sha256: b574668ace5378e9c18d278aa776e51c9e65961f1c796c4583783900c87d5bf7 # [cross_target_platform == "linux-aarch64"]
sha256: cd10fabd2e21a079be2adcd501e10bb957a72a4d41bc3fb839460cf1e6b6ab4e # [cross_target_platform == "linux-ppc64le"]
sha256: 982e62272c86b39757a37f571615f792819d424496805945a8ecae8710505e4b # [cross_target_platform == "linux-s390x"]

- folder: binary-libxcrypt-devel
url: {{ rpm_url }}/libxcrypt-devel-4.1.1-6.el8.{{ centos_machine }}.rpm
sha256: c370e6338926c45830f0451be2666da2a2aafca18468d2a30304fc8f20736798 # [cross_target_platform == "linux-64"]
sha256: fc5023f66f92382b9124e6ddf3f810a09ce6354f9e59414fa286c2c1e2ab2e24 # [cross_target_platform == "linux-aarch64"]
sha256: c76d4cf48ca7d063e7b6c549283179ef61ed30b45f96d92b8c7b84b72766b449 # [cross_target_platform == "linux-ppc64le"]
sha256: 7ab1019601301bc8c3aa90ce15e3b51dd823dbc45b2f243b06a982098b606bcf # [cross_target_platform == "linux-s390x"]

build:
number: {{ build_number }}
noarch: generic
Expand Down Expand Up @@ -169,6 +155,8 @@ outputs:
- test -d $PREFIX/{{ target_machine }}-conda-linux-gnu/sysroot/usr/share/locale
- test -f $PREFIX/{{ target_machine }}-conda-linux-gnu/sysroot/usr/bin/ldd
- test -f $PREFIX/{{ target_machine }}-{{ ctng_vendor }}-linux-gnu/sysroot/lib/libc.so.6
- find "${PREFIX}" \( -name 'libnsl*' -o -path '*/rpcsvc/yp*' \) | { ! grep . ; }
- find "${PREFIX}" \( -name 'libcrypt*' -o -name 'crypt.*' \) | { ! grep . ; }

- name: sysroot-{{ sysroot_cdt_name }}-{{ sysroot_cdt_arch }}
build:
Expand All @@ -187,6 +175,8 @@ outputs:
- test -d $PREFIX/{{ target_machine }}-conda-linux-gnu/sysroot/usr/share/locale
- test -f $PREFIX/{{ target_machine }}-conda-linux-gnu/sysroot/usr/bin/ldd
- test -f $PREFIX/{{ target_machine }}-{{ ctng_vendor }}-linux-gnu/sysroot/lib/libc.so.6
- find "${PREFIX}" \( -name 'libnsl*' -o -path '*/rpcsvc/yp*' \) | { ! grep . ; }
- find "${PREFIX}" \( -name 'libcrypt*' -o -name 'crypt.*' \) | { ! grep . ; }

about:
home: http://sources.redhat.com/glibc/
Expand Down

0 comments on commit 859e7fa

Please sign in to comment.