Skip to content

Commit

Permalink
buildtar: Add ARCH to the archive name
Browse files Browse the repository at this point in the history
When dealing with multiple sub-arches (like 32- and 64-bit on x86, for
example) generating a bunch of kernel tar archives with the same name
but for different sub-arches could get confusing and error-prone. Also,
the build process could overwrite otherwise unrelated builds and you
probably don't want that. So, add the architecture to the archive name
for more clarity and less shoot-yourself-in-the-foot practices.

Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Michal Marek <mmarek@suse.cz>
  • Loading branch information
Borislav Petkov authored and Michal Marek committed Apr 8, 2013
1 parent bad6a40 commit 6bc6c94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/package/buildtar
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ set -e
# Some variables and settings used throughout the script
#
tmpdir="${objtree}/tar-install"
tarball="${objtree}/linux-${KERNELRELEASE}.tar"
tarball="${objtree}/linux-${KERNELRELEASE}-${ARCH}.tar"


#
Expand Down

0 comments on commit 6bc6c94

Please sign in to comment.