Skip to content

Commit

Permalink
linux-4.9.68: Check for existing revision number
Browse files Browse the repository at this point in the history
We want our kernel revision numbers to be unique over all linux
kernel packages. Avoid conflicts by doing a quick check against
the available bee files.

Patch by Thomas Kreitler
donald committed Dec 19, 2017
1 parent 16c1f90 commit 82d52fd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions linux-4.9.68-193.bee
Original file line number Diff line number Diff line change
@@ -25,6 +25,9 @@ FULLKERNELVERSION="${KERNELVERSION}${KERNELLOCAL}"

B=${S}

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." && exit

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

0 comments on commit 82d52fd

Please sign in to comment.