diff options
| author | Michael Roth <michael.roth@amd.com> | 2022-02-09 18:36:18 -0600 |
|---|---|---|
| committer | Michael Roth <michael.roth@amd.com> | 2022-02-09 18:41:32 -0600 |
| commit | 80ae9f428aa83eb9ba8ac38c533301ff2b71e2b2 (patch) | |
| tree | 38065a51f7f57afaa884a565915a6f5982f91c61 /common.sh | |
| parent | 7257c56a81c81020513925721a97fa8731730e53 (diff) | |
| download | cachepc-amdsev-80ae9f428aa83eb9ba8ac38c533301ff2b71e2b2.tar.gz cachepc-amdsev-80ae9f428aa83eb9ba8ac38c533301ff2b71e2b2.zip | |
common.sh: include specific git commit in kernel's LOCALVERSION
Diffstat (limited to 'common.sh')
| -rwxr-xr-x | common.sh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -43,8 +43,9 @@ build_kernel() run_cmd $MAKE distclean pushd ${V} >/dev/null + COMMIT=$(git log --format="%h" HEAD~1..HEAD) run_cmd "cp /boot/config-$(uname -r) .config" - run_cmd ./scripts/config --set-str LOCALVERSION "$VER" + run_cmd ./scripts/config --set-str LOCALVERSION "$VER-$COMMIT" run_cmd ./scripts/config --disable LOCALVERSION_AUTO run_cmd ./scripts/config --disable CONFIG_DEBUG_INFO run_cmd ./scripts/config --enable CONFIG_AMD_MEM_ENCRYPT |
