From 4e383c062628b196f1120b53e925a2239a1ec5ee Mon Sep 17 00:00:00 2001
From: WSJ
Date: Tue, 22 Nov 2022 18:05:21 -0400
Subject: [PATCH 1/3] alpine linux bootstrapping
---
wiki/unix/linux.m4 | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/wiki/unix/linux.m4 b/wiki/unix/linux.m4
index 70f15dd..06507d4 100644
--- a/wiki/unix/linux.m4
+++ b/wiki/unix/linux.m4
@@ -79,9 +79,39 @@ _subheader(`Distributions')
Linux is usually obtained as part of a software distribution put together to form a useable operating system.
Alpine
+
+Alpine Linux is a small Linux distribution based on musl libc.
+Its main purpose is to serve as a server distribution, however many have found use for it as a desktop distribution.
+
+Bootstrapping
+
+Alpine's bootstrapping procedure is quite manual; you should probably use _code(`setup-alpine').
+However, it is possible and quite easy to perform the steps manually.
+
+
+
+Alpine does not have a _man(`chroot(1)') helper; you must manually do that with a one-liner such as
+_code(`for i in dev proc sys; do mount -o bind "/$i" "/mnt/$i"; done; cp /etc/resolv.conf /mnt/etc/resolv.conf')
+which you can chroot into.
+
+
+After chrooting in, you must configure basics such as users, passwords, _man(`fstab(5)'), and the bootloader yourself.
+
Always install manual pages
Alpine doesn't include man pages in program packages to save on space, instead keeping them in _code(`[package]-doc') sibling packages.
From 416e3ddb12622a25712f8c605650319870c90025 Mon Sep 17 00:00:00 2001
From: WSJ
Date: Tue, 22 Nov 2022 18:06:40 -0400
Subject: [PATCH 2/3] only include m4 files as dep for unix/index.html
---
wiki/.gitignore | 1 +
wiki/Makefile | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
create mode 100644 wiki/.gitignore
diff --git a/wiki/.gitignore b/wiki/.gitignore
new file mode 100644
index 0000000..e5af9ee
--- /dev/null
+++ b/wiki/.gitignore
@@ -0,0 +1 @@
+/unix/index.html
diff --git a/wiki/Makefile b/wiki/Makefile
index 772e1c4..9c05f58 100644
--- a/wiki/Makefile
+++ b/wiki/Makefile
@@ -1,5 +1,5 @@
all: unix/index.html
-unix/index.html: unix/*
+unix/index.html: unix/*.m4
$(MAKE) -C unix
clean:
$(MAKE) -C unix clean
From 4309ea4365fc5edb3723198b9ce3ec8f2b6e3302 Mon Sep 17 00:00:00 2001
From: WSJ
Date: Tue, 22 Nov 2022 18:20:50 -0400
Subject: [PATCH 3/3] fix index.html
---
wiki/index.html | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/wiki/index.html b/wiki/index.html
index 828fbe1..c8d28d3 100644
--- a/wiki/index.html
+++ b/wiki/index.html
@@ -20,8 +20,10 @@
All contributions are public domain and anyone may steal, pilfer, and otherwise plaigarize from this Wiki.
However, contributions to this Wiki must be original or properly quoted and cited from other sources.
Original research is encouraged and this Wiki serves as either a primary or secondary source when appropriate.
- Articles are written with semantic markup in m4 m4 macros.
-
+
+The contents of this site is generated by the Git repository at https://git.sr.ht/~trinity/wiki.
+