Skip to content

Commit

Permalink
linux: Add stable version 4.8.12
Browse files Browse the repository at this point in the history
Do as Greg says [1]:

> All users of the 4.8 kernel series must upgrade.

Changes for Linux 4.8.12 [2][3]:

> A few moments ago, Greg Kroah-Hartman announced the release of the
> twelfth maintenance update of the Linux 4.8 kernel series, as well as
> the availability of Linux kernel 4.4.36 LTS.
>
> Only five days have passed since the release of Linux kernel 4.8.11,
> which most GNU/Linux distributions that are using the latest and most
> advanced Linux 4.8 branch did not even receive, as is the case of Solus
> and openSUSE Tumbleweed, and Linux kernel 4.8.12 is already here, which
> means that OS maintainers need to re-compile the new version, tweak it
> for their supported architectures, and push it to the repos.
>
> However, according to the appended shortlog and the diff since Linux
> kernel 4.8.11, it looks like Linux kernel 4.8.12 changes a total of 52
> files, with 390 insertions and 204 deletions, which means that it's not
> a major update. There are mostly architecture improvements for PA-RISC,
> PowerPC (PPC), Tile, and x86, updated drivers, and a few networking
> changes.
>
> "I'm announcing the release of the 4.8.12 kernel. All users of the 4.8
> kernel series must upgrade," said Greg Kroah-Hartman. "The updated 4.8.y
> git tree can be found at:
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
> linux-4.8.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."
>
> "Users of the Linux 4.8 kernel series are urged to update"
>
> DAX, IOMMU, MMC, SCSI, Intel PowerClamp Thermal, and USB are among the
> updated drivers included in the Linux 4.8.12 kernel release. The
> array-bounds warning has been hidden for the NFS file system, and the
> networking stack was updated with a couple of wireless improvements. It
> looks like there's also an AppArmor change for improved security, a few
> KVM (Kernel-based Virtual Machine) changes, and a mm fix.
>
> If you're using a GNU/Linux distribution powered by a kernel from the
> Linux 4.8 series, you are urged to update to today's Linux kernel 4.8.12
> point release as soon as possible, or more precisely as soon as it lands
> in the stable repositories of your favorite operating system. OS vendors
> and power users can download the Linux 4.8.12 kernel source archive
> right now from kernel.org or via our website.

[1] https://lwn.net/Articles/708004/
[2] http://news.softpedia.com/news/linux-kernel-4-8-12-released-brings-pa-risc-powerpc-and-x86-improvements-510685.shtml
[3] https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.8.12
  • Loading branch information
pmenzel committed Dec 6, 2016
1 parent 9b322be commit 6acab58
Showing 1 changed file with 79 additions and 0 deletions.
79 changes: 79 additions & 0 deletions linux-4.8.12-127.bee
Original file line number Diff line number Diff line change
@@ -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}
}

0 comments on commit 6acab58

Please sign in to comment.