diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-07-08 00:47:24 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-07-08 00:47:24 (EDT) |
commit | 15d9adb034e3197f681eb91b56c7ce4a7907c286 (patch) | |
tree | d3a328da0435cffc0d6efb1dd35db61e5d6cc91f /build | |
parent | ee1cc89c2a231627d8f9fe54e358b73e68a1295e (diff) |
build: Add package revision to Linux release version
Will show up in `uname -r`, etc.
Diffstat (limited to 'build')
-rwxr-xr-x | build | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -13,6 +13,8 @@ menuconfig: build: set -e; \ if [ 'x$(OPK_HOST_PLAT)' != 'xdev' ]; then \ + printf '%s\n' '$(OPK_SOURCE_VERSION)' | sed 's/^.*-/-/;' \ + 1>src/localversion; \ read img_src img_dest <image; \ oh-autobuild -T "$${img_src}" -- -j "$${JOBS:-1}"; \ fi |