Skip to content

Commit

Permalink
fix extra folder not found - rpm build
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDuartePT committed Aug 27, 2023
1 parent a55beb7 commit d8b8dd5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deploy/build_deb_rpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ cd ${BUILD_DIR}
mkdir -p rpmbuild/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS}
cp ${REPODIR}/deploy/lenovolegionlinux.spec rpmbuild/SPECS
cp -r ${REPODIR}/python/legion_linux python-lenovolegionlinux-1.0.0
rm -r python-lenovolegionlinux-1.0.0/legion_linux/extra && cp -r ${REPODIR}/extra python-lenovolegionlinux-1.0.0/legion_linux/extra
tar --create --file python-lenovolegionlinux-1.0.0.tar.gz python-lenovolegionlinux-1.0.0 && rm --recursive python-lenovolegionlinux-1.0.0
mv python-lenovolegionlinux-1.0.0.tar.gz rpmbuild/SOURCES
cd rpmbuild
Expand Down

0 comments on commit d8b8dd5

Please sign in to comment.