Github messages for voidlinux
 help / color / mirror / Atom feed
From: cinerea0 <cinerea0@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] greetd: set shell for agreety
Date: Thu, 07 Apr 2022 04:43:01 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-36552@inbox.vuxu.org> (raw)

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

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

https://github.com/cinerea0/void-packages greetd
https://github.com/void-linux/void-packages/pull/36552

greetd: set shell for agreety
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->
Closes #35870.

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

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

From 3f98e143ddcde01f721226d9895c9897faa179ec Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@disroot.org>
Date: Wed, 6 Apr 2022 22:36:09 -0400
Subject: [PATCH] greetd: set shell for agreety

---
 srcpkgs/greetd/patches/fix-shell.patch | 17 +++++++++++++++++
 srcpkgs/greetd/template                |  2 +-
 2 files changed, 18 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/greetd/patches/fix-shell.patch

diff --git a/srcpkgs/greetd/patches/fix-shell.patch b/srcpkgs/greetd/patches/fix-shell.patch
new file mode 100644
index 000000000000..fbe416cbed8d
--- /dev/null
+++ b/srcpkgs/greetd/patches/fix-shell.patch
@@ -0,0 +1,17 @@
+# $SHELL is not set, use /bin/sh because it's available
+diff --git a/config.toml b/config.toml
+index 3768a6e..c323af2 100644
+--- a/config.toml
++++ b/config.toml
+@@ -6,9 +6,9 @@ vt = 1
+ # The default session, also known as the greeter.
+ [default_session]
+ 
+-# `agreety` is the bundled agetty/login-lookalike. You can replace `$SHELL`
++# `agreety` is the bundled agetty/login-lookalike. You can replace `/bin/sh`
+ # with whatever you want started, such as `sway`.
+-command = "agreety --cmd $SHELL"
++command = "agreety --cmd /bin/sh"
+ 
+ # The user to run the command as. The privileges this user must have depends
+ # on the greeter. A graphical greeter may for example require the user to be
diff --git a/srcpkgs/greetd/template b/srcpkgs/greetd/template
index cf5f3c400b0c..0f5e9c88f501 100644
--- a/srcpkgs/greetd/template
+++ b/srcpkgs/greetd/template
@@ -1,7 +1,7 @@
 # Template file for 'greetd'
 pkgname=greetd
 version=0.8.0
-revision=1
+revision=2
 build_style=cargo
 conf_files="/etc/greetd/config.toml"
 hostmakedepends="pkg-config scdoc"

             reply	other threads:[~2022-04-07  2:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-07  2:43 cinerea0 [this message]
2022-04-07  2:47 ` cinerea0
2022-04-07 21:54 ` RicArch97
2022-04-08 23:13 ` RicArch97
2022-04-11 14:02 ` [PR PATCH] [Updated] " cinerea0
2022-04-11 14:03 ` cinerea0
2022-04-11 15:01 ` [PR PATCH] [Merged]: " paper42

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