2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2026-07-16 10:50:43 +00:00

fix(build-debs-all): stage LICENSE.html for the genesis-base package build

Building the genesis-base deb failed at dh_installdocs because LICENSE.html
could not be found: only the debian/ directory and the source RPM were copied
into the build root, while debian/docs references LICENSE.html. Copy
LICENSE.html into the build root alongside debian/. Also drop the dead
'svn update' call left over from the pre-git build.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
This commit is contained in:
Daniel Hilst
2026-06-24 06:28:48 -03:00
parent 1105af3b8b
commit b5d6466009
+2 -1
View File
@@ -59,6 +59,7 @@ echo "prepare building gensis_base_amd64 as a special case"
#copy the debian_dir and rpm for xcat-genesia-base to the tem directory
mkdir -p $curdir/genesis_tmp/genesis-base-amd64
cp -rL ${1}/debian $curdir/genesis_tmp/genesis-base-amd64
cp -L ${1}/LICENSE.html $curdir/genesis_tmp/genesis-base-amd64
cp ${2} $curdir/genesis_tmp/genesis-base-amd64
cd $curdir
cat << __EOF__ > genesis_tmp/make_deb.sh
@@ -70,7 +71,7 @@ cat << __EOF__ > genesis_tmp/make_deb.sh
__EOF__
#update to the loatest code
svn --quiet update
# svn --quiet update
packages=""
if [ $BUILDPKGS ];then
packages=$BUILDPKGS