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

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

There is a new 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: 1141 bytes --]

From 43fde5cf51299134400584b7a24946d109fdf886 Mon Sep 17 00:00:00 2001
From: Melroy van den Berg <melroy@melroy.org>
Date: Sat, 10 Feb 2024 05:16:42 +0100
Subject: [PATCH] Explain ./xbps-src binary-bootstrap

If users forgot to run this command (I did lol). You could explain them to try to run this command: `./xbps-src binary-bootstrap`
---
 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 4083e08ee084f..e44a25d80e749 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}"

             reply	other threads:[~2024-02-10  4:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-10  4:18 melroy89 [this message]
2024-02-10  4:20 ` classabbyamp
2024-02-10  4:21 ` classabbyamp
2024-02-10 17:57 ` [PR PATCH] [Updated] " melroy89
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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-48636@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).