]> xenbits.xensource.com Git - people/wipawel/livepatch-build-tools/commit
livepatch-build: Do not follow every symlink for patch file
authorPawel Wieczorkiewicz <wipawel@amazon.de>
Tue, 25 Sep 2018 12:41:45 +0000 (12:41 +0000)
committerPawel Wieczorkiewicz <wipawel@amazon.de>
Tue, 6 Aug 2019 12:51:21 +0000 (12:51 +0000)
commit291f6da0b557bb1adf5bca000b8d00d70c6e4ef7
tree83e0a726e9448656f86ffd7cbdc1dc928e0b6576
parent0f84ede65f2ec3dea8ca8aa7e9489dcb6463b645
livepatch-build: Do not follow every symlink for patch file

In some build systems symlinks might be used for patch file names
to point from target directories to actual patches. Following those
symlinks breaks naming convention as the resulting built modules
would be named after the actual hardlink insteads of the symlink.

Livepatch-build obtains hotpatch name from the patch file, so it
should not canonicalize the file path resolving all the symlinks to
not lose the original symlink name.

Signed-off-by: Pawel Wieczorkiewicz <wipawel@amazon.de>
Reviewed-by: Martin Pohlack <mpohlack@amazon.de>
Reviewed-by: Bjoern Doebel <doebel@amazon.de>
Reviewed-by: Norbert Manthey <nmanthey@amazon.de>
livepatch-build