Github messages for voidlinux
 help / color / mirror / Atom feed
From: melroy89 <melroy89@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] Explain ./xbps-src binary-bootstrap
Date: Sat, 10 Feb 2024 18:57:15 +0100	[thread overview]
Message-ID: <20240210175715.910F024801@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-48636@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 514 bytes --]

There is an updated pull request by melroy89 against master on the void-packages repository

https://github.com/melroy89/void-packages patch-1
https://github.com/void-linux/void-packages/pull/48636

Explain ./xbps-src binary-bootstrap
It's not a package change, it's a script change. Explain existence of the: `./xbps-src binary-bootstrap` command.

#### Testing the changes
- I tested the changes in this PR: **YES**


A patch file from https://github.com/void-linux/void-packages/pull/48636.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-patch-1-48636.patch --]
[-- Type: text/x-diff, Size: 1039 bytes --]

From 52486c6e5a967415095c6a05a81fafba85bd8b4b Mon Sep 17 00:00:00 2001
From: Melroy van den Berg <melroy@melroy.org>
Date: Sat, 10 Feb 2024 18:57:27 +0100
Subject: [PATCH] xbps-src: Add xbps-src: binary-bootstrap to the error message

---
 common/xbps-src/shutils/common.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/xbps-src/shutils/common.sh b/common/xbps-src/shutils/common.sh
index 4083e08ee084ff..e44a25d80e7495 100644
--- a/common/xbps-src/shutils/common.sh
+++ b/common/xbps-src/shutils/common.sh
@@ -496,7 +496,7 @@ setup_pkg() {
     # Check if base-chroot is already installed.
     if [ -z "$bootstrap" -a -z "$CHROOT_READY" -a "z$show_problems" != "zignore-problems" ]; then
         msg_red "${pkg} is not a bootstrap package and cannot be built without it.\n"
-        msg_error "Please install bootstrap packages and try again.\n"
+        msg_error "Please install bootstrap packages and try again. Run for example first: ./xbps-src binary-bootstrap\n"
     fi
 
     sourcepkg="${pkgname}"

  parent reply	other threads:[~2024-02-10 17:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-10  4:18 [PR PATCH] " melroy89
2024-02-10  4:20 ` classabbyamp
2024-02-10  4:21 ` classabbyamp
2024-02-10 17:57 ` melroy89 [this message]
2024-02-14 19:45 ` [PR PATCH] [Closed]: " melroy89
2024-02-14 19:45 ` melroy89

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=20240210175715.910F024801@inbox.vuxu.org \
    --to=melroy89@users.noreply.github.com \
    --cc=ml@inbox.vuxu.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 NNTP newsgroup(s).