mirror of
https://github.com/siderolabs/extensions.git
synced 2025-08-14 10:17:15 +02:00
| Package | Update | Change | |---|---|---| | [https://github.com/qemu/qemu.git](https://togithub.com/qemu/qemu) | minor | `8.0.2` -> `v8.1.0` | | [https://gitlab.com/nvidia/container-toolkit/container-toolkit.git](https://gitlab.com/nvidia/container-toolkit/container-toolkit) | minor | `v1.13.5` -> `v1.14.0` | | [https://gitlab.com/nvidia/container-toolkit/libnvidia-container.git](https://gitlab.com/nvidia/container-toolkit/libnvidia-container) | minor | `v1.13.5` -> `v1.14.0` | | [https://gitlab.gnome.org/GNOME/glib.git](https://gitlab.gnome.org/GNOME/glib) | minor | `2.76.3` -> `2.77.3` | | [siderolabs/bldr](https://togithub.com/siderolabs/bldr) | patch | `v0.2.0` -> `v0.2.1` | | [tailscale/tailscale](https://togithub.com/tailscale/tailscale) | minor | `1.46.1` -> `1.48.1` | Also fix the wolfi-base variable to get renovate updates. Signed-off-by: Noel Georgi <git@frezbo.dev>
52 lines
1.4 KiB
YAML
52 lines
1.4 KiB
YAML
name: glibc
|
|
variant: scratch
|
|
shell: /bin/bash
|
|
install:
|
|
- build-base
|
|
- bash
|
|
- gawk
|
|
- bison
|
|
- python3
|
|
dependencies:
|
|
- image: cgr.dev/chainguard/wolfi-base@{{ .WOLFI_BASE_REF }}
|
|
steps:
|
|
- sources:
|
|
- url: https://ftpmirror.gnu.org/libc/glibc-{{ .GLIBC_VERSION }}.tar.gz
|
|
destination: glibc.tar.gz
|
|
sha256: 16e51e0455e288f03380b436e41d5927c60945abd86d0c9852b84be57dd6ed5e
|
|
sha512: ca799ef40129433791777c698b62142edf0f0e8a87552f324ee6a036a2fe747b867696863692bde45bdd4a263ac6c419a52f92c1b6072b8ff49a887ebaa45299
|
|
prepare:
|
|
- |
|
|
tar -xzf glibc.tar.gz --strip-components=1
|
|
|
|
mkdir build
|
|
cd build
|
|
|
|
../configure \
|
|
--prefix=/usr/local/glibc \
|
|
--libdir=/usr/local/glibc/lib \
|
|
--libexecdir=/usr/local/glibc/lib \
|
|
--enable-stack-protection=strong \
|
|
--disable-werror
|
|
build:
|
|
- |
|
|
cd build
|
|
make -j $(nproc)
|
|
install:
|
|
- |
|
|
mkdir -p /rootfs/lib64
|
|
|
|
cd build
|
|
make install DESTDIR=/rootfs
|
|
|
|
cp /pkg/ld.so.conf /rootfs/usr/local/glibc/etc/ld.so.conf
|
|
ln -s /usr/local/glibc/lib/ld-linux-x86-64.so.2 /rootfs/lib64/ld-linux-x86-64.so.2
|
|
|
|
# cleanup
|
|
rm -rf /rootfs/usr/local/glibc/include
|
|
rm -rf /rootfs/usr/local/glibc/share
|
|
rm -rf /rootfs/usr/local/glibc/var
|
|
finalize:
|
|
- from: /rootfs
|
|
to: /rootfs
|