From efc9457b78ee52a827cfa1e6849894f3376768d4 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Mon, 27 Feb 2017 11:19:01 +0100 Subject: [PATCH] linux: Add stable version 4.9.13 Do as Greg sayss [1]: > All users of the 4.9 kernel series must upgrade. Changes for Linux 4.9.13 [2][3]: > Immediately after announcing the release of the first maintenance update > to the Linux 4.10 kernel series, renowned kernel maintainer Greg > Kroah-Hartman announced the availability of the Linux 4.9.13 and 4.4.52 > LTS kernels. > > This is a bit unexpected because it's been only three days since the > Linux 4.9.12 and 4.4.51 LTS kernels have been released, so you can > imagine that the changes implemented in today's Linux kernel 4.9.13, > which was finally marked as longterm on kernel.org, and Linux kernel > 4.4.52 LTS are kept to a minimum. According to their appended shortlogs, > a total of 31 files were changed in Linux 4.9.13 LTS, with 365 > insertions and 122 deletions, and 24 files in Linux 4.4.52 LTS, with 218 > insertions and 121 deletions. > > "I'm announcing the release of the 4.9.13 [and 4.4.52] kernel. All users > of the 4.9 [and 4.4.y] kernel series must upgrade. The updated 4.9.y git > tree can be found at: > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git > linux-4.9.y > > and the updated 4.4.y git tree can be found at: > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git > linux-4.4.y, and can be browsed at the normal kernel.org git web > browser: > http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary," > said Greg Kroah-Hartman. > > ### Various networking improvements, updated drivers ### > > Both Linux 4.9.13 and 4.4.52 LTS kernels include a bunch of updated USB > (ark3116, cp210x, mos7840, spcp8x5, opticon, and ftdi_sio), networking > (Realtek rtlwifi, Mellanox mlx5 Ethernet), RTC and TTY drivers. A couple > of small fixes have been implemented for the x86 architecture and XFS > file system, and the networking stack was updated with various Datagram > Congestion Control Protocol (DCCP), IrDA (Infrared Data Association), > kernel connection multiplexer (KCM), Logical Link Control (LLC), and > Netfilter improvements. > > If you're using a GNU/Linux distribution powered by a kernel from the > long-term supported Linux 4.9 or 4.4 series, you are urged to update as > soon as possible to the Linux kernel 4.9.13 LTS or Linux kernel 4.4.52 > LTS, which you can download from the stable repositories of your > operating system when they become available there. OS vendors using > these kernels are also urged to download the source tarballs right now > from kernel.org or via our website and update their systems. [1] https://lkml.org/lkml/2017/2/26/46 [2] http://news.softpedia.com/news/linux-kernels-4-9-13-and-4-4-52-lts-bring-updated-usb-drivers-networking-fixes-513333.shtml [3] https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.13 --- linux-4.9.13-141.bee | 79 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100755 linux-4.9.13-141.bee diff --git a/linux-4.9.13-141.bee b/linux-4.9.13-141.bee new file mode 100755 index 000000000..fc68c0aaa --- /dev/null +++ b/linux-4.9.13-141.bee @@ -0,0 +1,79 @@ +#!/bin/env beesh + +# note: CONFIG=/boot/config-WHATEVER BEE_MAKEFLAGS='-j 40' ./linux-xxx.bee + +KERNELVERSION=${PKGVERSION} +if [ -z "${PKGVERSION[3]}" ] ; then + KERNELVERSION=${KERNELVERSION}.0 +fi + +# append extra version to get for example 4.8.0-rc4 +KERNELVERSION=${KERNELVERSION}${PKGEXTRAVERSION_DASH} + +echo $KERNELVERSION + +SRCURL[0]="https://cdn.kernel.org/pub/linux/kernel/v${PKGVERSION[1]}.x/linux-${PKGVERSION}${PKGEXTRAVERSION_DASH}.tar.xz" + +# EXCLUDE="" + +#CONFIG= + +KERNELLOCAL=".mx64.${PKGREVISION}" +FULLKERNELVERSION="${KERNELVERSION}${KERNELLOCAL}" + +B=${S} + +mee_patch() { + echo "PATCH $@" + bee_patch $@ +} + +mee_configure() { + echo "configure $@" + if [ -e /proc/config.gz ] ; then + zcat /proc/config.gz >config-current + RUNNING=config-current + else + RUNNING=/boot/config-$(uname -r) + fi + + : ${CONFIG:=${RUNNING}} + + if [ ! -e ${CONFIG} ] ; then + echo "can't find config '${CONFIG}'" + exit 1 + fi + + cp -v ${CONFIG} .config + + LOCALVERSION="\"${KERNELLOCAL}\"" + sed -i -e "s@CONFIG_LOCALVERSION=.*@CONFIG_LOCALVERSION=${LOCALVERSION}@" .config + + echo "doing make -C ${S} olddefconfig in ${PWD} .." + + make olddefconfig + + echo "doing make -C ${S} menuconfig in ${PWD} .." + + make menuconfig +} + +mee_build() { + echo "build $@" + make ${BEE_MAKEFLAGS} +} + +mee_install() { + echo "install $@" + + make modules_install INSTALL_MOD_PATH=${D} + make install INSTALL_PATH=${D}/boot +# make firmware_install INSTALL_MOD_PATH=${D} + + rm -v ${D}/lib/modules/${FULLKERNELVERSION}/{source,build} + + ln -sv /usr/src/linux/${PKGALLPKG}/source ${D}/lib/modules/${FULLKERNELVERSION}/source + ln -sv /usr/src/linux/${PKGALLPKG}/build ${D}/lib/modules/${FULLKERNELVERSION}/build + + ln -sv bzImage-${FULLKERNELVERSION} ${D}/boot/mariux.${PKGREVISION} +}