From a947f37c312b57efcc36e27295af073bc7a96a6c Mon Sep 17 00:00:00 2001
From: dtb
-Some Linux software distributions have included scripts to automatically fetch and install an X server. -_ref(`#alpine') has _package(`setup-xorg-base'), which adds the packages _package(`xorg-server'), _package(`xf86-input-libinput'), _package(`eudev'), and _package(`mesa'), and then enables the OpenRC services for udev. -
_subheader(`Mail')diff --git a/wiki/unix/alpine.m4 b/wiki/unix/alpine.m4 index 1712e05..38a2579 100644 --- a/wiki/unix/alpine.m4 +++ b/wiki/unix/alpine.m4 @@ -59,6 +59,10 @@ To bootstrap _man(`apk(8)') do the following:
Copy _man(`resolv.conf(5)') over (and bind _file(`/dev/'), _file(`/proc/'), and _file(`/sys/')) before _ref(`#posix#chroot(1)')ing.
++In the chroot, make sure to install a kernel, which will put _ref(`#linux#initramfs') creation in the _man(`apk(8)') build hooks and rebuild the initramfs whenever the kernel is upgraded. +
+ _subsubheader(`Setup scripts') _bibliography(` _bentr(`_link(`Alpine setup scripts', `https://wiki.alpinelinux.org/wiki/Alpine_setup_scripts') (Alpine Wiki)') @@ -68,6 +72,9 @@ _passage(`Eunakria on the Alpine Linux Discord server',_program(`setup-hostname') validates a _man(`hostname(5)') before writing to the mounted volume.
++_program(`setup-xorg-base') adds the packages _package(`xorg-server'), _package(`xf86-input-libinput'), _package(`eudev'), and _package(`mesa'), and then enables the _ref(`#linux#initialization') services for udev. +
_subheader(`postmarketOS')diff --git a/wiki/unix/linux.m4 b/wiki/unix/linux.m4 index 1f6f47f..fd4cd39 100644 --- a/wiki/unix/linux.m4 +++ b/wiki/unix/linux.m4 @@ -125,8 +125,17 @@ _subsubheader(_ref(`#alpine')) _subsubheader(_ref(`#arch')) _subsubheader(_ref(`#debian')) +_subheader(`hostname') +
+The special file _file(`/proc/sys/kernel/hostname') directly controls the system hostname in the kernel. +
+ _subheader(`Initialization') _subsubheader(`OpenRC') +_bibliography(` +_bentr(`_link(`OpenRC', `https://wiki.gentoo.org/wiki/OpenRC') (Gentoo Wiki)') +') + _subsubheader(`Runit') _subsubheader(`S6') _subsubheader(`Systemd')