Commit e2b008b5 authored by Luca Giambonini's avatar Luca Giambonini

linux-lts allign PKGBUILD with linux

mkinitcpio preset changed from linux-CHAKRA-LTS to linux-lts
[skip-ci]
parent b871fe55
Pipeline #1106 skipped
[Trigger]
Type = File
Operation = Install
Operation = Upgrade
Operation = Remove
Target = usr/lib/modules/%KERNVER%/*
Target = usr/lib/modules/%EXTRAMODULES%/*
[Action]
Description = Updating %PKGBASE% module dependencies...
When = PostTransaction
Exec = /usr/bin/depmod %KERNVER%
[Trigger]
Type = File
Operation = Install
Operation = Upgrade
Target = boot/vmlinuz-%PKGBASE%
Target = usr/lib/initcpio/*
[Action]
Description = Updating %PKGBASE% initcpios...
When = PostTransaction
Exec = /usr/bin/mkinitcpio -p %PKGBASE%
This diff is collapsed.
# arg 1: the new package version # arg 1: the new package version
# arg 2: the old package version # arg 2: the old package version
KERNEL_NAME=-CHAKRA-LTS KERNEL_NAME=
KERNEL_VERSION=4.4.115-1-CHAKRA-LTS KERNEL_VERSION=
post_install () { post_install () {
# updating module dependencies # updating module dependencies
......
# mkinitcpio preset file for the 'linux-lts' package # mkinitcpio preset file for the '%PKGBASE%' package
ALL_config="/etc/mkinitcpio.conf" ALL_config="/etc/mkinitcpio.conf"
ALL_kver="/boot/vmlinuz-linux-lts" ALL_kver="/boot/vmlinuz-%PKGBASE%"
PRESETS=('default' 'fallback') PRESETS=('default' 'fallback')
#default_config="/etc/mkinitcpio.conf" #default_config="/etc/mkinitcpio.conf"
default_image="/boot/initramfs-linux-lts.img" default_image="/boot/initramfs-%PKGBASE%.img"
#default_options="" #default_options=""
#fallback_config="/etc/mkinitcpio.conf" #fallback_config="/etc/mkinitcpio.conf"
fallback_image="/boot/initramfs-linux-lts-fallback.img" fallback_image="/boot/initramfs-%PKGBASE%-fallback.img"
fallback_options="-S autodetect" fallback_options="-S autodetect"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment