From 9dd9e1d7063718ad767579b39e5b6e22274dbff6 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Mon, 15 Aug 2016 17:47:27 +0200 Subject: [PATCH] linux: Add version 4.8-rc2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Announcement for Linux 4.8-rc1 [1]: > It's been two weeks, and the merge window for 4.8 is thus closed. > > Due to travel last week, I actually still have a few pull requests > pending in my inbox that I just wanted to take another look at before > merging, but the large bulk of the merge window material has been > merged, and I wanted to make sure there aren't any new ones coming in. > > This seems to be building up to be one of the bigger releases lately, > but let's see how it all ends up. The merge window has been fairly > normal, although the patch itself looks somewhat unusual: over 20% of > the patch is documentation updates, due to conversion of the drm and > media documentation from docbook to the Sphinx doc format. There are > other doc updates, but that's the big bulk of it. > > If you ignore the documentation format change, things look fairly > regular, with about 60% of the non-documentation diffs being drivers > (gpu, networking, media, sound, etc) and about 15% being arch updates > (arm, powerpc and x86 dominate, but there's mips and s390 too). > > The rest is spread out - core networking, tooling (mainly perf), > include files, core kernel, vfs and low-level filesystems (xfs stands > out). Few areas escaped: > > 10787 files changed, 612208 insertions(+), 272098 deletions(-) > > Go out and test. The diffs and logs are too big to post, so as usual > for rc1, I'm just appending my "merge log" for a very high-level view. Announcement for Linux 4.8-rc2 [2]. While at it, select `EARLY_PRINTK_DBGP` as an alternative to the serial port to get Linux kernel messages [3]. ``` $ diff -u /boot/config-4.7.0.mx64.94 /boot/config-4.8.0-rc2.mx64.95 […] -# CONFIG_EARLY_PRINTK_DBGP is not set +CONFIG_EARLY_PRINTK_DBGP=y […] ``` [1] https://lkml.org/lkml/2016/8/7/93 [2] https://lkml.org/lkml/2016/8/14/874 [3] https://www.kernel.org/doc/Documentation/x86/earlyprintk.txt --- linux-4.8_rc2-95.bee | 73 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100755 linux-4.8_rc2-95.bee diff --git a/linux-4.8_rc2-95.bee b/linux-4.8_rc2-95.bee new file mode 100755 index 000000000..9dea21157 --- /dev/null +++ b/linux-4.8_rc2-95.bee @@ -0,0 +1,73 @@ +#!/bin/env beesh + +# note: CONFIG=/boot/config-WHATEVER BEE_MAKEFLAGS='-j 40' ./linux-xxx.bee + +KERNELVERSION=4.8.0-rc2 + +echo $KERNELVERSION + +SRCURL[0]="https://cdn.kernel.org/pub/linux/kernel/v4.x/testing/linux-4.8-rc2.tar.xz" + +# EXCLUDE="" + +#CONFIG= + +KERNELLOCAL=".mx64.95" +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} +}