Github messages for voidlinux
 help / color / mirror / Atom feed
From: hervyqa <hervyqa@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] bootchart2: remove systemd service
Date: Thu, 21 Jul 2022 04:00:49 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-38162@inbox.vuxu.org> (raw)

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

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

https://github.com/hervyqa/void-packages bootchart2
https://github.com/void-linux/void-packages/pull/38162

bootchart2: remove systemd service
`bootchartd` only needs to run once at boot. no need to create a service file.

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

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)

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

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

From dee243c0ddcd7b1d7d84347b721a195257241f8b Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Thu, 21 Jul 2022 08:54:51 +0700
Subject: [PATCH] bootchart2: remove systemd service

---
 srcpkgs/bootchart2/template | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/bootchart2/template b/srcpkgs/bootchart2/template
index 8e8281a9e9f1..e1bff08f2328 100644
--- a/srcpkgs/bootchart2/template
+++ b/srcpkgs/bootchart2/template
@@ -1,7 +1,7 @@
 # Template file for 'bootchart2'
 pkgname=bootchart2
 version=0.14.9
-revision=2
+revision=3
 wrksrc="bootchart-${version}"
 build_style=gnu-makefile
 make_install_args="EARLY_PREFIX=/usr DOCDIR=/usr/share/doc/bootchart2"
@@ -20,3 +20,7 @@ conflicts="bootchart>=0"
 post_patch() {
 	vsed -i -e 's,\$(EARLY_PREFIX)/sbin/,/usr/bin/,' Makefile
 }
+
+post_install() {
+	rm -r $DESTDIR/usr/lib/systemd/system
+}

             reply	other threads:[~2022-07-21  2:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-21  2:00 hervyqa [this message]
2022-07-22 16:15 ` Chocimier
2022-07-23  0:33 ` hervyqa
2022-07-23  0:33 ` [PR PATCH] [Closed]: " hervyqa

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-38162@inbox.vuxu.org \
    --to=hervyqa@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).