Skip to content

Commit

Permalink
linux: Add release candidate version 4.9-rc5
Browse files Browse the repository at this point in the history
Announcement for Linux 4.9-rc5 [1]:

> Back to my Sunday schedule, things look fairly normal. Calm first part
> of the week, with most fixes coming in towards the end.. I'm used to
> it by now.
>
> Things have definitely gotten smaller, so a normal release schedule
> (with rc7 being the last one) is still looking possibel despite the
> large size of 4.9. But let's see how things work out over the next
> couple of weeks. In the meantime, there's a lot of normal fixes in
> here, and we just need more testing.
>
> The stats for rc5 look extremely boring (which is a good thing). Two
> thirds driver updates, 10% arch updates, 10% filesystems, the rest
> "misc". Nothing really stands out, with the possible exception of the
> re-enablement of "-Wmaybe-uninitialized" again after Arnd fixed it all
> up.
>
> So go out and test,
>
>             Linus
  • Loading branch information
pmenzel committed Nov 14, 2016
1 parent 0a430bd commit 3e84369
Showing 1 changed file with 79 additions and 0 deletions.
79 changes: 79 additions & 0 deletions linux-4.9_rc5-118.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/testing/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 3e84369

Please sign in to comment.