mirror of
https://github.com/rancher/os-kernel.git
synced 2025-09-15 22:38:14 +00:00
Add support for patched kernels and publish the source that was built
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
@@ -7,6 +7,7 @@ mv build.log dist/
|
||||
|
||||
echo
|
||||
echo "--- ${KERNEL_VERSION} Kernel prepared for RancherOS"
|
||||
echo " ./dist/kernel/linux-${KERNEL_VERSION}-src.tgz"
|
||||
echo " ./dist/kernel/extra-linux-${KERNEL_VERSION}-x86.tar.gz"
|
||||
echo " ./dist/kernel/build-linux-${KERNEL_VERSION}-x86.tar.gz"
|
||||
echo " ./dist/kernel/linux-${KERNEL_VERSION}-x86.tar.gz"
|
||||
@@ -20,6 +21,7 @@ echo "to publish kernel files and container images, run dist/publish.sh"
|
||||
|
||||
echo "#!/bin/sh"> dist/publish.sh
|
||||
echo "github-release release --user rancher --repo os-kernel --tag v${KERNEL_VERSION} --pre-release" >> dist/publish.sh
|
||||
echo "github-release upload --user rancher --repo os-kernel --tag v${KERNEL_VERSION} --file ./dist/kernel/linux-${KERNEL_VERSION}-src.tgz --name linux-${KERNEL_VERSION}-src.tgz" >> dist/publish.sh
|
||||
echo "github-release upload --user rancher --repo os-kernel --tag v${KERNEL_VERSION} --file ./dist/kernel/build-linux-${KERNEL_VERSION}-x86.tar.gz --name build-linux-${KERNEL_VERSION}-x86.tar.gz" >> dist/publish.sh
|
||||
echo "github-release upload --user rancher --repo os-kernel --tag v${KERNEL_VERSION} --file ./dist/kernel/config --name config" >> dist/publish.sh
|
||||
echo "github-release upload --user rancher --repo os-kernel --tag v${KERNEL_VERSION} --file ./dist/kernel/extra-linux-${KERNEL_VERSION}-x86.tar.gz --name extra-linux-${KERNEL_VERSION}-x86.tar.gz" >> dist/publish.sh
|
||||
|
Reference in New Issue
Block a user