make-release: add skiboot .version file
authorMichael Roth <mdroth@linux.vnet.ibm.com>
Fri, 9 Nov 2018 16:13:52 +0000 (10:13 -0600)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 15 Nov 2018 13:03:57 +0000 (13:03 +0000)
This is needed to build skiboot from tarball-distributed sources
since the git data the make_release.sh script relies on to generate
it is not available.

Cc: qemu-stable@nongnu.org
Reported-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20181109161352.29873-1-mdroth@linux.vnet.ibm.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
scripts/make-release

index 04fa9defdc1d2cfbca681a88c3a4beb1b2042f35..c14f75b12c8b20cb176b13ea84553140863e97c2 100755 (executable)
@@ -19,6 +19,7 @@ pushd ${destination}
 git checkout "v${version}"
 git submodule update --init
 (cd roms/seabios && git describe --tags --long --dirty > .version)
+(cd roms/skiboot && ./make_version.sh > .version)
 # FIXME: The following line is a workaround for avoiding filename collisions
 # when unpacking u-boot sources on case-insensitive filesystems. Once we
 # update to something with u-boot commit 610eec7f0 we can drop this line.