linux: also move System.map according to pkg version

This commit is contained in:
Muhammad Herdiansyah 2019-07-19 15:07:42 +07:00
parent e9dd75b42e
commit 8054bbef7e
1 changed files with 2 additions and 1 deletions

View File

@ -17,5 +17,6 @@ make \
INSTALL_MOD_PATH="$1/usr" \
install
# Rename 'vmlinuz' according to package version.
# Rename 'vmlinuz' and 'System.map" according to package version.
mv "$1/boot/vmlinuz" "$1/boot/vmlinuz-$version" || :
mv "$1/boot/System.map" "$1/boot/System.map-$version" || :