Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2022-01-02 16:36:50 +0100
committerAnton Hvornum <anton@hvornum.se>2022-01-02 16:38:02 +0100
commit240f688ccefa7bddb56efe5bc41a457c96792e42 (patch)
tree0f38ae348f008b08d002a5789fa48a97ed554478 /examples
parent93aa4aa6cc88462cf2cf4797644086e6879724bf (diff)
Adding a Pipewire application profile (#821)
* Adding a Pipewire application profile This to better manage the pipewire setup process and minimize guided a bit. This also adds the concept of @archinstall.plugin decorators to add a plugin in run-time. Which pipewire uses to detect user creation and enable the pipewire-pulse service for new users. * Forgot to run .install() on pipewire Application() * Backwards compatible variable insertion for installation session
Diffstat (limited to 'examples')
-rw-r--r--examples/guided.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/guided.py b/examples/guided.py
index d36b4cbc..57409644 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -295,9 +295,7 @@ def perform_installation(mountpoint):
if archinstall.arguments.get('audio', None) is not None:
installation.log(f"This audio server will be used: {archinstall.arguments.get('audio', None)}", level=logging.INFO)
if archinstall.arguments.get('audio', None) == 'pipewire':
- print('Installing pipewire ...')
-
- installation.add_additional_packages(["pipewire", "pipewire-alsa", "pipewire-jack", "pipewire-media-session", "pipewire-pulse", "gst-plugin-pipewire", "libpulse"])
+ archinstall.Application(installation, 'pipewire').install()
elif archinstall.arguments.get('audio', None) == 'pulseaudio':
print('Installing pulseaudio ...')
installation.add_additional_packages("pulseaudio")