Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] xbps-src: enter chroot before bootstrap-update
Date: Mon, 03 Jun 2019 22:39:49 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-12105@inbox.vuxu.org> (raw)

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

There is a new pull request by huglovefan against master on the void-packages repository

https://github.com/huglovefan/void-packages bootstrap-update-fix
https://github.com/void-linux/void-packages/pull/12105

xbps-src: enter chroot before bootstrap-update
fixes https://github.com/void-linux/void-packages/issues/11848

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-bootstrap-update-fix-12105.patch --]
[-- Type: application/text/x-diff, Size: 1534 bytes --]

From 2c2a10adfc7db03a55c890ea2ef927196478980d Mon Sep 17 00:00:00 2001
From: human <human@neet.fi>
Date: Sun, 26 May 2019 19:33:34 +0300
Subject: [PATCH 1/2] xbps-src: fix typo in help text

---
 xbps-src | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xbps-src b/xbps-src
index 37c0506fc6f..8e0a5a15575 100755
--- a/xbps-src
+++ b/xbps-src
@@ -122,7 +122,7 @@ show-repo-updates
     Prints the list of outdated packages in XBPS repositories.
 
 show-sys-updates
-    Prints the list of oudated packages in your system.
+    Prints the list of outdated packages in your system.
 
 sort-dependencies <pkg> <pkgN+1> ...
     Given a list of packages specified as additional arguments, a sorted dependency

From c8bc1bcc29c4a27662ea10111d94a4611574da58 Mon Sep 17 00:00:00 2001
From: human <human@neet.fi>
Date: Sun, 26 May 2019 19:36:00 +0300
Subject: [PATCH 2/2] xbps-src: enter chroot before bootstrap-update

fixes https://github.com/void-linux/void-packages/issues/11848
---
 xbps-src | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/xbps-src b/xbps-src
index 8e0a5a15575..65269079586 100755
--- a/xbps-src
+++ b/xbps-src
@@ -696,7 +696,11 @@ case "$XBPS_TARGET" in
         install_bbootstrap bootstrap
         ;;
     bootstrap-update)
-        bootstrap_update
+        if [ -n "$CHROOT_READY" -a -z "$IN_CHROOT" ]; then
+            chroot_handler bootstrap-update
+        else
+            bootstrap_update
+        fi
         ;;
     chroot)
         chroot_handler chroot dummy

             reply	other threads:[~2019-06-03 20:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-03 20:39 voidlinux-github [this message]
2019-06-04  9:51 ` [PR PATCH] [Merged]: " voidlinux-github

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-12105@inbox.vuxu.org \
    --to=voidlinux-github@inbox.vuxu.org \
    --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).