Skip to content

Commit

Permalink
chore: bump eudev, remove non-relevant default rules
Browse files Browse the repository at this point in the history
Bump eudev to 3.2.11
Remove non-relevant default rules

Signed-off-by: Noel Georgi <[email protected]>
  • Loading branch information
frezbo committed Apr 7, 2022
1 parent 6691342 commit 415020f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ nonfree: $(NONFREE_TARGETS) ## Builds all known non-free pkgs.
help: ## This help menu.
@grep -E '^[a-zA-Z%_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'

local-%: ## Builds the specified target defined in the Dockerfile using the local output type. The build result will be output to the specified local destination.
@$(MAKE) target-$* TARGET_ARGS="--output=type=local,dest=$(DEST) $(TARGET_ARGS)"
@PLATFORM=$(PLATFORM)

target-%: ## Builds the specified target defined in the Dockerfile. The build result will only remain in the build cache.
@$(BUILD) \
--target=$* \
Expand Down
9 changes: 6 additions & 3 deletions eudev/pkg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ dependencies:
- stage: util-linux
steps:
- sources:
- url: https://github.com/gentoo/eudev/archive/refs/tags/v3.2.10.tar.gz
- url: https://github.com/gentoo/eudev/archive/refs/tags/v3.2.11.tar.gz
destination: eudev.tar.gz
sha256: 6492629da4024d2d21bb1a79d724e013d4152956099a5c63b09c8ee4da7f9b2b
sha512: 37fc5e7f960a843fa68269697882123af4515555788a9e856474f51dd8c330a4c8e52e7c897aeb5d3eb36c6ad66cc99f5a38a284a75620b7e6c275c703e25d42
sha256: dcfc482099f3fdfcfdb9aeabbc4d609877cf4d2d0407f50ab0c59d43fff44f92
sha512: 17b328365913af3e434abe667dd0498c3702a41c6cb66f3793ca2c195b05ac06397b0a401077f81df7dd25193e4eeea13657a221ca6cb3d237c4d91e31e30b33
prepare:
- |
tar -xzf eudev.tar.gz --strip-components=1
Expand Down Expand Up @@ -41,6 +41,9 @@ steps:
- |
cd build
make install DESTDIR=/rootfs
# cleanup non-relevant rules
rm -f /rootfs/usr/lib/udev/rules.d/{60-cdrom_id.rules,60-persistent-alsa.rules,60-persistent-v4l.rules,64-btrfs.rules,70-joystick.rules,70-mouse.rules,70-touchpad.rules,78-sound-card.rules,80-net-name-slot.rules}
finalize:
- from: /rootfs
to: /

0 comments on commit 415020f

Please sign in to comment.