rebuild eudev

This commit is contained in:
joborun linux 2024-08-26 15:08:37 +03:00
parent bd56826af7
commit 227bb271b1
3 changed files with 15 additions and 19 deletions

View file

@ -8,16 +8,15 @@
pkgbase=eudev
pkgname=(eudev libeudev)
pkgver=3.2.14
pkgrel=01 ## correct description of pkg version
pkgrel=02
_udev_ver=251
pkgdesc="The userspace dev tools (udev) - sticky patched as udev-251"
pkgdesc="The userspace dev tools (udev) - patched as udev-251"
# This is the old official gentoo fork source location
#url="https://github.com/gentoo/eudev"
#url="https://github.com/eudev-project/eudev/releases/download/v3.2.12-pre3/eudev-3.2.12-pre3.tar.gz
#source=("git+https://anongit.gentoo.org/git/proj/eudev.git"
url="https://github.com/eudev-project/eudev/releases/download"
source=($url/v$pkgver/$pkgbase-$pkgver.tar.gz{,.asc}
# https://github.com/orbea/gentoo/raw/089352efcf0f31fc0d9829976bad2ae3049d031c/sys-fs/eudev/files/eudev-3.2.12-sticky-tags.patch
initcpio_hooks
initcpio_install
udev-hwdb.hook )
@ -29,10 +28,11 @@ prepare(){
cd $pkgbase-$pkgver
sed -e 's/GROUP="dialout"/GROUP="uucp"/' \
-e 's/GROUP="tape"/GROUP="storage"/' \
-e 's/GROUP="cdrom"/GROUP="optical"/' \
-i rules/*.rules
-e 's/GROUP="tape"/GROUP="storage"/' \
-e 's/GROUP="cdrom"/GROUP="optical"/' \
-i rules/*.rules
## for historic background patch incorporated into code now
## https://github.com/orbea/gentoo/blob/089352efcf0f31fc0d9829976bad2ae3049d031c/sys-fs/eudev/files/eudev-3.2.12-sticky-tags.patch
## https://github.com/KenjiBrown/without-systemd/commit/2b6f3b42897f2d1d71afa3f2ada60f2b22db449f#diff-22b39d4a24ab8aeca2a195b4f97229cd70df46cd88f1bfb4afd1c14d8a163a8e
## patch -Np1 < ../eudev-3.2.12-sticky-tags.patch
@ -112,11 +112,10 @@ validpgpkeys=('BA60BC20F37E59444D6D25001365720913D2F22D') # Boian Bonev (GnuPG
sha256sums=(8da4319102f24abbf7fff5ce9c416af848df163b29590e666d334cc1927f006f # eudev-3.2.14.tar.gz
515f81eb968c7580fdea3023dee5e1e136aeb77fbef4e8a86ad76b933b1cf722 # eudev-3.2.14.tar.gz.asc
# SKIP # eudev-3.2.12-sticky-tags.patch
892ce43218e0a458981bbce451252c8987dc398e60b8de288e7542b8f2409c13 # initcpio_hooks
77dd1fd318b4456409aceb077f060b87944defb07cf39d29ad1968dc6f361875 # initcpio_install
692cc489cc65216892099a40fa55ab22f52f169f2f264727dce83ff39f8ef3bd # initcpio_hooks
9df5ef77223f129c046bce8f4b078f8cec5f3fb03dc6b443f3330e7ba1fd50ec # initcpio_install
846e9ddbb95c8394ba7efe75107cc1308426921bc042f5d6b48fa4c2dcbac151) # udev-hwdb.hook
## 86e19e2fe6d989fdb051a00a3764132b67b8f8477b6cf7893916a6f9fa2d830a eudev-3.2.14-01-x86_64.pkg.tar.lz
## a56274c8275f9b9f41486f1a7ea2e3be6c3aa8ac1e444643c4102cef408b01f5 libeudev-3.2.14-01-x86_64.pkg.tar.lz
## dcf7572b872fc2a97e8c1ffcfb4fb4c0ed76205100792de0eb57d2368e4ed1df eudev-3.2.14-02-x86_64.pkg.tar.lz
## d23590d52df4eed42d6a22a78ee225df84725bcff9bcb811d868265cfa531606 libeudev-3.2.14-02-x86_64.pkg.tar.lz

View file

@ -17,4 +17,3 @@ run_cleanuphook() {
udevadm info --cleanup-db
}
# vim: set ft=sh ts=4 sw=4 et:

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usd/bin/bash
build() {
add_file "/etc/udev/udev.conf"
@ -18,10 +18,8 @@ build() {
help() {
cat <<HELPEOF
This hook will use udev to create your root device node and detect the needed
modules for your root device. It is also required for firmware loading in
initramfs. It is recommended to use this hook.
HELPEOF
This hook will use udev to create your root device node and detect the needed
modules for your root device. It is also required for firmware loading in
initramfs. It is recommended to use this hook.
HELPEOF
}
# vim: set ft=sh ts=4 sw=4 et: