feat: check /usr/lib/modules for modification
This commit is contained in:
parent
f554a025e1
commit
975243c51a
3 changed files with 5 additions and 4 deletions
4
.SRCINFO
4
.SRCINFO
|
@ -1,12 +1,12 @@
|
|||
pkgbase = check-boot-hook
|
||||
pkgdesc = Cancel package actions if /boot is not mounted
|
||||
pkgver = 0.0.1
|
||||
pkgver = 0.0.2
|
||||
pkgrel = 1
|
||||
url = https://git.zknt.org/chris/check-boot-hook
|
||||
arch = any
|
||||
license = MIT
|
||||
source = 95-check-boot.hook
|
||||
sha256sums = a41f0f1c9715a3f9894dc39221ebae6e666b74e24c2db8586bbcf426be694f04
|
||||
sha256sums = 6fc25b4b1dd3c1e3cf78640b616975aefc2f66faf5faa82a39cbc8c40c7762bd
|
||||
|
||||
pkgname = check-boot-hook
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@ Operation = Remove
|
|||
Type = File
|
||||
Target = boot/*
|
||||
Target = usr/lib/initcpio/*
|
||||
Target = usr/lib/modules/*
|
||||
|
||||
[Action]
|
||||
When = PreTransaction
|
||||
|
|
4
PKGBUILD
4
PKGBUILD
|
@ -1,13 +1,13 @@
|
|||
# Maintainer: tercean <cg@zknt.org>
|
||||
pkgname=check-boot-hook
|
||||
pkgver=0.0.1
|
||||
pkgver=0.0.2
|
||||
pkgrel=1
|
||||
pkgdesc="Cancel package actions if /boot is not mounted"
|
||||
arch=('any')
|
||||
url="https://git.zknt.org/chris/check-boot-hook"
|
||||
license=('MIT')
|
||||
source=("95-check-boot.hook")
|
||||
sha256sums=('a41f0f1c9715a3f9894dc39221ebae6e666b74e24c2db8586bbcf426be694f04')
|
||||
sha256sums=('6fc25b4b1dd3c1e3cf78640b616975aefc2f66faf5faa82a39cbc8c40c7762bd')
|
||||
|
||||
package() {
|
||||
install -Dm644 '95-check-boot.hook' "${pkgdir}/usr/share/libalpm/hooks/95-check-boot.hook"
|
||||
|
|
Loading…
Reference in a new issue