From 1da07b0b4a337342cc48627d9af78e7fd20a45cf Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Sat, 14 Jun 2025 22:49:26 +0800 Subject: www: move layout files for new version of hugo and fix nested shortcodes. --- www/content/notes/_index.md | 15 ++++- www/content/notes/cheat-sheet.md | 5 +- www/content/notes/hurd.md | 106 ---------------------------------- www/content/notes/hurd/_index.md | 15 +++++ www/content/notes/hurd/cheat-sheet.md | 5 +- www/content/notes/hurd/links.md | 88 ++++++++++++++++++++++++++++ www/content/notes/hurd/todos.md | 18 +++--- www/content/notes/todos.md | 7 --- 8 files changed, 129 insertions(+), 130 deletions(-) delete mode 100644 www/content/notes/hurd.md create mode 100644 www/content/notes/hurd/_index.md create mode 100644 www/content/notes/hurd/links.md delete mode 100644 www/content/notes/todos.md (limited to 'www/content/notes') diff --git a/www/content/notes/_index.md b/www/content/notes/_index.md index 3c736ed..3f96f73 100644 --- a/www/content/notes/_index.md +++ b/www/content/notes/_index.md @@ -1,5 +1,16 @@ --- title: "Notes" -params: - recursive: true +date: 2025-06-14T21:24:00+08:00 +lastmod: 2025-06-14T21:24:00+08:00 +layout: single --- + +- [Cheat Sheet](/notes/cheat-sheet) + +- [Hurd](/notes/hurd) + + - [Cheat Sheet](/notes/hurd/cheat-sheet) + + - [Todos](/notes/hurd/todos) + + - [Useful Links](/notes/hurd/links) diff --git a/www/content/notes/cheat-sheet.md b/www/content/notes/cheat-sheet.md index 56bc92a..9f90f08 100644 --- a/www/content/notes/cheat-sheet.md +++ b/www/content/notes/cheat-sheet.md @@ -4,11 +4,8 @@ date: 2025-04-01T23:09:53+08:00 lastmod: 2025-06-12T01:09:39+08:00 --- -{{< mono >}} - goto: [Hurd Cheat Sheet (in a separated page)](/notes/hurd/cheat-sheet) - -{{< /mono >}} +{class="mono"} ## GRUB diff --git a/www/content/notes/hurd.md b/www/content/notes/hurd.md deleted file mode 100644 index aeb9b15..0000000 --- a/www/content/notes/hurd.md +++ /dev/null @@ -1,106 +0,0 @@ ---- -title: "Hurd" -date: 2025-03-03T15:34:41+08:00 -lastmod: 2025-06-12T01:09:39+08:00 ---- - -{{< mono >}} - -goto: [Cheat Sheet](/notes/hurd/cheat-sheet) | [Todos](/notes/hurd/todos) - -{{< /mono >}} - -## links - -{{< mono >}} - -| name | link | -| --- | --- | -| kernel-list-archive | | -| debian-list-archive | | -| irc-archive | | -| kernel-home | | -| debian-home | | - -{{< /mono >}} - -refs: - -{{< mono >}} - -| name | link | -| --- | --- | -| c | | -| posix latest | | -| posix 2013 | | -| posix 2008 | | -| glibc | | - -{{< /mono >}} - -## mailing lists / irc - -{{< mono >}} - -| name | address | -| --- | --- | -| hurd | | -| debian | | -| irc | librechat #hurd | - -{{< /mono >}} - -## *_MAX patch - -See [this](posts/c-func-ext.md) - -## git repos - -Clone all at once: - -```sh -# glibc is too big, so not clone here. -for repo in hurd gnumach mig web; do - if [ ! -d $repo ]; then - git clone "https://crupest.life/git/hurd/$repo.git" - pushd $repo - git remote add upstream "https://git.savannah.gnu.org/git/hurd/$repo.git" - popd - fi -done -``` - -{{< link-group >}} -hurd -cru: -upstream: -debian: -{{< /link-group >}} - -{{< link-group >}} -gnumach -cru: -upstream: -debian: -{{< /link-group >}} - -{{< link-group >}} -mig -cru: -upstream: -debian: -{{< /link-group >}} - -{{< link-group >}} -glibc -cru: -upstream: -debian: -mirror: -{{< /link-group >}} - -{{< link-group >}} -web -cru: -upstream: -{{< /link-group >}} diff --git a/www/content/notes/hurd/_index.md b/www/content/notes/hurd/_index.md new file mode 100644 index 0000000..8faf70b --- /dev/null +++ b/www/content/notes/hurd/_index.md @@ -0,0 +1,15 @@ +--- +title: "Hurd" +date: 2025-03-03T15:34:41+08:00 +lastmod: 2025-06-12T01:09:39+08:00 +layout: single +--- + +This is the gateway page for various notes about +[GNU/Hurd](https://www.gnu.org/software/hurd/) written by me. + +- [Cheat Sheet](/notes/hurd/cheat-sheet) + +- [Todos](/notes/hurd/todos) + +- [Useful Links](/notes/hurd/links) diff --git a/www/content/notes/hurd/cheat-sheet.md b/www/content/notes/hurd/cheat-sheet.md index f48e943..6fe5ccd 100644 --- a/www/content/notes/hurd/cheat-sheet.md +++ b/www/content/notes/hurd/cheat-sheet.md @@ -1,7 +1,7 @@ --- title: "Hurd Cheat Sheet" date: 2025-06-12T00:59:16+08:00 -lastmod: 2025-06-12T00:59:16+08:00 +lastmod: 2025-06-14T20:34:06+08:00 --- ## Mirrors @@ -45,6 +45,9 @@ boot on. QEMU cli arguments `-machine q35` enables AHCI and SATA, and is **required for official x86_64 image to boot**. As for i386, I haven't checked now. +There is [a Deno script](https://github.com/crupest/crupest/blob/dev/deno/tools/manage-vm.ts) +written by me to help define and build QEMU cli arguments of VMs. + ## Inside Hurd Configure/Setup network diff --git a/www/content/notes/hurd/links.md b/www/content/notes/hurd/links.md new file mode 100644 index 0000000..1e966d4 --- /dev/null +++ b/www/content/notes/hurd/links.md @@ -0,0 +1,88 @@ +--- +title: "Hurd Useful Links" +date: 2025-06-14T20:34:06+08:00 +lastmod: 2025-06-14T20:34:06+08:00 +--- + +## links + +| name | link | +| --- | --- | +| kernel-list-archive | | +| debian-list-archive | | +| irc-archive | | +| kernel-home | | +| debian-home | | + +refs: + +| name | link | +| --- | --- | +| c | | +| posix latest | | +| posix 2013 | | +| posix 2008 | | +| glibc | | + +## mailing lists / irc + +| name | address | +| --- | --- | +| hurd | | +| debian | | +| irc | librechat #hurd | + +## *_MAX patch + +See [this](posts/c-func-ext.md) + +## git repos + +Clone all at once: + +```sh +# glibc is too big, so not clone here. +for repo in hurd gnumach mig web; do + if [ ! -d $repo ]; then + git clone "https://crupest.life/git/hurd/$repo.git" + pushd $repo + git remote add upstream "https://git.savannah.gnu.org/git/hurd/$repo.git" + popd + fi +done +``` + +{{< link-group >}} +hurd +cru: +upstream: +debian: +{{< /link-group >}} + +{{< link-group >}} +gnumach +cru: +upstream: +debian: +{{< /link-group >}} + +{{< link-group >}} +mig +cru: +upstream: +debian: +{{< /link-group >}} + +{{< link-group >}} +glibc +cru: +upstream: +debian: +mirror: +{{< /link-group >}} + +{{< link-group >}} +web +cru: +upstream: +{{< /link-group >}} diff --git a/www/content/notes/hurd/todos.md b/www/content/notes/hurd/todos.md index 8fe068b..2dbded3 100644 --- a/www/content/notes/hurd/todos.md +++ b/www/content/notes/hurd/todos.md @@ -1,7 +1,7 @@ --- title: "Hurd Todos" date: 2025-03-03T21:22:35+08:00 -lastmod: 2025-03-03T23:28:46+08:00 +lastmod: 2025-06-14T20:34:06+08:00 params: css: - todos @@ -9,7 +9,11 @@ params: ## Porting -{{< todo name=pam state=give-up >}} +### hurd-fs4 {class="todo working"} + + + +### pam {class="todo give-up"} {{< link-group >}} git @@ -23,9 +27,7 @@ mail {{< /link-group >}} -{{< /todo >}} - -{{< todo name=abseil state=working >}} +### abseil {class="todo working"} {{< link-group >}} git @@ -40,9 +42,7 @@ mail {{< /link-group >}} -{{< /todo >}} - -{{< todo name=libgav1 state=done >}} +### libgav1 {class="todo done"} {{< link-group >}} git @@ -56,5 +56,3 @@ misc mail: gerrit: {{< /link-group >}} - -{{< /todo >}} diff --git a/www/content/notes/todos.md b/www/content/notes/todos.md deleted file mode 100644 index 1625362..0000000 --- a/www/content/notes/todos.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "Todos" -date: 2025-03-03T15:34:53+08:00 -lastmod: 2025-03-03T23:28:46+08:00 ---- - -[Hurd](/notes/hurd/todos) -- cgit v1.2.3