From 5008b1fcda5928a15d534014ee7a0a9f976e3c84 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Tue, 12 Jul 2016 11:40:49 +0200 Subject: [PATCH] linux: Add version 4.6.4 From Greg KH [1]: > All users of the 4.6 kernel series must upgrade. Change-log [2][3]: > "Networking stack improvements, updated drivers" > > Yes, Linux kernel 4.6.4 is here, and it's the latest and most advanced > kernel version for GNU/Linux operating systems, but looking at the > appended shortlog we can notice very few improvements. Besides the usual > updated drivers, this time for things like crypto and USB, there are > only networking stack improvements, for the AX.25 data link layer > protocol, the IPv6 and IPv4 protocols, kernel connection multiplexer > (KCM), bridge, and the packet scheduler. > > In numbers, there are only 36 changed files, with 216 insertions and 98 > deletions, so yes, this is one of the smallest updates for the Linux 4.6 > kernel series so far. However, this does not mean you don't need to > update your system as soon as it lands in the main software repositories > of your GNU/Linux distribution. OS vendors can download the Linux kernel > 4.6.4 sources right now via our website or from kernel.org. [1] https://lkml.org/lkml/2016/7/11/545 [2] https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.6.4 [3] http://news.softpedia.com/news/linux-kernel-4-6-4-released-with-networking-improvements-and-updated-drivers-506203.shtml --- linux-4.6.4-93.bee | 76 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100755 linux-4.6.4-93.bee diff --git a/linux-4.6.4-93.bee b/linux-4.6.4-93.bee new file mode 100755 index 000000000..93a6fd876 --- /dev/null +++ b/linux-4.6.4-93.bee @@ -0,0 +1,76 @@ +#!/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 + +echo $KERNELVERSION + +SRCURL[0]="https://www.kernel.org/pub/linux/kernel/v${PKGVERSION[1]}.x/linux-${PKGVERSION}.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} +}