Skip to content

Commit

Permalink
linux: Add missed bee file linux-6.1.39-450.bee
Browse files Browse the repository at this point in the history
It looks like, I used `mv` and not `git mv`. So add the missing file
fixing merge/pull request
#2929.

Reported-by: Peter
Fixes: 3602519 ("linux: Update version from 6.1.7-446 to 6.1.39-450")
  • Loading branch information
pmenzel committed Aug 25, 2023
1 parent dddd9b7 commit bc161b5
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions linux-6.1.39-450.bee
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
#!/bin/env beesh

# note: BEE_MAKEFLAGS="-j $(nproc)" ./linux-xxx.bee

KERNELVERSION=${PKGVERSION}

# append extra version to get for example 4.8-rc4
KERNELVERSION=${KERNELVERSION}${PKGEXTRAVERSION_DASH}

echo $KERNELVERSION

SRCURL[0]="https://github.molgen.mpg.de/mariux64/linux/archive/refs/tags/mariux-$KERNELVERSION-$PKGREVISION.tar.gz"
#SRCURL[0]="https://beehive.molgen.mpg.de/db13f8c9b17b0be4a4b7a2294efaea0c/mariux-6.1.39-450.tar.gz"

KERNELLOCAL=".mx64.${PKGREVISION}"
FULLKERNELVERSION="${KERNELVERSION}${KERNELLOCAL}"

B=${S}

same_revision_files=$(ls ${BEE_PKGDIR}/linux-[0-9].[0-9]*-${PKGREVISION}.x86_64.bee.* 2>/dev/null) \
&& echo "A kernel with revision ${PKGREVISION} has already been build: $same_revision_files" \
&& exit

mee_patch() {
echo "PATCH $@"
bee_patch $@
}

mee_configure() {
echo "configure $@"
echo "CONFIG_LOCALVERSION=\"$KERNELLOCAL\"" > .config
grep -v 'CONFIG_LOCALVERSION=' config-mpi >> .config
make olddefconfig
}

mee_build() {
echo "build $@"
make ${BEE_MAKEFLAGS}
}

mee_install() {
echo "install $@"

make modules_install INSTALL_MOD_PATH=${D}
make install INSTALL_PATH=${D}/boot

rm -v ${D}/lib/modules/${FULLKERNELVERSION}/{source,build}

ln -sv bzImage-${FULLKERNELVERSION} ${D}/boot/mariux.${PKGREVISION}
}

0 comments on commit bc161b5

Please sign in to comment.