alpine and arch specific package tags

This commit is contained in:
dtb 2023-01-02 19:50:27 -05:00
parent e9488459ab
commit c2213789da
4 changed files with 11 additions and 11 deletions

View File

@ -73,7 +73,7 @@ _passage(`Eunakria on the Alpine Linux Discord server',
_program(`setup-hostname') validates a _man(`hostname(5)') before writing to the mounted volume. _program(`setup-hostname') validates a _man(`hostname(5)') before writing to the mounted volume.
</P> </P>
<P> <P>
_program(`setup-xorg-base') adds the packages _package_alpine(`xorg-server'), _package(`xf86-input-libinput'), _package(`eudev'), and _package(`mesa'), and then enables the _ref(`#initialization') services for udev. _program(`setup-xorg-base') adds the packages _package_alpine(`xorg-server'), _package_alpine(`xf86-input-libinput'), _package_alpine(`eudev'), and _package_alpine(`mesa'), and then enables the _ref(`#initialization') services for udev.
</P> </P>
_subheader(`postmarketOS') _subheader(`postmarketOS')

View File

@ -7,7 +7,7 @@ which has given it a reputation for instability compared to other Linux software
_subheader(`AUR') _subheader(`AUR')
<P> <P>
You will need _package(`base-devel'). You will need _package_arch(`base-devel').
</P> </P>
_subheader(`Bootstrapping') _subheader(`Bootstrapping')
@ -16,9 +16,9 @@ See _ref(`#bootstrapping').
Use _man(`pacstrap(8)') on Arch and _man(`basestrap(8)') on Artix. Use _man(`pacstrap(8)') on Arch and _man(`basestrap(8)') on Artix.
</P> </P>
<P> <P>
Arch's base package is _package(`base'). Arch's base package is _package_arch(`base').
Additionally, a kernel such as _package(`linux') or _package(`linux-lts') will be necessary. Additionally, a kernel such as _package_arch(`linux') or _package_arch(`linux-lts') will be necessary.
The Arch wiki says _package(`linux-firmware') is necessary; it's not on many hardware configurations but it's recommended. The Arch wiki says _package_arch(`linux-firmware') is necessary; it's not on many hardware configurations but it's recommended.
On Artix you also need to select the _ref(`#initialization') system: _package(`66'), _package(`dinit'), _package(`openrc'), _package(`runit'), or _package(`s6-base'). On Artix you also need to select the _ref(`#initialization') system: _package(`66'), _package(`dinit'), _package(`openrc'), _package(`runit'), or _package(`s6-base').
The Artix wiki says the initialization-specific _ref(`#login#logind') package is necessary; it's not but it's recommended. The Artix wiki says the initialization-specific _ref(`#login#logind') package is necessary; it's not but it's recommended.
</P> </P>
@ -68,5 +68,5 @@ _bentr(`_link(`makepkg', `https://wiki.archlinux.org/title/Makepkg') (Arch Wiki)
_bentr(`_link(`pacman', `https://gitlab.archlinux.org/pacman/pacman/')/_link(`scripts/makepkg.sh.in', `https://gitlab.archlinux.org/pacman/pacman/-/blob/master/scripts/makepkg.sh.in')') _bentr(`_link(`pacman', `https://gitlab.archlinux.org/pacman/pacman/')/_link(`scripts/makepkg.sh.in', `https://gitlab.archlinux.org/pacman/pacman/-/blob/master/scripts/makepkg.sh.in')')
') ')
<P> <P>
_man(`makepkg(8)') is a _man(`bash(1)') script provided by _package(`pacman') that provides an interface through which to manage _man(``PKGBUILD'(5)')s. _man(`makepkg(8)') is a _man(`bash(1)') script provided by _package_arch(`pacman') that provides an interface through which to manage _man(``PKGBUILD'(5)')s.
</P> </P>

View File

@ -11,14 +11,14 @@ _bentr(`<A HREF="https://bbs.archlinux.org/viewtopic.php?id=256857">ALSA lib con
_bentr(`<A HREF="https://dev.to/setevoy/linux-alsa-lib-pcmdmixc1108sndpcmdmixopen-unable-to-open-slave-38on">ALSA lib pcm_dmix.c:1108:(snd_pcm_dmix_open) unable to open slave</A>') _bentr(`<A HREF="https://dev.to/setevoy/linux-alsa-lib-pcmdmixc1108sndpcmdmixopen-unable-to-open-slave-38on">ALSA lib pcm_dmix.c:1108:(snd_pcm_dmix_open) unable to open slave</A>')
') ')
<P> <P>
The Alpine wiki ("Adding sound") says to install _code(`alsa-conf'), _code(`alsa-lib'), and _code(`alsa-utils'), The Alpine wiki ("Adding sound") says to install _package_alpine(`alsa-conf'), _package_alpine(`alsa-lib'), and _package_alpine(`alsa-utils'),
add yourself to the _code(`audio') group, and then do some more configuration that I've never needed to do: add yourself to the _code(`audio') group, and then do some more configuration that I've never needed to do:
Use _man(`alsamixer(1)') to find a working sound card (press _code(`F6') from the first screen ALSAMixer presents) Use _man(`alsamixer(1)') to find a working sound card (press _code(`F6') from the first screen ALSAMixer presents)
and edit _code(`/usr/share/alsa/alsa.conf') and change _code(`defaults.ctl.card') and _code(`defaults.pcm.card') to the sound card that works. and edit _code(`/usr/share/alsa/alsa.conf') and change _code(`defaults.ctl.card') and _code(`defaults.pcm.card') to the sound card that works.
</P> </P>
<P> <P>
The Alpine wiki doesn't mention this but you'll need to enable the _code(`alsa') OpenRC service and either start it or reboot. The Alpine wiki doesn't mention this but you'll need to enable the _code(`alsa') OpenRC service and either start it or reboot.
I also installed _code(`gstreamer') but I don't know why. I also installed _package_alpine(`gstreamer') but I don't know why.
</P> </P>
<P> <P>
ALSA is clunky, many people prefer to use a frontend such as Pipewire or PulseAudio that exposes its own interface while remaining compatible with ALSA. ALSA is clunky, many people prefer to use a frontend such as Pipewire or PulseAudio that exposes its own interface while remaining compatible with ALSA.
@ -33,7 +33,7 @@ _bentr(`<A HREF="https://wiki.alpinelinux.org/wiki/PipeWire">PipeWire</A> (Alpin
_bentr(`<A HREF="https://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/home">PipeWire</A> (FreeDesktop Wiki)') _bentr(`<A HREF="https://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/home">PipeWire</A> (FreeDesktop Wiki)')
') ')
<P> <P>
Provided by the _code(`pipewire') package on Alpine. Provided by the _package_alpine(`pipewire') package on Alpine.
</P> </P>
<PRE> <PRE>
RTKit error: org.freedesktop.DBus.Error.ServiceUnknown RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
@ -43,6 +43,6 @@ This means you need _program(`rtkit') installed and running through your initial
</P> </P>
_subheader(`PulseAudio') _subheader(`PulseAudio')
<P> <P>
On Alpine you'll need the _program(`pulseaudio'), _program(`pulseaudio-alsa'), and _program(`alsa-plugins-pulse') packages for PulseAudio with ALSA compatibility. On Alpine you'll need the _package_alpine(`pulseaudio'), _package_alpine(`pulseaudio-alsa'), and _package_alpine(`alsa-plugins-pulse') packages for PulseAudio with ALSA compatibility.
Start _man(`pulseaudio(1)') when you want audio, ideally in your _file(`.xinitrc'). Start _man(`pulseaudio(1)') when you want audio, ideally in your _file(`.xinitrc').
</P> </P>

View File

@ -20,7 +20,7 @@ the first step will be to connect to the Internet.
<P> <P>
Next, if your chosen Linux distribution has a package manager, configure it, use it to initialize the file system on the intended system storage, Next, if your chosen Linux distribution has a package manager, configure it, use it to initialize the file system on the intended system storage,
and install the necessary system packages to the storage. and install the necessary system packages to the storage.
Usually distributions have a single <EM>base</EM> package, like _ref(`#arch')'s _package(`base') or _ref(`#alpine')'s _package(`alpine-base'). Usually distributions have a single <EM>base</EM> package, like _ref(`#arch')'s _package_arch(`base') or _ref(`#alpine')'s _package_alpine(`alpine-base').
If it doesn't include any of them, install separately a kernel, initialization system, and userland. If it doesn't include any of them, install separately a kernel, initialization system, and userland.
</P> </P>
<P> <P>