Github messages for voidlinux
 help / color / mirror / Atom feed
From: zdykstra <zdykstra@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] zfsbootmenu: update to 1.4.1
Date: Thu, 20 Aug 2020 05:29:05 +0200	[thread overview]
Message-ID: <20200820032905.1RpS6d-176wwP25X-jEk735fWvg5jEL-5PVvQhedguI@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-24376@inbox.vuxu.org>

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

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

https://github.com/zdykstra/void-packages zfsbootmenu-1.4.1
https://github.com/void-linux/void-packages/pull/24376

zfsbootmenu: update to 1.4.1


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

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

From 09254888f8b17a136cd35efb69685abe80674e38 Mon Sep 17 00:00:00 2001
From: Zach Dykstra <dykstra.zachary@gmail.com>
Date: Wed, 19 Aug 2020 22:21:36 -0500
Subject: [PATCH] zfsbootmenu: update to 1.4.1

---
 srcpkgs/zfsbootmenu/INSTALL  |  3 +++
 srcpkgs/zfsbootmenu/template | 11 +++++++----
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/zfsbootmenu/INSTALL b/srcpkgs/zfsbootmenu/INSTALL
index 16b2e65b33d..bc2a46f490d 100644
--- a/srcpkgs/zfsbootmenu/INSTALL
+++ b/srcpkgs/zfsbootmenu/INSTALL
@@ -1,6 +1,9 @@
 #!/bin/sh
 case "${ACTION}" in
   post)
+    if [ -r etc/zfsbootmenu/config.ini ]; then
+      generate-zbm --migrate etc/zfsbootmenu/config.ini --config etc/zfsbootmenu/config.yaml && mv etc/zfsbootmenu/config.ini /etc/zfsbootmenu/config.ini.migrated
+    fi
     generate-zbm
     ;;
 esac
diff --git a/srcpkgs/zfsbootmenu/template b/srcpkgs/zfsbootmenu/template
index 231083d8e79..033aeb93496 100644
--- a/srcpkgs/zfsbootmenu/template
+++ b/srcpkgs/zfsbootmenu/template
@@ -1,18 +1,21 @@
 # Template file for 'zfsbootmenu'
 pkgname=zfsbootmenu
-version=1.3.1
+version=1.4.1
 revision=1
 archs=noarch
 build_style=gnu-makefile
-conf_files="/etc/zfsbootmenu/config.ini"
-depends="dracut zfs fzf kexec-tools bash pigz mbuffer perl-Config-IniFiles perl-Sort-Versions"
+conf_files="/etc/zfsbootmenu/config.yaml"
+depends="dracut zfs fzf kexec-tools bash pigz mbuffer perl-Config-IniFiles perl-Sort-Versions perl-boolean perl-YAML-PP"
 short_desc="ZFS Boot Environment menu, implemented in Dracut"
 maintainer="Zach Dykstra <dykstra.zachary@gmail.com>"
 license="MIT"
 homepage="https://github.com/zdykstra/zfsbootmenu"
+changelog="https://raw.githubusercontent.com/zdykstra/zfsbootmenu/master/CHANGELOG.md"
 distfiles="https://github.com/zdykstra/zfsbootmenu/archive/v${version}.tar.gz"
-checksum=3a0c84362ef204d180aefae4c73363231ad5b68c88f83de8b823d824b3afb445
+checksum=1174454a1e0e22159e33da2eac83301fd2a1dfae7aa46b41ced5304c512a6847
 
 post_install() {
 	vlicense LICENSE
+	vmkdir usr/share/examples/${pkgname}
+	vcopy etc/zfsbootmenu/config.yaml usr/share/examples/${pkgname}
 }

  reply	other threads:[~2020-08-20  3:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-20  3:22 [PR PATCH] " zdykstra
2020-08-20  3:29 ` zdykstra [this message]
2020-08-20  4:04 ` [PR PATCH] [Closed]: " ahesford

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=20200820032905.1RpS6d-176wwP25X-jEk735fWvg5jEL-5PVvQhedguI@z \
    --to=zdykstra@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).