Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.github: add new step "incremental build" #90

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,13 @@ jobs:
ndctl='${{ github.workspace }}'/ndctl \
../run_qemu/run_qemu.sh -v --no-run ${{ matrix.run_opts }}

# Test update_existing_rootfs(), default value for distro= and various other things
- name: incremental build
run: |
set -x
cd kernel
../run_qemu/run_qemu.sh -v --no-run ${{ matrix.run_opts }}

- name: ccache stats post build
run: |
# Pre-build stats printed at the start of the build step
Expand Down
4 changes: 2 additions & 2 deletions run_qemu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -852,11 +852,11 @@ setup_depmod()
fi
if [ ! -f "$system_map" ]; then
echo "not found: $system_map. Try rebuilding with '-r img'"
return 1
# return 1
fi
: Warning: symlinks created by this depmod do not survive the move
: to the virtual machine
sudo depmod -b "$prefix" -F "$system_map" -C "$depmod_dir" "$kver"
sudo depmod -b "$prefix" -C "$depmod_dir" "$kver"
}

__update_existing_rootfs()
Expand Down