mirror of
https://github.com/rancher/os-kernel.git
synced 2025-08-31 20:36:46 +00:00
Add output modules list info
This commit is contained in:
@@ -78,6 +78,7 @@ move_files() {
|
||||
dest=$(readlink -f $j | sed 's!/build/!/'$target'/!')
|
||||
mkdir -p $(dirname $dest)
|
||||
mv -f $j $dest
|
||||
echo $j >> ${DIST}/kernel/modules-${target}.list
|
||||
fi
|
||||
done
|
||||
done
|
||||
@@ -113,7 +114,7 @@ split_tar() {
|
||||
if [ $(find kernel -type f | wc -l) -gt 0 ]; then
|
||||
echo Invalid files in $(pwd)
|
||||
find kernel -type f
|
||||
echo
|
||||
echo
|
||||
echo ERROR: Extra files in $(pwd)
|
||||
echo ERROR: You may need to either remove some modules from your kernel .config, or
|
||||
echo ERROR: add these files to $module_list or $module_extra_list
|
||||
|
@@ -14,6 +14,8 @@ 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"
|
||||
echo " ./dist/kernel/config"
|
||||
echo " ./dist/kernel/modules-main.list"
|
||||
echo " ./dist/kernel/modules-extra.list"
|
||||
echo " ./release.log"
|
||||
echo
|
||||
echo "Images ready to push:"
|
||||
@@ -28,6 +30,8 @@ echo "github-release upload --user rancher --repo os-kernel --tag v${KERNEL_VER
|
||||
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
|
||||
echo "github-release upload --user rancher --repo os-kernel --tag v${KERNEL_VERSION} --file ./dist/kernel/linux-${KERNEL_VERSION}-x86.tar.gz --name 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/modules-main.list --name modules-main.list" >> dist/publish.sh
|
||||
echo "github-release upload --user rancher --repo os-kernel --tag v${KERNEL_VERSION} --file ./dist/kernel/modules-extra.list --name modules-extra.list" >> dist/publish.sh
|
||||
echo "github-release upload --user rancher --repo os-kernel --tag v${KERNEL_VERSION} --file ./release.log --name release.log" >> dist/publish.sh
|
||||
|
||||
cat dist/images | sed 's/^/docker push /' >> dist/publish.sh
|
||||
|
Reference in New Issue
Block a user