Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] base-minimal: add pax-utils for musl
@ 2019-09-28  9:07 voidlinux-github
  2019-09-28  9:31 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: voidlinux-github @ 2019-09-28  9:07 UTC (permalink / raw)
  To: ml

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

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

https://github.com/mobinmob/void-packages minimal-pax
https://github.com/void-linux/void-packages/pull/14776

base-minimal: add pax-utils for musl
Fixes https://github.com/void-linux/void-packages/issues/14489 .

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

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

From 02b7ba4611e1765e0edb0b87f2b37a8f7ecc6dec Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Sat, 28 Sep 2019 12:06:13 +0300
Subject: [PATCH] base-minimal: add pax-utils for musl

---
 srcpkgs/base-minimal/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/base-minimal/template b/srcpkgs/base-minimal/template
index 9199cd7f53a..0953e4abe8f 100644
--- a/srcpkgs/base-minimal/template
+++ b/srcpkgs/base-minimal/template
@@ -1,7 +1,7 @@
 # Template file for 'base-minimal'
 pkgname=base-minimal
 version=0.1
-revision=3
+revision=4
 build_style=meta
 homepage="http://www.voidlinux.org/"
 short_desc="Void Linux base system meta with minimal tools"
@@ -14,6 +14,6 @@ depends="
  runit-void"
 
 case "$XBPS_TARGET_MACHINE" in
-	*-musl) depends+=" musl";;
+	*-musl) depends+=" musl pax-utils";;
 	*) depends+=" glibc-locales";;
 esac

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Updated] base-minimal: add pax-utils for musl
  2019-09-28  9:07 [PR PATCH] base-minimal: add pax-utils for musl voidlinux-github
@ 2019-09-28  9:31 ` voidlinux-github
  2019-09-28  9:31 ` voidlinux-github
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: voidlinux-github @ 2019-09-28  9:31 UTC (permalink / raw)
  To: ml

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

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

https://github.com/mobinmob/void-packages minimal-pax
https://github.com/void-linux/void-packages/pull/14776

base-minimal: add pax-utils for musl
Fixes https://github.com/void-linux/void-packages/issues/14489 .

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

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

From 25917949cc24185013b07e1880534eb509268447 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Sat, 28 Sep 2019 12:06:13 +0300
Subject: [PATCH] base-minimal: add pax-utils for musl

---
 srcpkgs/base-minimal/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/base-minimal/template b/srcpkgs/base-minimal/template
index 9199cd7f53a..d7516a9f320 100644
--- a/srcpkgs/base-minimal/template
+++ b/srcpkgs/base-minimal/template
@@ -1,12 +1,12 @@
 # Template file for 'base-minimal'
 pkgname=base-minimal
 version=0.1
-revision=3
+revision=4
 build_style=meta
-homepage="http://www.voidlinux.org/"
 short_desc="Void Linux base system meta with minimal tools"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="Public domain"
+homepage="http://www.voidlinux.org/"
 
 depends="
  base-files coreutils findutils diffutils dash grep gzip sed gawk
@@ -14,6 +14,6 @@ depends="
  runit-void"
 
 case "$XBPS_TARGET_MACHINE" in
-	*-musl) depends+=" musl";;
+	*-musl) depends+=" musl pax-utils";;
 	*) depends+=" glibc-locales";;
 esac

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Updated] base-minimal: add pax-utils for musl
  2019-09-28  9:07 [PR PATCH] base-minimal: add pax-utils for musl voidlinux-github
  2019-09-28  9:31 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-09-28  9:31 ` voidlinux-github
  2019-10-02  8:11 ` voidlinux-github
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: voidlinux-github @ 2019-09-28  9:31 UTC (permalink / raw)
  To: ml

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

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

https://github.com/mobinmob/void-packages minimal-pax
https://github.com/void-linux/void-packages/pull/14776

base-minimal: add pax-utils for musl
Fixes https://github.com/void-linux/void-packages/issues/14489 .

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

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

From 25917949cc24185013b07e1880534eb509268447 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Sat, 28 Sep 2019 12:06:13 +0300
Subject: [PATCH] base-minimal: add pax-utils for musl

---
 srcpkgs/base-minimal/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/base-minimal/template b/srcpkgs/base-minimal/template
index 9199cd7f53a..d7516a9f320 100644
--- a/srcpkgs/base-minimal/template
+++ b/srcpkgs/base-minimal/template
@@ -1,12 +1,12 @@
 # Template file for 'base-minimal'
 pkgname=base-minimal
 version=0.1
-revision=3
+revision=4
 build_style=meta
-homepage="http://www.voidlinux.org/"
 short_desc="Void Linux base system meta with minimal tools"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="Public domain"
+homepage="http://www.voidlinux.org/"
 
 depends="
  base-files coreutils findutils diffutils dash grep gzip sed gawk
@@ -14,6 +14,6 @@ depends="
  runit-void"
 
 case "$XBPS_TARGET_MACHINE" in
-	*-musl) depends+=" musl";;
+	*-musl) depends+=" musl pax-utils";;
 	*) depends+=" glibc-locales";;
 esac

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: base-minimal: add pax-utils for musl
  2019-09-28  9:07 [PR PATCH] base-minimal: add pax-utils for musl voidlinux-github
  2019-09-28  9:31 ` [PR PATCH] [Updated] " voidlinux-github
  2019-09-28  9:31 ` voidlinux-github
@ 2019-10-02  8:11 ` voidlinux-github
  2019-10-02  8:11 ` voidlinux-github
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: voidlinux-github @ 2019-10-02  8:11 UTC (permalink / raw)
  To: ml

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

New comment by mobinmob on void-packages repository

https://github.com/void-linux/void-packages/pull/14776#issuecomment-537385892

Comment:
```
Linting srcpkgs/base-minimal/template...
srcpkgs/base-minimal/template:8: use SPDX id for 'Public domain' license or see Manual.md
```
Well, Public domain is not even a lisence :D

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: base-minimal: add pax-utils for musl
  2019-09-28  9:07 [PR PATCH] base-minimal: add pax-utils for musl voidlinux-github
                   ` (2 preceding siblings ...)
  2019-10-02  8:11 ` voidlinux-github
@ 2019-10-02  8:11 ` voidlinux-github
  2019-10-02 13:44 ` voidlinux-github
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: voidlinux-github @ 2019-10-02  8:11 UTC (permalink / raw)
  To: ml

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

New comment by mobinmob on void-packages repository

https://github.com/void-linux/void-packages/pull/14776#issuecomment-537385892

Comment:
```
Linting srcpkgs/base-minimal/template...
srcpkgs/base-minimal/template:8: use SPDX id for 'Public domain' license or see Manual.md
```
Well, Public domain is not even a license :D

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: base-minimal: add pax-utils for musl
  2019-09-28  9:07 [PR PATCH] base-minimal: add pax-utils for musl voidlinux-github
                   ` (3 preceding siblings ...)
  2019-10-02  8:11 ` voidlinux-github
@ 2019-10-02 13:44 ` voidlinux-github
  2019-10-02 19:12 ` voidlinux-github
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: voidlinux-github @ 2019-10-02 13:44 UTC (permalink / raw)
  To: ml

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

New comment by am11 on void-packages repository

https://github.com/void-linux/void-packages/pull/14776#issuecomment-537498995

Comment:
From the [list of licenses](https://spdx.org/licenses/), I think we can use `license="Unlicense"` for public domain.
Some packages in this repo are also using it.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: base-minimal: add pax-utils for musl
  2019-09-28  9:07 [PR PATCH] base-minimal: add pax-utils for musl voidlinux-github
                   ` (4 preceding siblings ...)
  2019-10-02 13:44 ` voidlinux-github
@ 2019-10-02 19:12 ` voidlinux-github
  2019-10-02 19:13 ` voidlinux-github
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: voidlinux-github @ 2019-10-02 19:12 UTC (permalink / raw)
  To: ml

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

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/pull/14776#issuecomment-537638123

Comment:
1. Having different dependencies for glibc and musl doesn't really make sense and (base-system and base-minimal).
1. Assuming this alternative to `ldconfig` would be in the base system and programs have a fallback to use `scanfelf` seems very specific.

I personally feel like, this should be solved by adding the right dependencies to the packages that require this and doesn't deserve a "alternative" in the base system.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: base-minimal: add pax-utils for musl
  2019-09-28  9:07 [PR PATCH] base-minimal: add pax-utils for musl voidlinux-github
                   ` (5 preceding siblings ...)
  2019-10-02 19:12 ` voidlinux-github
@ 2019-10-02 19:13 ` voidlinux-github
  2019-10-16 13:55 ` [PR PATCH] [Closed]: " voidlinux-github
  2019-10-16 17:36 ` voidlinux-github
  8 siblings, 0 replies; 10+ messages in thread
From: voidlinux-github @ 2019-10-02 19:13 UTC (permalink / raw)
  To: ml

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

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/pull/14776#issuecomment-537638123

Comment:
1. Having different dependencies for glibc and musl (and base-system and base-minimal) doesn't really make sense.
1. Assuming this alternative to `ldconfig` would be in the base system and programs have a fallback to use `scanfelf` seems very specific.

I personally feel like, this should be solved by adding the right dependencies to the packages that require this and doesn't deserve a "alternative" in the base system.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Closed]: base-minimal: add pax-utils for musl
  2019-09-28  9:07 [PR PATCH] base-minimal: add pax-utils for musl voidlinux-github
                   ` (6 preceding siblings ...)
  2019-10-02 19:13 ` voidlinux-github
@ 2019-10-16 13:55 ` voidlinux-github
  2019-10-16 17:36 ` voidlinux-github
  8 siblings, 0 replies; 10+ messages in thread
From: voidlinux-github @ 2019-10-16 13:55 UTC (permalink / raw)
  To: ml

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

There's a closed pull request on the void-packages repository

base-minimal: add pax-utils for musl
https://github.com/void-linux/void-packages/pull/14776

Description:
Fixes https://github.com/void-linux/void-packages/issues/14489 .

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: base-minimal: add pax-utils for musl
  2019-09-28  9:07 [PR PATCH] base-minimal: add pax-utils for musl voidlinux-github
                   ` (7 preceding siblings ...)
  2019-10-16 13:55 ` [PR PATCH] [Closed]: " voidlinux-github
@ 2019-10-16 17:36 ` voidlinux-github
  8 siblings, 0 replies; 10+ messages in thread
From: voidlinux-github @ 2019-10-16 17:36 UTC (permalink / raw)
  To: ml

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

New comment by am11 on void-packages repository

https://github.com/void-linux/void-packages/pull/14776#issuecomment-542810901

Comment:
I generally support the rationale that packages should not carry extra dependencies.

However, I would like to share a little different perspective. In Alpine Linux (the closest possible match to Void-musl), we get a working base system packed in 5.58MB, such that I can host my application bundle (+ dependencies) without installing much (and sometimes anything) from package manager. 

For comparison of base sizes:

| REPOSITORY | SIZE |
|---|---|
| ubuntu | 79.6MB |
| centos | 199MB |
| alpine | 5.58MB |
| voidlinux/voidlinux-musl | 68.6MB |

I am by no means an expert on Void Linux, but it is my feeling that Void Linux could do better in base image package, taking into account broader usecases and cut off extra dependencies. I am not suggesting to copy what Alpine has done; but some inspirations can be taken from a little bit more busy distro, since the difference in size and experience (what is already available inbox) is quite observable.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-10-16 17:36 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-28  9:07 [PR PATCH] base-minimal: add pax-utils for musl voidlinux-github
2019-09-28  9:31 ` [PR PATCH] [Updated] " voidlinux-github
2019-09-28  9:31 ` voidlinux-github
2019-10-02  8:11 ` voidlinux-github
2019-10-02  8:11 ` voidlinux-github
2019-10-02 13:44 ` voidlinux-github
2019-10-02 19:12 ` voidlinux-github
2019-10-02 19:13 ` voidlinux-github
2019-10-16 13:55 ` [PR PATCH] [Closed]: " voidlinux-github
2019-10-16 17:36 ` voidlinux-github

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).