aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-01-17 14:11:59 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2022-01-17 14:11:59 +0100
commit15210f67d37d68af40c399ede15eeee8afb1be92 (patch)
treedaffd1035e60d15af5d92ab26a3637b9a472baeb
parentRevert removal of TexServer.wiki (diff)
downloadwiki-public-15210f67d37d68af40c399ede15eeee8afb1be92.tar.gz
wiki-public-15210f67d37d68af40c399ede15eeee8afb1be92.tar.xz
mån 17 jan 2022 14:11:58 CET
-rw-r--r--Raspberry Pi.wiki82
-rw-r--r--Västgöta/veckomail.wiki1
-rw-r--r--Västgöta/veckomail/2022/02.wiki13
-rw-r--r--aur.wiki1
-rw-r--r--aurbuilder.wiki9
-rw-r--r--index.wiki5
-rw-r--r--nspawn.wiki8
-rw-r--r--puppet.wiki4
8 files changed, 121 insertions, 2 deletions
diff --git a/Raspberry Pi.wiki b/Raspberry Pi.wiki
new file mode 100644
index 0000000..f989efd
--- /dev/null
+++ b/Raspberry Pi.wiki
@@ -0,0 +1,82 @@
+deb http://archive.raspberrypi.org/debian/ bullseye main
+deb http://raspbian.raspberrypi.org/raspbian bullseye main contrib non-free rpi
+
+sudo debootstrap --foreign --arch=anmhf bullseye PWD/root http://raspbian.raspberrypi.org/raspbian
+
+
+pacaur -S qemu-user-static binfmt-qemu-static
+
+==== puppet ====
+{{{
+include profiles::raspberry_builder
+}}}
+
+== Binfmt ==
+`/proc/sys/fs/binfmt_misc/` :: registered bin formats
+`systemd-binfmt.service` :: systemd service for updating
+
+
+== qemu-user-static ==
+
+
+== MAC-addresses ==
+`b8:27:eb:b7:0e:59` :: clear case ethernet
+`b8:27:eb:e2:5b:0c` :: clear case WiFi
+
+Serial : 00000000e3b70e59
+
+
+== Packages ==
+
+- openssh-server (which enables ssh.service)
+
+- raspberrypi-kernel
+- raspberrypi-bootloader
+
+{{{
+root@stock-raspberrypi:~# apt-cache search raspberrypi
+firmware-brcm80211 - Binary firmware for Broadcom/Cypress 802.11 wireless cards
+libraspberrypi-bin - Miscellaneous Raspberry Pi utilities
+libraspberrypi-bin-dbgsym - debug symbols for libraspberrypi-bin
+libraspberrypi-dev - Libraries for the Raspberry Pi's VideoCore IV (headers)
+libraspberrypi-doc - Libraries for the Raspberry Pi's VideoCore IV (docs)
+libraspberrypi0 - Libraries for the Raspberry Pi's VideoCore IV
+libraspberrypi0-dbgsym - debug symbols for libraspberrypi0
+raspberrypi-bootloader - Raspberry Pi bootloader
+raspberrypi-kernel - Raspberry Pi bootloader
+raspberrypi-kernel-headers - Header files for the Raspberry Pi Linux kernel
+raspberrypi-net-mods - Network configuration for the Raspberry Pi UI
+raspberrypi-sys-mods - System tweaks for the Raspberry Pi
+}}}
+
+== Repos ==
+
+{{{
+deb http://raspbian.raspberrypi.org/raspbian bullseye main contrib non-free rpi
+}}}
+
+Primary raspberry repo, used for debootstrap.
+main :: Required base system?
+contrib :: Probably optinal
+non-free :: Hopefully optoinal
+rpi :: Most firmware and the like
+
+{{{
+deb http://archive.raspberrypi.org/debian/ bullseye main
+}}}
+
+kerne
+
+
+=== DHCP ===
+
+=== Netboot ===
+
+TFTP GET bootcode.bin (required)
+TFTP GET bootcode.sig (optional)
+TFTP GET
+- e3b70e59/start.elf
+- autoboot.txt
+- config.txt
+- recovery.elf
+- start.elf
diff --git a/Västgöta/veckomail.wiki b/Västgöta/veckomail.wiki
index 7aac2b5..ae3b4f6 100644
--- a/Västgöta/veckomail.wiki
+++ b/Västgöta/veckomail.wiki
@@ -33,6 +33,7 @@
[[veckomail/2021/49]]
[[veckomail/2021/50]]
[[veckomail/2022/01]]
+[[veckomail/2022/02]]
= Kommande datum =
diff --git a/Västgöta/veckomail/2022/02.wiki b/Västgöta/veckomail/2022/02.wiki
new file mode 100644
index 0000000..88ee001
--- /dev/null
+++ b/Västgöta/veckomail/2022/02.wiki
@@ -0,0 +1,13 @@
+== Fredag ==
+Stupan håller öppet även den här fredagen, och Arvid är ansvarig.
+
+Ring 073 - 81 88 442 så släpper han in dig.
+
+== Caps-VM ==
+Fredagen efter det (21 januari) kommer även Västgötamästerskapen i
+Caps att hållas under kvällen. Alla är välkommna, även om du inte vet
+vad caps är, och alla erfarna är troligen så pass ringrostiga att du
+ändra hår en chans att vinna!
+
+== Kommande datum ==
+- 2022-01-21 :: Caps-VM
diff --git a/aur.wiki b/aur.wiki
index bf90dc8..1e0add5 100644
--- a/aur.wiki
+++ b/aur.wiki
@@ -6,3 +6,4 @@ fetch or clone to init repo
https://wiki.archlinux.org/index.php/.SRCINFO
makepkg --printsrcinfo > .SRCINFO
+
diff --git a/aurbuilder.wiki b/aurbuilder.wiki
new file mode 100644
index 0000000..73d5a19
--- /dev/null
+++ b/aurbuilder.wiki
@@ -0,0 +1,9 @@
+= Aurbuilder =
+
+Aurweb contains API for package info
+
+https://gitlab.archlinux.org/archlinux/aurweb/-/blob/master/doc/rpc.txt
+
+https://gitlab.archlinux.org/archlinux/aurweb
+
+file:///home/hugo/down/aurweb
diff --git a/index.wiki b/index.wiki
index 172cb0b..584f007 100644
--- a/index.wiki
+++ b/index.wiki
@@ -18,6 +18,7 @@
- [[fpga]]
- [[sudo]]
- [[yum]]
+- [[nspawn]]
== Projekt ==
- [[GitServer]]
@@ -28,6 +29,7 @@
- [[Terminal Driver]]
- [[picase]]
- [[Adafruit]]
+- [[Raspberry Pi]]
== Hårdvara ==
- [[Dator/Ny]]
@@ -57,6 +59,7 @@
- [[Pikmin 3]]
- [[rv290]]
- [[aur]]
+- [[aurbuilder]]
- [[StrapCentOS]]
- [[debian-pkg]]
- Pedalmontering
@@ -97,6 +100,4 @@
- [ ] Intel 5100 WiFi E2:5B:A8:1A:A8:2A iwlwifi wlp12s0
- [ ] https://www.offismart.se/product/kaffemjolk-arla-15-2cl-100-fp
-- systemd nspawn
-
= Generated Tags =
diff --git a/nspawn.wiki b/nspawn.wiki
new file mode 100644
index 0000000..9a9994c
--- /dev/null
+++ b/nspawn.wiki
@@ -0,0 +1,8 @@
+{{{
+debootstrap bullseye /var/lib/machines/debian-bullseye.base
+systemctl-nspawn --template=EXISTING_OS_TREE -D /var/lib/machines/NEW_MACHINE
+}}}
+
+overlayfs doesn't work with containers, due to something with UID/GID shift
+
+btrfs subvolumes should be used for templates, since those enable COW.
diff --git a/puppet.wiki b/puppet.wiki
index 6f461d7..3c94382 100644
--- a/puppet.wiki
+++ b/puppet.wiki
@@ -30,6 +30,10 @@ subscribe :: Applies a resource after the target resource. The subscribing resou
}
}}}
+== operators ==
+https://puppet.com/docs/puppet/7/lang_expressions.html
+
+
== Conditionals ==
https://puppet.com/docs/puppet/7/lang_conditional.html