forked from JeremyStarTM/aur-linux-clear
Sync with Arch
This commit is contained in:
parent
24960148b0
commit
cfa957941f
1 changed files with 7 additions and 2 deletions
9
PKGBUILD
9
PKGBUILD
|
@ -186,8 +186,10 @@ build() {
|
|||
|
||||
_package() {
|
||||
pkgdesc="Clearlinux kernel and modules"
|
||||
depends=('coreutils' 'linux-firmware' 'kmod' 'mkinitcpio>=0.7')
|
||||
optdepends=('crda: to set the correct wireless channels of your country' 'modprobed-db: Keeps track of EVERY kernel module that has ever been probed - useful for those of us who make localmodconfig')
|
||||
depends=('coreutils' 'kmod' 'initramfs')
|
||||
optdepends=('crda: to set the correct wireless channels of your country'
|
||||
'linux-firmware: firmware images needed for some devices'
|
||||
'modprobed-db: Keeps track of EVERY kernel module that has ever been probed - useful for those of us who make localmodconfig')
|
||||
provides=('WIREGUARD-MODULE')
|
||||
backup=("etc/mkinitcpio.d/${pkgbase}.preset")
|
||||
install=linux.install
|
||||
|
@ -203,6 +205,9 @@ _package() {
|
|||
install -Dm644 "$(make -s image_name)" "$modulesdir/vmlinuz"
|
||||
install -Dm644 "$modulesdir/vmlinuz" "$pkgdir/boot/vmlinuz-$pkgbase"
|
||||
|
||||
# Used by mkinitcpio to name the kernel
|
||||
echo "$pkgbase" | install -Dm644 /dev/stdin "$modulesdir/pkgbase"
|
||||
|
||||
msg2 "Installing modules..."
|
||||
make INSTALL_MOD_PATH="$pkgdir/usr" modules_install
|
||||
|
||||
|
|
Loading…
Reference in a new issue