Skip to content

Commit

Permalink
linux: Add version 4.6.4
Browse files Browse the repository at this point in the history
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
  • Loading branch information
pmenzel committed Jul 12, 2016
1 parent 2cf35bd commit 5008b1f
Showing 1 changed file with 76 additions and 0 deletions.
76 changes: 76 additions & 0 deletions linux-4.6.4-93.bee
Original file line number Diff line number Diff line change
@@ -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}
}

0 comments on commit 5008b1f

Please sign in to comment.