stgt.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ray Lee <hburaylee@gmail.com>
To: stgt@vger.kernel.org
Cc: Ray Lee <hburaylee@gmail.com>
Subject: [PATCH 1/1] README: link README.md to README for building pkg
Date: Thu, 12 Jan 2023 22:01:32 +0800	[thread overview]
Message-ID: <20230112140132.51449-1-hburaylee@gmail.com> (raw)

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@gmail.com>
---
 .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


                 reply	other threads:[~2023-01-12 14:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230112140132.51449-1-hburaylee@gmail.com \
    --to=hburaylee@gmail.com \
    --cc=stgt@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).