mirror of
https://github.com/siderolabs/extensions.git
synced 2025-09-30 01:51:10 +02:00
``` | Package | Update | Change | |---|---|---| | git://sourceware.org/git/elfutils.git | minor | `0.189` -> `0.190` | | [https://github.com/qemu/qemu.git](https://togithub.com/qemu/qemu) | patch | `8.1.2` -> `8.1.3` | | [nvidia/open-gpu-kernel-modules](https://togithub.com/nvidia/open-gpu-kernel-modules) | minor | `535.54.03` -> `535.129.03` | ``` Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
45 lines
1.3 KiB
YAML
45 lines
1.3 KiB
YAML
name: elfutils
|
|
variant: scratch
|
|
shell: /bin/bash
|
|
install:
|
|
- build-base
|
|
- bash
|
|
- m4
|
|
dependencies:
|
|
- image: cgr.dev/chainguard/wolfi-base@{{ .WOLFI_BASE_REF }}
|
|
- stage: zlib
|
|
from: /rootfs
|
|
steps:
|
|
- sources:
|
|
- url: https://sourceware.org/elfutils/ftp/{{ .ELFUTILS_VERSION }}/elfutils-{{ .ELFUTILS_VERSION }}.tar.bz2
|
|
destination: elfutils.tar.bz2
|
|
sha256: 8e00a3a9b5f04bc1dc273ae86281d2d26ed412020b391ffcc23198f10231d692
|
|
sha512: 9c4f5328097e028286c42f29e39dc3d80914b656cdfbbe05b639e91bc787ae8ae64dd4d69a6e317ce30c01648ded10281b86a51e718295f4c589df1225a48102
|
|
prepare:
|
|
- |
|
|
tar -xjf elfutils.tar.bz2 --strip-components=1
|
|
|
|
mkdir build
|
|
cd build
|
|
|
|
../configure \
|
|
--prefix=/usr/local \
|
|
--with-zstd=no \
|
|
--disable-libdebuginfod \
|
|
--disable-debuginfod \
|
|
CFLAGS="${CFLAGS} -fPIC -Wno-error"
|
|
build:
|
|
- |
|
|
cd build
|
|
|
|
make -j $(nproc)
|
|
install:
|
|
- |
|
|
cd build
|
|
make DESTDIR=/rootfs install
|
|
# we only need the libs and headers, remove everything else
|
|
find /rootfs/usr/local/ -type d \( -name bin -o -name sbin -o -name share \) -prune -exec rm -rf {} \;
|
|
finalize:
|
|
- from: /rootfs
|
|
to: /rootfs
|