mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-23 18:14:54 +08:00
name change to lts for linux-lts, update to 3.0.35
This commit is contained in:
parent
270b050a7e
commit
e49b445e45
@ -1,15 +1,14 @@
|
||||
#
|
||||
# Core Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||
# maintainer abveritas@chakra-project.org
|
||||
|
||||
pkgbase="linux-lts"
|
||||
pkgname=('linux-lts' 'linux-lts-headers' 'linux-lts-docs') # Build stock -CHAKRA-LTS kernel
|
||||
# pkgname=linux-custom # Build kernel with a different name
|
||||
_kernelname=${pkgname#linux-lts}
|
||||
_kernelname=${pkgname#linux}
|
||||
_basekernel=3.0
|
||||
pkgver=${_basekernel}.34
|
||||
pkgver=${_basekernel}.35
|
||||
pkgrel=1
|
||||
makedepends=('xmlto' 'docbook-xsl')
|
||||
arch=(i686 x86_64)
|
||||
@ -34,9 +33,9 @@ source=("ftp://ftp.kernel.org/pub/linux/kernel/v3.0/linux-$_basekernel.tar.bz2"
|
||||
'i915-fix-ghost-tv-output.patch'
|
||||
'ext4-options.patch')
|
||||
md5sums=('398e95866794def22b12dfbc15ce89c0'
|
||||
'080b631fcdcb8fc1aea5ecf17c44d6a6'
|
||||
'78383062c45a0aaf1e733ee16115bd75'
|
||||
'eb3a80c9bd76e7c1f281bfbc0943dce3'
|
||||
'94b6dc172a30b3803bc6740fcd6e1dab'
|
||||
'a881cd59474ed54c0582b15480b8f63a'
|
||||
'f441ad868946ca2f34e739e5649985da'
|
||||
'821e1112493f187dc70df9412e61f324'
|
||||
'b9248a75a3fe415a18d4730887daa339'
|
||||
'798336f60f73b1fb63331225b9c9c971'
|
||||
|
@ -61,7 +61,7 @@ CONFIG_IRQ_WORK=y
|
||||
CONFIG_EXPERIMENTAL=y
|
||||
CONFIG_INIT_ENV_ARG_LIMIT=32
|
||||
CONFIG_CROSS_COMPILE=""
|
||||
CONFIG_LOCALVERSION="-CHAKRA-lts"
|
||||
CONFIG_LOCALVERSION="-lts"
|
||||
CONFIG_LOCALVERSION_AUTO=y
|
||||
CONFIG_HAVE_KERNEL_GZIP=y
|
||||
CONFIG_HAVE_KERNEL_BZIP2=y
|
||||
|
@ -62,7 +62,7 @@ CONFIG_IRQ_WORK=y
|
||||
CONFIG_EXPERIMENTAL=y
|
||||
CONFIG_INIT_ENV_ARG_LIMIT=32
|
||||
CONFIG_CROSS_COMPILE=""
|
||||
CONFIG_LOCALVERSION="-CHAKRA-lts"
|
||||
CONFIG_LOCALVERSION="-lts"
|
||||
CONFIG_LOCALVERSION_AUTO=y
|
||||
CONFIG_HAVE_KERNEL_GZIP=y
|
||||
CONFIG_HAVE_KERNEL_BZIP2=y
|
||||
|
@ -1,31 +1,22 @@
|
||||
# arg 1: the new package version
|
||||
# arg 2: the old package version
|
||||
|
||||
KERNEL_NAME=
|
||||
KERNEL_VERSION=3.0.34-1-CHAKRA-lts
|
||||
|
||||
# set a sane PATH to ensure that critical utils like depmod will be found
|
||||
export PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
|
||||
KERNEL_NAME=-lts
|
||||
KERNEL_VERSION=3.0.35-1-lts
|
||||
|
||||
post_install () {
|
||||
# updating module dependencies
|
||||
echo ">>> Updating module dependencies. Please wait ..."
|
||||
depmod ${KERNEL_VERSION}
|
||||
echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..."
|
||||
mkinitcpio -p linux${KERNEL_NAME}
|
||||
mkinitcpio -p linux-${KERNEL_NAME}
|
||||
|
||||
# compat symlinks for the official kernels only
|
||||
if [ -z "${KERNEL_NAME}" -o "${KERNEL_NAME}" = "-lts" ]; then
|
||||
loaders="$(find /boot -name syslinux.cfg -or -name extlinux.conf -or -name grub.cfg -or -name menu.lst)"
|
||||
[ -f /etc/lilo.conf ] && loaders="$loaders /etc/lilo.conf"
|
||||
if [ -n "${loaders}" ] && grep -q -e vmlinuz26 -e kernel26.img -e kernel26-fallback.img $loaders; then
|
||||
# add compat symlinks for the initramfs images
|
||||
ln -sf initramfs-linux${KERNEL_NAME}.img boot/kernel26${KERNEL_NAME}.img
|
||||
ln -sf initramfs-linux${KERNEL_NAME}-fallback.img \
|
||||
boot/kernel26${KERNEL_NAME}-fallback.img
|
||||
ln -sf vmlinuz-linux${KERNEL_NAME} /boot/vmlinuz26${KERNEL_NAME}
|
||||
fi
|
||||
fi
|
||||
|
||||
# add compat symlinks for the initramfs images
|
||||
ln -sf initramfs-linux${KERNEL_NAME}.img boot/kernel26${KERNEL_NAME}.img
|
||||
ln -sf initramfs-linux${KERNEL_NAME}-fallback.img \
|
||||
boot/kernel26${KERNEL_NAME}-fallback.img
|
||||
ln -sf vmlinuz-linux${KERNEL_NAME} /boot/vmlinuz26${KERNEL_NAME}
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
|
Loading…
Reference in New Issue
Block a user