Skip to content
Success

Changes

Summary

  1. scripts/kernel-test: do shallow fetch (details)
  2. kernel-test/kernel-build: update net-next branch (details)
  3. jenkins-common: fix_perms: chown files too (details)
  4. scripts/kernel-test: put mknod commands in init.sh (details)
  5. scripts/kernel-test: build initrd+kernel as user (details)
Commit ad154fc5654d4d5a4ec8ca676c23426fd35d0852 by Oliver Smith
scripts/kernel-test: do shallow fetch

Instead of fetching the entire history, only fetch the most recent
commit.

Change-Id: I92d90c1451ff6abff2df3b1318b5194880e77f2e
The file was modifiedscripts/kernel-test/kernel-build.sh
Commit c1056236b5b504bdc27be8088f503adfda9467b3 by Oliver Smith
kernel-test/kernel-build: update net-next branch

The branch of net-next is now called main. Update the default
KERNEL_BRANCH to main, as the default KERNEL_URL points to net-next.git.

Related: https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/
Change-Id: Ic4b13c3cbc0933db9d520e6d737c45b6b08e8c48
The file was modifiedscripts/kernel-test/kernel-build.sh
The file was modifiedREADME.md
Commit 363e268cdcd3e7409f80ac1b9a8e6a78ff1c0ad1 by Oliver Smith
jenkins-common: fix_perms: chown files too

Ensure the user that runs docker owns files in cache and data dirs
during fix_perms, if an old job created them as root.

Change-Id: I43af48bd87e27abad5ad52e734256d78651f67c3
The file was modifiedjenkins-common.sh
Commit 10e6a00476d7b4d9f118c34ddfffd9efb7825b6f by Oliver Smith
scripts/kernel-test: put mknod commands in init.sh

Prepare to run the preparation without root rights.

Change-Id: I07648f058ca55515ffc7396598147a03dcfe7976
The file was modifiedscripts/kernel-test/initrd-init.sh
The file was modifiedscripts/kernel-test/initrd-build.sh
Commit 5a48bfbe24e3809699a22445c07c9da3d37322ff by Oliver Smith
scripts/kernel-test: build initrd+kernel as user

Refactor code to build the initramfs and kernel as user, instead of
running related code as root. Put the smoke_test.log into /tmp instead
of the cache dir, so we don't write as root into the cache dir. We cat
it on error anyway, so we don't need to have it in the workspace.

Change-Id: I1670dd86f2670f42eb99e4527d483965d8222402
The file was modifiedscripts/kernel-test/prepare.sh
The file was modifiedjenkins-common.sh
The file was addedscripts/kernel-test/smoke-test.sh