Skip to content

Commit

Permalink
copy the vanilla kernel image to the target dir
Browse files Browse the repository at this point in the history
I find it hard to use the vanilla kernel binary directly from
${VANILLA_LINUX_KERNEL}. Adding a target in the Makefile for the
vanilla kernel would make our client's scripts easier to maintain.

Change-Id: I1fa3931beb25a0d3199017d01388f195884ea4e4
  • Loading branch information
dingelish committed Jun 14, 2024
1 parent 36a2adf commit adc4e15
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions oak_containers_kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,10 @@ target/bzImage:
# Log digest of kernel in order to detect non reproducibility.
sha256sum target/bzImage

target/vanilla_bzImage:
mkdir --parents target
cp $${VANILLA_LINUX_KERNEL}/bzImage target/vanilla_bzImage
sha256sum target/vanilla_bzImage

clean:
rm --recursive --force target

0 comments on commit adc4e15

Please sign in to comment.