Christian Heusel pushed to branch main at Arch Linux / Packaging / Packages / dkms
Commits: d3339fc9 by Emil Velikov at 2024-10-14T22:53:56+02:00 Update hooks Target to package owned file Ages ago, the kernel packages were including the RW modules.XXX files generated by depmod, like modules.alias. For a while now, the kernel packages do not provide said file(s). Update the Target pattern to modules.order, which is a file required by depmod and kmod as a whole. An alternative solution is to swap the Path based patterns to package ones. Although we can explore that as follow-up. Signed-off-by: Emil Velikov <[email protected]> - - - - - 4 changed files: - PKGBUILD - hook.install - hook.remove - hook.upgrade Changes: ===================================== PKGBUILD ===================================== @@ -22,9 +22,9 @@ source=("git+https://github.com/dell/dkms.git#tag=v$pkgver" 'hook.upgrade' 'hook.sh') sha256sums=('SKIP' - 'acdc5b45cc018cea04ee1aec56fd8fc3a2de62cf7bc41acf53b3790872120998' - '326515cc7d00f93760beb844434ca7442caf7a9424614aa95a8f6d1ab79e15df' - '4f8dff7716e73a8bba885638f12e3cdc9e87daec1896f75e700b981527e43870' + 'da2dd53bdb427c3ffbe793fd05f898d8a0545e6dbd346c85fad1717b0f838c62' + '497422e72b2f10a71caae40c44a07b215425d393acb365700e38944e09f9a554' + 'cc04280e8eb095f4950f5e3c6b2997fbc8d5862d79c5ae29d5943b8ac204d0d4' 'c1b4a4e2e4e0e0e59ee0887403e79d60b209f3878dbbec6612573f13b90cce01') prepare() { ===================================== hook.install ===================================== @@ -4,7 +4,7 @@ Operation = Upgrade Type = Path Target = usr/src/*/dkms.conf Target = usr/lib/modules/*/build/include/ -Target = usr/lib/modules/*/modules.alias +Target = usr/lib/modules/*/modules.order [Action] Description = Install DKMS modules ===================================== hook.remove ===================================== @@ -3,7 +3,7 @@ Operation = Remove Type = Path Target = usr/src/*/dkms.conf Target = usr/lib/modules/*/build/include/ -Target = usr/lib/modules/*/modules.alias +Target = usr/lib/modules/*/modules.order [Action] Description = Remove DKMS modules ===================================== hook.upgrade ===================================== @@ -3,7 +3,7 @@ Operation = Upgrade Type = Path Target = usr/src/*/dkms.conf Target = usr/lib/modules/*/build/include/ -Target = usr/lib/modules/*/modules.alias +Target = usr/lib/modules/*/modules.order [Action] Description = Remove upgraded DKMS modules View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/dkms/-/commit/d3339fc9d360dbced99817294e1efc6a7e482381 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/dkms/-/commit/d3339fc9d360dbced99817294e1efc6a7e482381 You're receiving this email because of your account on gitlab.archlinux.org.
