diff --git a/scripts/build-common b/scripts/build-common index 28a4462..79b4dbb 100644 --- a/scripts/build-common +++ b/scripts/build-common @@ -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 diff --git a/scripts/release b/scripts/release index 69c02b3..7359435 100755 --- a/scripts/release +++ b/scripts/release @@ -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