[PATCH 1/1] README: link README.md to README for building pkg

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux