* [PR PATCH] New package: base-live-0.0.0.20200125
@ 2020-01-26 3:56 voidlinux-github
2020-11-01 2:33 ` ericonr
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: voidlinux-github @ 2020-01-26 3:56 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 336 bytes --]
There is a new pull request by CameronNemo against master on the void-packages repository
https://github.com/CameronNemo/void-packages base-live
https://github.com/void-linux/void-packages/pull/18560
New package: base-live-0.0.0.20200125
None
A patch file from https://github.com/void-linux/void-packages/pull/18560.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-base-live-18560.patch --]
[-- Type: text/x-diff, Size: 2197 bytes --]
From f56215946a5914df3c7b8b0f7d98e9144830c7d2 Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Sat, 25 Jan 2020 19:55:51 -0800
Subject: [PATCH] New package: base-live-0.0.0.20200125
---
srcpkgs/base-live/files/LICENSE | 1 +
srcpkgs/base-live/files/polkit.rules | 8 ++++++++
srcpkgs/base-live/files/sudoers | 1 +
srcpkgs/base-live/template | 14 ++++++++++++++
4 files changed, 24 insertions(+)
create mode 120000 srcpkgs/base-live/files/LICENSE
create mode 100644 srcpkgs/base-live/files/polkit.rules
create mode 100644 srcpkgs/base-live/files/sudoers
create mode 100644 srcpkgs/base-live/template
diff --git a/srcpkgs/base-live/files/LICENSE b/srcpkgs/base-live/files/LICENSE
new file mode 120000
index 00000000000..28b80bccc57
--- /dev/null
+++ b/srcpkgs/base-live/files/LICENSE
@@ -0,0 +1 @@
+../../../COPYING
\ No newline at end of file
diff --git a/srcpkgs/base-live/files/polkit.rules b/srcpkgs/base-live/files/polkit.rules
new file mode 100644
index 00000000000..cc3c7d01acf
--- /dev/null
+++ b/srcpkgs/base-live/files/polkit.rules
@@ -0,0 +1,8 @@
+polkit.addAdminRule(function(action, subject) {
+ return ["unix-group:wheel"];
+});
+polkit.addRule(function(action, subject) {
+ if (subject.isInGroup("wheel")) {
+ return polkit.Result.YES;
+ }
+});
diff --git a/srcpkgs/base-live/files/sudoers b/srcpkgs/base-live/files/sudoers
new file mode 100644
index 00000000000..7c499c26cff
--- /dev/null
+++ b/srcpkgs/base-live/files/sudoers
@@ -0,0 +1 @@
+%wheel ALL=(ALL) NOPASSWD: ALL
diff --git a/srcpkgs/base-live/template b/srcpkgs/base-live/template
new file mode 100644
index 00000000000..b9570c134ab
--- /dev/null
+++ b/srcpkgs/base-live/template
@@ -0,0 +1,14 @@
+# Template file for 'base-live'
+pkgname=base-live
+version=0.0.0.20200125
+revision=1
+short_desc="sudo and polkit rules for live images"
+maintainer="Cameron Nemo <cnemo@tutanota.com>"
+license="BSD-2-Clause"
+homepage="https://github.com/void-linux/void-mklive"
+
+do_install() {
+ vinstall "${FILESDIR}/sudoers" 0640 etc/sudoers.d 20_void-live
+ vinstall "${FILESDIR}/polkit.rules" 0644 usr/share/polkit-1/rules.d
+ vlicense "${FILESDIR}/LICENSE"
+}
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: New package: base-live-0.0.0.20200125
2020-01-26 3:56 [PR PATCH] New package: base-live-0.0.0.20200125 voidlinux-github
@ 2020-11-01 2:33 ` ericonr
2020-11-01 14:41 ` sgn
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: ericonr @ 2020-11-01 2:33 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 204 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/18560#issuecomment-720017066
Comment:
Is this still desired? I don't fully understand the motivation.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: New package: base-live-0.0.0.20200125
2020-01-26 3:56 [PR PATCH] New package: base-live-0.0.0.20200125 voidlinux-github
2020-11-01 2:33 ` ericonr
@ 2020-11-01 14:41 ` sgn
2020-11-01 18:51 ` CameronNemo
2021-06-22 19:10 ` [PR PATCH] [Closed]: " CameronNemo
3 siblings, 0 replies; 5+ messages in thread
From: sgn @ 2020-11-01 14:41 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 650 bytes --]
New comment by sgn on void-packages repository
https://github.com/void-linux/void-packages/pull/18560#issuecomment-720098990
Comment:
On 2020-10-31 19:33:56-0700, Érico Nogueira Rolim <notifications@github.com> wrote:
> Is this still desired? I don't fully understand the motivation.
I think the motivation was have a package that provides those files
that was added manually to live system, and those files should be
removed up on installed into real system.
I think this change was created because of the polkit-xfce problems.
There're some discussion both in void-packages and reddit.
I've never used the GUI live system, so ....
--
Danh
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: New package: base-live-0.0.0.20200125
2020-01-26 3:56 [PR PATCH] New package: base-live-0.0.0.20200125 voidlinux-github
2020-11-01 2:33 ` ericonr
2020-11-01 14:41 ` sgn
@ 2020-11-01 18:51 ` CameronNemo
2021-06-22 19:10 ` [PR PATCH] [Closed]: " CameronNemo
3 siblings, 0 replies; 5+ messages in thread
From: CameronNemo @ 2020-11-01 18:51 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 319 bytes --]
New comment by CameronNemo on void-packages repository
https://github.com/void-linux/void-packages/pull/18560#issuecomment-720134545
Comment:
sgn is right on the motivation. I am not entirely sure how mkimage is handling the local installation method these days... but base-files has some code to remove these files.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR PATCH] [Closed]: New package: base-live-0.0.0.20200125
2020-01-26 3:56 [PR PATCH] New package: base-live-0.0.0.20200125 voidlinux-github
` (2 preceding siblings ...)
2020-11-01 18:51 ` CameronNemo
@ 2021-06-22 19:10 ` CameronNemo
3 siblings, 0 replies; 5+ messages in thread
From: CameronNemo @ 2021-06-22 19:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 175 bytes --]
There's a closed pull request on the void-packages repository
New package: base-live-0.0.0.20200125
https://github.com/void-linux/void-packages/pull/18560
Description:
None
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-06-22 19:10 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-26 3:56 [PR PATCH] New package: base-live-0.0.0.20200125 voidlinux-github
2020-11-01 2:33 ` ericonr
2020-11-01 14:41 ` sgn
2020-11-01 18:51 ` CameronNemo
2021-06-22 19:10 ` [PR PATCH] [Closed]: " CameronNemo
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).