core/linux-aarch64 to 4.12.5-1

This commit is contained in:
Kevin Mihelich 2017-08-06 21:40:49 +00:00
parent b2bd7bec07
commit 0c95644fe9
4 changed files with 37 additions and 18 deletions

View file

@ -0,0 +1,11 @@
[Trigger]
Type = File
Operation = Install
Operation = Upgrade
Target = boot/Image
Target = usr/lib/initcpio/*
[Action]
Description = Updating %PKGBASE% initcpios
When = PostTransaction
Exec = /usr/bin/mkinitcpio -p %PKGBASE%

View file

@ -7,7 +7,7 @@ pkgbase=linux-aarch64
_srcname=linux-4.12 _srcname=linux-4.12
_kernelname=${pkgbase#linux} _kernelname=${pkgbase#linux}
_desc="AArch64 multi-platform" _desc="AArch64 multi-platform"
pkgver=4.12.4 pkgver=4.12.5
pkgrel=1 pkgrel=1
arch=('aarch64') arch=('aarch64')
url="http://www.kernel.org/" url="http://www.kernel.org/"
@ -18,12 +18,14 @@ source=("http://www.kernel.org/pub/linux/kernel/v4.x/${_srcname}.tar.xz"
"http://www.kernel.org/pub/linux/kernel/v4.x/patch-${pkgver}.xz" "http://www.kernel.org/pub/linux/kernel/v4.x/patch-${pkgver}.xz"
'0001-net-smsc95xx-Allow-mac-address-to-be-set-as-a-parame.patch' '0001-net-smsc95xx-Allow-mac-address-to-be-set-as-a-parame.patch'
'config' 'config'
'linux.preset') 'linux.preset'
'99-linux.hook')
md5sums=('fc454157e2d024d401a60905d6481c6b' md5sums=('fc454157e2d024d401a60905d6481c6b'
'8b701bde9ab905f36c9917a6afdfb3e5' '0993b69927d19e4f2b52d99670a95d07'
'1d852d09fa6ec38017b3ebe631c02d32' '1d852d09fa6ec38017b3ebe631c02d32'
'4fa881c77f74764353778daa83642145' '995088b1124c70637b550f9b489b0874'
'b5ef67d6086e20de7b82265f562f88b1') 'b5ef67d6086e20de7b82265f562f88b1'
'1d4477026533efaa0358a40855d50a83')
prepare() { prepare() {
cd "${srcdir}/${_srcname}" cd "${srcdir}/${_srcname}"
@ -111,6 +113,10 @@ _package() {
-e "s|ALL_kver=.*|ALL_kver=\"${_kernver}\"|" \ -e "s|ALL_kver=.*|ALL_kver=\"${_kernver}\"|" \
-i "${pkgdir}/etc/mkinitcpio.d/${pkgbase}.preset" -i "${pkgdir}/etc/mkinitcpio.d/${pkgbase}.preset"
# install pacman hook for initramfs regeneration
sed "s|%PKGBASE%|${pkgbase}|g" "${srcdir}/99-linux.hook" |
install -D -m644 /dev/stdin "${pkgdir}/usr/share/libalpm/hooks/99-${pkgbase}.hook"
# remove build and source links # remove build and source links
rm -f "${pkgdir}"/lib/modules/${_kernver}/{source,build} rm -f "${pkgdir}"/lib/modules/${_kernver}/{source,build}
# remove the firmware # remove the firmware

View file

@ -1,16 +1,16 @@
# #
# Automatically generated file; DO NOT EDIT. # Automatically generated file; DO NOT EDIT.
# Linux/arm64 4.12.0-rc5-1 Kernel Configuration # Linux/arm64 4.12.5-1 Kernel Configuration
# #
CONFIG_ARM64=y CONFIG_ARM64=y
CONFIG_64BIT=y CONFIG_64BIT=y
CONFIG_ARCH_PHYS_ADDR_T_64BIT=y CONFIG_ARCH_PHYS_ADDR_T_64BIT=y
CONFIG_MMU=y CONFIG_MMU=y
CONFIG_ARM64_PAGE_SHIFT=16 CONFIG_ARM64_PAGE_SHIFT=12
CONFIG_ARM64_CONT_SHIFT=5 CONFIG_ARM64_CONT_SHIFT=4
CONFIG_ARCH_MMAP_RND_BITS_MIN=14 CONFIG_ARCH_MMAP_RND_BITS_MIN=18
CONFIG_ARCH_MMAP_RND_BITS_MAX=29 CONFIG_ARCH_MMAP_RND_BITS_MAX=33
CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MIN=7 CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MIN=11
CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MAX=16 CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MAX=16
CONFIG_STACKTRACE_SUPPORT=y CONFIG_STACKTRACE_SUPPORT=y
CONFIG_ILLEGAL_POINTER_VALUE=0xdead000000000000 CONFIG_ILLEGAL_POINTER_VALUE=0xdead000000000000
@ -32,7 +32,7 @@ CONFIG_SWIOTLB=y
CONFIG_IOMMU_HELPER=y CONFIG_IOMMU_HELPER=y
CONFIG_KERNEL_MODE_NEON=y CONFIG_KERNEL_MODE_NEON=y
CONFIG_FIX_EARLYCON_MEM=y CONFIG_FIX_EARLYCON_MEM=y
CONFIG_PGTABLE_LEVELS=3 CONFIG_PGTABLE_LEVELS=4
CONFIG_ARCH_SUPPORTS_UPROBES=y CONFIG_ARCH_SUPPORTS_UPROBES=y
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
CONFIG_IRQ_WORK=y CONFIG_IRQ_WORK=y
@ -490,10 +490,10 @@ CONFIG_CAVIUM_ERRATUM_27456=y
CONFIG_QCOM_FALKOR_ERRATUM_1003=y CONFIG_QCOM_FALKOR_ERRATUM_1003=y
CONFIG_QCOM_FALKOR_ERRATUM_1009=y CONFIG_QCOM_FALKOR_ERRATUM_1009=y
CONFIG_QCOM_QDF2400_ERRATUM_0065=y CONFIG_QCOM_QDF2400_ERRATUM_0065=y
# CONFIG_ARM64_4K_PAGES is not set CONFIG_ARM64_4K_PAGES=y
# CONFIG_ARM64_16K_PAGES is not set # CONFIG_ARM64_16K_PAGES is not set
CONFIG_ARM64_64K_PAGES=y # CONFIG_ARM64_64K_PAGES is not set
# CONFIG_ARM64_VA_BITS_42 is not set # CONFIG_ARM64_VA_BITS_39 is not set
CONFIG_ARM64_VA_BITS_48=y CONFIG_ARM64_VA_BITS_48=y
CONFIG_ARM64_VA_BITS=48 CONFIG_ARM64_VA_BITS=48
# CONFIG_CPU_BIG_ENDIAN is not set # CONFIG_CPU_BIG_ENDIAN is not set
@ -519,6 +519,7 @@ CONFIG_ARCH_SELECT_MEMORY_MODEL=y
CONFIG_HAVE_ARCH_PFN_VALID=y CONFIG_HAVE_ARCH_PFN_VALID=y
CONFIG_HW_PERF_EVENTS=y CONFIG_HW_PERF_EVENTS=y
CONFIG_SYS_SUPPORTS_HUGETLBFS=y CONFIG_SYS_SUPPORTS_HUGETLBFS=y
CONFIG_ARCH_WANT_HUGE_PMD_SHARE=y
CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y
CONFIG_SELECT_MEMORY_MODEL=y CONFIG_SELECT_MEMORY_MODEL=y
CONFIG_SPARSEMEM_MANUAL=y CONFIG_SPARSEMEM_MANUAL=y
@ -2816,6 +2817,7 @@ CONFIG_IEEE802154_FAKELB=m
CONFIG_IEEE802154_ATUSB=m CONFIG_IEEE802154_ATUSB=m
# CONFIG_IEEE802154_ADF7242 is not set # CONFIG_IEEE802154_ADF7242 is not set
# CONFIG_IEEE802154_CA8210 is not set # CONFIG_IEEE802154_CA8210 is not set
# CONFIG_VMXNET3 is not set
# CONFIG_FUJITSU_ES is not set # CONFIG_FUJITSU_ES is not set
# CONFIG_ISDN is not set # CONFIG_ISDN is not set
# CONFIG_NVM is not set # CONFIG_NVM is not set
@ -6935,6 +6937,7 @@ CONFIG_MTK_EFUSE=m
CONFIG_QCOM_QFPROM=m CONFIG_QCOM_QFPROM=m
CONFIG_ROCKCHIP_EFUSE=m CONFIG_ROCKCHIP_EFUSE=m
CONFIG_NVMEM_SUNXI_SID=m CONFIG_NVMEM_SUNXI_SID=m
CONFIG_MESON_EFUSE=m
# CONFIG_STM is not set # CONFIG_STM is not set
# CONFIG_INTEL_TH is not set # CONFIG_INTEL_TH is not set
@ -6980,6 +6983,7 @@ CONFIG_EFI_BOOTLOADER_CONTROL=y
# CONFIG_EFI_CAPSULE_LOADER is not set # CONFIG_EFI_CAPSULE_LOADER is not set
# CONFIG_EFI_TEST is not set # CONFIG_EFI_TEST is not set
# CONFIG_EFI_DEV_PATH_PARSER is not set # CONFIG_EFI_DEV_PATH_PARSER is not set
CONFIG_MESON_SM=y
# #
# Tegra firmware driver # Tegra firmware driver

View file

@ -2,7 +2,7 @@
# arg 2: the old package version # arg 2: the old package version
KERNEL_NAME=-aarch64 KERNEL_NAME=-aarch64
KERNEL_VERSION=4.3.0-1-ARCH KERNEL_VERSION=4.12.5-1-ARCH
post_install () { post_install () {
# updating module dependencies # updating module dependencies
@ -20,8 +20,6 @@ post_upgrade() {
# updating module dependencies # updating module dependencies
echo ">>> Updating module dependencies. Please wait ..." echo ">>> Updating module dependencies. Please wait ..."
depmod ${KERNEL_VERSION} depmod ${KERNEL_VERSION}
echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..."
mkinitcpio -p linux${KERNEL_NAME}
} }
post_remove() { post_remove() {