Skip to content

Commit 3b4d75f

Browse files
authored
Merge branch 'feature/secret-hiding' into frequency-passthrough
2 parents 67b36b8 + e0fb116 commit 3b4d75f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

resources/hiding_ci/build_and_install_kernel.sh

+11
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,15 @@ apply_patch_or_series() {
9090
esac
9191
}
9292

93+
check_new_config() {
94+
if [[ -e "/boot/config-$KERNEL_VERSION" ]]; then
95+
return 0;
96+
fi
97+
98+
echo "Storing new config in /boot/config-$KERNEL_VERSION"
99+
cp .config /boot/config-$KERNEL_VERSION
100+
}
101+
93102
check_override_presence() {
94103
while IFS= read -r line; do
95104
if ! grep -Fq "$line" .config; then
@@ -209,6 +218,8 @@ make INSTALL_MOD_STRIP=1 install
209218

210219
update_boot_config
211220

221+
check_new_config
222+
212223
echo "Kernel built and installed successfully!"
213224

214225
tidy_up

0 commit comments

Comments
 (0)