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
  • Loading branch information
donald committed Dec 15, 2017
1 parent 6de99c7 commit 4f64e4e
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
Expand Up @@ -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 $@
Expand Down

0 comments on commit 4f64e4e

Please sign in to comment.