Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pcsc-lite - usrmerge usr/sbin #44674

Merged
merged 4 commits into from
Mar 31, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 23 additions & 2 deletions eudev.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
package:
name: eudev
version: 3.2.14
epoch: 5
epoch: 40
description: init system agnostic fork of systemd-udev
copyright:
- license: GPL-2.0-only
dependencies:
runtime:
- merged-usrsbin
- wolfi-baselayout

environment:
contents:
Expand Down Expand Up @@ -37,7 +41,8 @@ pipeline:
--sysconfdir=/etc \
--enable-split-usr \
--enable-manpages \
--enable-kmod
--enable-kmod \
--sbindir=/usr/bin

- uses: autoconf/make

Expand All @@ -59,6 +64,8 @@ subpackages:
runtime:
- eudev
- eudev-libs
- merged-usrsbin
- wolfi-baselayout
description: eudev dev
test:
pipeline:
Expand All @@ -71,10 +78,17 @@ subpackages:
test:
pipeline:
- uses: test/docs
dependencies:
runtime:
- merged-usrsbin
- wolfi-baselayout

- name: eudev-libs
dependencies:
provider-priority: 5
runtime:
- merged-usrsbin
- wolfi-baselayout
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/lib
Expand All @@ -91,11 +105,18 @@ subpackages:
mv ${{targets.destdir}}/usr/lib/udev/rules.d/80-net-name-slot.rules \
${{targets.subpkgdir}}/usr/lib/udev/rules.d/
description: udev rules for systemd-style interface names
dependencies:
runtime:
- merged-usrsbin
- wolfi-baselayout

- name: eudev-hwids
dependencies:
provides:
- hwids-udev=${{package.full-version}}
runtime:
- merged-usrsbin
- wolfi-baselayout
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/etc/udev/hwdb.d
Expand Down
9 changes: 8 additions & 1 deletion pcsc-lite.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
package:
name: pcsc-lite
version: "2.3.2"
epoch: 0
epoch: 40
description: Middleware to access a smart card using SCard API (PC/SC)
copyright:
- license: GPL-3.0-or-later
- license: MIT
- license: BSD-3-Clause
- license: ISC
dependencies:
runtime:
- merged-usrsbin
- wolfi-baselayout

environment:
contents:
Expand All @@ -34,6 +38,7 @@ pipeline:
with:
opts: |
-Dpolkit=false \
-Dsbindir=/usr/bin \
-Dlibsystemd=false \

- uses: meson/compile
Expand All @@ -45,7 +50,9 @@ subpackages:
description: "PC/SC Architecture smartcard middleware (development files)"
dependencies:
runtime:
- merged-usrsbin
- pcsc-lite
- wolfi-baselayout
pipeline:
- uses: split/dev
test:
Expand Down
8 changes: 4 additions & 4 deletions wolfi-baselayout.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: wolfi-baselayout
version: 20230201
epoch: 19
epoch: 20
description: "baselayout data for Wolfi"
copyright:
- license: MIT
Expand All @@ -11,7 +11,7 @@ package:
provides:
- merged-sbin
- merged-bin
#- merged-usrsbin
- merged-usrsbin
#- merged-lib

environment:
Expand Down Expand Up @@ -50,13 +50,13 @@ pipeline:
# split-usr
# mkdir -p ${{targets.destdir}}/sbin
# mkdir -p ${{targets.destdir}}/bin
mkdir -p ${{targets.destdir}}/usr/sbin
# mkdir -p ${{targets.destdir}}/usr/sbin
mkdir -p ${{targets.destdir}}/lib

# usr-merge
ln -s usr/bin ${{targets.destdir}}/sbin
ln -s usr/bin ${{targets.destdir}}/bin
# ln -s bin ${{targets.destdir}}/usr/sbin
ln -s bin ${{targets.destdir}}/usr/sbin
# ln -s usr/lib ${{targets.destdir}}/usr/lib

for i in lib64 usr/lib64 usr/local/lib64; do
Expand Down
Loading