make rpm reports: Building version: 1.0.85-v1.0.85 Creating rpm build dirs under /home/github/tgt/pkg cp: cannot stat 'README': No such file or directory File README is needed when building pkg. Signed-off-by: Ray Lee <hburaylee@xxxxxxxxx> --- .gitignore | 1 + scripts/build-pkg.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 8c28cb7..9ed9016 100644 --- a/.gitignore +++ b/.gitignore @@ -23,6 +23,7 @@ GTAGS GRTAGS GPATH GSYMS +README # # programs diff --git a/scripts/build-pkg.sh b/scripts/build-pkg.sh index c6776c7..2b987fd 100755 --- a/scripts/build-pkg.sh +++ b/scripts/build-pkg.sh @@ -43,6 +43,7 @@ echo "Building version: $version-$release" cp_src() { local dest=$1 + ln -sf README.md README cp -a conf $dest cp -a doc $dest cp -a scripts $dest -- 2.27.0