From: classabbyamp <classabbyamp@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] mkinitcpio-nfs-utils: fix hook on musl
Date: Sun, 10 Mar 2024 07:47:20 +0100 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-49214@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 499 bytes --]
There is a new pull request by classabbyamp against master on the void-packages repository
https://github.com/classabbyamp/void-packages mkinitcpio-nfs
https://github.com/void-linux/void-packages/pull/49214
mkinitcpio-nfs-utils: fix hook on musl
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
@thypon
A patch file from https://github.com/void-linux/void-packages/pull/49214.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mkinitcpio-nfs-49214.patch --]
[-- Type: text/x-diff, Size: 1479 bytes --]
From 86e611079064f3e8fac70591f114f7fc0d0f3ec9 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Sun, 10 Mar 2024 01:46:23 -0500
Subject: [PATCH] mkinitcpio-nfs-utils: fix hook on musl
---
srcpkgs/mkinitcpio-nfs-utils/files/initcpio-install-net | 2 +-
srcpkgs/mkinitcpio-nfs-utils/template | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/mkinitcpio-nfs-utils/files/initcpio-install-net b/srcpkgs/mkinitcpio-nfs-utils/files/initcpio-install-net
index d4b2d7f0d01320..0d10711386fcce 100644
--- a/srcpkgs/mkinitcpio-nfs-utils/files/initcpio-install-net
+++ b/srcpkgs/mkinitcpio-nfs-utils/files/initcpio-install-net
@@ -10,7 +10,7 @@ build() {
# nfsmount helper might not be available on musl installations
if [ -e "/usr/lib/initcpio/nfsmount" ]; then
add_binary "/usr/lib/initcpio/nfsmount" "/bin/nfsmount"
- else
+ elif command -v mount.nfs >/dev/null 2>&1; then
add_binary "mount.nfs"
fi
diff --git a/srcpkgs/mkinitcpio-nfs-utils/template b/srcpkgs/mkinitcpio-nfs-utils/template
index 75b8565158ac31..65287b43280e9b 100644
--- a/srcpkgs/mkinitcpio-nfs-utils/template
+++ b/srcpkgs/mkinitcpio-nfs-utils/template
@@ -1,7 +1,7 @@
# Template file for 'mkinitcpio-nfs-utils'
pkgname=mkinitcpio-nfs-utils
version=0.3
-revision=4
+revision=5
build_style=gnu-makefile
depends="mkinitcpio"
short_desc="Ipconfig and nfsmount tools for NFS root support in mkinitcpio"
next reply other threads:[~2024-03-10 6:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-10 6:47 classabbyamp [this message]
2024-03-10 6:49 ` classabbyamp
2024-03-16 21:12 ` [PR PATCH] [Merged]: " classabbyamp
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-49214@inbox.vuxu.org \
--to=classabbyamp@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).