Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] base-system: Removed wifi dependencies
@ 2020-04-26 13:47 phikal
  2020-04-26 15:51 ` Duncaen
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: phikal @ 2020-04-26 13:47 UTC (permalink / raw)
  To: ml

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

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

https://github.com/phikal/void-packages-1 master
https://github.com/void-linux/void-packages/pull/21351

base-system: Removed wifi dependencies
I use void on a Raspberry Pi, and it doesn't have WiFi. When trimming the system down to what I need, I always get stuck on a view `base-system` dependencies that would like to remove without using XBPS `-f` flag.

Here I suggest dropping the WiFi related packages, but would more generally like to start a conversation about dropping others too (`void-artwork`, `btrfs-progs`, `xfsprogs`, ...). 

I'm not familiar enough with the void system at large to know what the consequences would be. Just ignore and close this pull request if I'm opening some Pandora's box, that should just be ignored.

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

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

From 4b2679a5ba3f37b43ad6e67ff3474e0459ab5845 Mon Sep 17 00:00:00 2001
From: Philip K <philip@warpmail.net>
Date: Sun, 26 Apr 2020 15:34:34 +0200
Subject: [PATCH] base-system: Removed wifi dependencies

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

diff --git a/srcpkgs/base-system/template b/srcpkgs/base-system/template
index 810563c1bad..cd22c36380b 100644
--- a/srcpkgs/base-system/template
+++ b/srcpkgs/base-system/template
@@ -13,8 +13,8 @@ depends="
  dash bash grep gzip file sed gawk less util-linux which tar man-pages
  mdocml>=1.13.3 shadow e2fsprogs btrfs-progs xfsprogs f2fs-tools dosfstools
  procps-ng tzdata pciutils usbutils iana-etc openssh dhcpcd
- kbd iproute2 iputils iw wpa_supplicant xbps nvi sudo wifi-firmware
- void-artwork traceroute ethtool kmod acpid eudev runit-void"
+ kbd iproute2 iputils iw xbps nvi sudo void-artwork traceroute
+ ethtool kmod acpid eudev runit-void"
 
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) depends+=" musl";;

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

* Re: base-system: Removed wifi dependencies
  2020-04-26 13:47 [PR PATCH] base-system: Removed wifi dependencies phikal
@ 2020-04-26 15:51 ` Duncaen
  2020-04-26 15:51 ` [PR PATCH] [Closed]: " Duncaen
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Duncaen @ 2020-04-26 15:51 UTC (permalink / raw)
  To: ml

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

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/pull/21351#issuecomment-619573730

Comment:
This would make the package orphaned for everyone depending on it and would also result in them not being part of the live systems.

You can use the `ignorepkg` xbps configuration option to be able to uninstall soft dependencies you don't want, see `man xbps.d`.

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

* Re: [PR PATCH] [Closed]: base-system: Removed wifi dependencies
  2020-04-26 13:47 [PR PATCH] base-system: Removed wifi dependencies phikal
  2020-04-26 15:51 ` Duncaen
@ 2020-04-26 15:51 ` Duncaen
  2020-04-26 16:39 ` NeelChotai
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Duncaen @ 2020-04-26 15:51 UTC (permalink / raw)
  To: ml

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

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

base-system: Removed wifi dependencies
https://github.com/void-linux/void-packages/pull/21351

Description:
I use void on a Raspberry Pi, and it doesn't have WiFi. When trimming the system down to what I need, I always get stuck on a view `base-system` dependencies that would like to remove without using XBPS `-f` flag.

Here I suggest dropping the WiFi related packages, but would more generally like to start a conversation about dropping others too (`void-artwork`, `btrfs-progs`, `xfsprogs`, ...). 

I'm not familiar enough with the void system at large to know what the consequences would be. Just ignore and close this pull request if I'm opening some Pandora's box, that should just be ignored.

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

* Re: base-system: Removed wifi dependencies
  2020-04-26 13:47 [PR PATCH] base-system: Removed wifi dependencies phikal
  2020-04-26 15:51 ` Duncaen
  2020-04-26 15:51 ` [PR PATCH] [Closed]: " Duncaen
@ 2020-04-26 16:39 ` NeelChotai
  2020-04-26 17:51 ` Piraty
  2020-04-26 18:24 ` phikal
  4 siblings, 0 replies; 6+ messages in thread
From: NeelChotai @ 2020-04-26 16:39 UTC (permalink / raw)
  To: ml

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

New comment by NeelChotai on void-packages repository

https://github.com/void-linux/void-packages/pull/21351#issuecomment-619581866

Comment:
A potential solution could be uninstalling `base-system` and using `base-voidstrap` for a lighter setup, however this still contains wireless-specific packages like `iw` and other packages you've mentioned (`btrfs-progs`, `xfsprogs`).

Creating your own template for `base-system` without the stuff you don't need may be the best solution.

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

* Re: base-system: Removed wifi dependencies
  2020-04-26 13:47 [PR PATCH] base-system: Removed wifi dependencies phikal
                   ` (2 preceding siblings ...)
  2020-04-26 16:39 ` NeelChotai
@ 2020-04-26 17:51 ` Piraty
  2020-04-26 18:24 ` phikal
  4 siblings, 0 replies; 6+ messages in thread
From: Piraty @ 2020-04-26 17:51 UTC (permalink / raw)
  To: ml

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

New comment by Piraty on void-packages repository

https://github.com/void-linux/void-packages/pull/21351#issuecomment-619594254

Comment:
or explicitly mark what you need from base-system as manual

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

* Re: base-system: Removed wifi dependencies
  2020-04-26 13:47 [PR PATCH] base-system: Removed wifi dependencies phikal
                   ` (3 preceding siblings ...)
  2020-04-26 17:51 ` Piraty
@ 2020-04-26 18:24 ` phikal
  4 siblings, 0 replies; 6+ messages in thread
From: phikal @ 2020-04-26 18:24 UTC (permalink / raw)
  To: ml

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

New comment by phikal on void-packages repository

https://github.com/void-linux/void-packages/pull/21351#issuecomment-619600422

Comment:
I've tried that a few years ago, and ended up with a bricked device ^^.

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

end of thread, other threads:[~2020-04-26 18:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-26 13:47 [PR PATCH] base-system: Removed wifi dependencies phikal
2020-04-26 15:51 ` Duncaen
2020-04-26 15:51 ` [PR PATCH] [Closed]: " Duncaen
2020-04-26 16:39 ` NeelChotai
2020-04-26 17:51 ` Piraty
2020-04-26 18:24 ` phikal

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