From da82a9f2a39064ce8faac791de319097ae676546 Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Fri, 28 Feb 2025 21:06:49 +0800 Subject: feat(hurd): add some hurd info. --- .editorconfig | 3 ++ hurd.yaml | 94 -------------------------------------------------- hurd/hurd.yaml | 107 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 110 insertions(+), 94 deletions(-) delete mode 100644 hurd.yaml create mode 100644 hurd/hurd.yaml diff --git a/.editorconfig b/.editorconfig index 529f610..d1a54da 100644 --- a/.editorconfig +++ b/.editorconfig @@ -11,5 +11,8 @@ trim_trailing_whitespace = true indent_style = tab tab_width = 8 +[*.{yaml,yml}] +indent_size = 2 + [*.py] profile = black diff --git a/hurd.yaml b/hurd.yaml deleted file mode 100644 index efd99a3..0000000 --- a/hurd.yaml +++ /dev/null @@ -1,94 +0,0 @@ -kernel: - site: - home: https://www.gnu.org/software/hurd/index.html - irc-archive: https://logs.guix.gnu.org/hurd/ - - mailing-list: - - address: bug-hurd@gnu.org - archive: https://lists.gnu.org/archive/html/bug-hurd/ - - project: - - - name: hurd - git: - my: https://git.crupest.life/love-hurd/hurd - upstream: https://git.savannah.gnu.org/git/hurd/hurd.git - debian: https://salsa.debian.org/hurd-team/hurd - - - name: gnumach - git: - my: https://git.crupest.life/love-hurd/gnumach - upstream: https://git.savannah.gnu.org/git/hurd/gnumach.git - debian: https://salsa.debian.org/hurd-team/gnumach - - - name: mig - git: - my: https://git.crupest.life/love-hurd/mig - upstream: https://git.savannah.gnu.org/git/hurd/mig.git - debian: https://salsa.debian.org/hurd-team/mig - - - name: glibc - git: - my: https://git.crupest.life/love-hurd/glibc - upstream: git://sourceware.org/git/glibc.git - debian: https://salsa.debian.org/glibc-team/glibc - mirror: https://mirrors.tuna.tsinghua.edu.cn/git/glibc.git - - - name: web - git: - my: https://git.crupest.life/love-hurd/web - upstream: https://git.savannah.gnu.org/git/hurd/web.git - - -debian-port: - site: - home: https://www.debian.org/ports/hurd/ - - mailing-list: - - address: debian-hurd@lists.debian.org - archive: https://lists.debian.org/debian-hurd/ - - package: - - - name: abseil - git: - my: https://git.crupest.life/love-hurd/abseil - debian: https://salsa.debian.org/debian/abseil - upstream: https://github.com/abseil/abseil-cpp - mail: - - https://lists.debian.org/debian-hurd/2025/02/msg00011.html - - https://lists.debian.org/debian-hurd/2025/02/msg00035.html - - - - name: libgav1 - git: - my: https://git.crupest.life/love-hurd/libgav1 - debian: https://salsa.debian.org/multimedia-team/libgav1 - upstream: https://chromium.googlesource.com/codecs/libgav1/ - mail: - - https://lists.debian.org/debian-hurd/2025/02/msg00016.html - gerrit: - - https://chromium-review.googlesource.com/c/codecs/libgav1/+/6239812 - - -cheatsheet: - - - name: Configure/Setup network. - tag: - - network - - setup - - configure - command: - - settrans -fgap /servers/socket/2 /hurd/pfinet -i /dev/eth0 -a 10.0.2.15 -g 10.0.2.2 -m 255.255.255.0 - - fsysopts /servers/socket/2 /hurd/pfinet -i /dev/eth0 -a 10.0.2.15 -g 10.0.2.2 -m 255.255.255.0 - - fsysopts /server/socket/2 -a 10.0.2.15 -g 10.0.2.2 -m 255.255.255.0 - note: -a 10.0.2.15 -g 10.0.2.2 -m 255.255.255.0 is used in VirtualBox. - - - name: Setup apt after system installation or when cert/gpg are outdated. - tag: - - setup - - debian - - apt - command: - - apt-get --allow-unauthenticated --allow-insecure-repositories update - - apt-get --allow-unauthenticated upgrade diff --git a/hurd/hurd.yaml b/hurd/hurd.yaml new file mode 100644 index 0000000..88b8c33 --- /dev/null +++ b/hurd/hurd.yaml @@ -0,0 +1,107 @@ +kernel: + site: + home: https://www.gnu.org/software/hurd/index.html + irc-archive: https://logs.guix.gnu.org/hurd/ + + mailing-list: + - address: bug-hurd@gnu.org + archive: https://lists.gnu.org/archive/html/bug-hurd/ + + project: + + - name: hurd + git: + my: https://crupest.life/git/love-hurd/hurd.git + upstream: https://git.savannah.gnu.org/git/hurd/hurd.git + debian: https://salsa.debian.org/hurd-team/hurd + + - name: gnumach + git: + my: https://crupest.life/git/love-hurd/gnumach.git + upstream: https://git.savannah.gnu.org/git/hurd/gnumach.git + debian: https://salsa.debian.org/hurd-team/gnumach + + - name: mig + git: + my: https://crupest.life/git/love-hurd/mig.git + upstream: https://git.savannah.gnu.org/git/hurd/mig.git + debian: https://salsa.debian.org/hurd-team/mig + + - name: glibc + git: + my: https://crupest.life/git/love-hurd/glibc.git + upstream: git://sourceware.org/git/glibc.git + debian: https://salsa.debian.org/glibc-team/glibc + mirror: https://mirrors.tuna.tsinghua.edu.cn/git/glibc.git + + - name: web + git: + my: https://crupest.life/git/love-hurd/web.git + upstream: https://git.savannah.gnu.org/git/hurd/web.git + + +debian-port: + site: + home: https://www.debian.org/ports/hurd/ + + mailing-list: + - address: debian-hurd@lists.debian.org + archive: https://lists.debian.org/debian-hurd/ + + package: + + - name: abseil + git: + my: https://crupest.life/git/love-hurd/abseil.git + debian: https://salsa.debian.org/debian/abseil + upstream: https://github.com/abseil/abseil-cpp + mail: + - https://lists.debian.org/debian-hurd/2025/02/msg00011.html + - https://lists.debian.org/debian-hurd/2025/02/msg00035.html + + + - name: libgav1 + git: + my: https://crupest.life/git/love-hurd/libgav1.git + debian: https://salsa.debian.org/multimedia-team/libgav1 + upstream: https://chromium.googlesource.com/codecs/libgav1/ + mail: + - https://lists.debian.org/debian-hurd/2025/02/msg00016.html + gerrit: + - https://chromium-review.googlesource.com/c/codecs/libgav1/+/6239812 + + - name: pam + git: + my: https://crupest.life/git/love-hurd/pam.git + debian: https://salsa.debian.org/vorlon/pam + upstream: https://github.com/linux-pam/linux-pam + mail: + - https://lists.debian.org/debian-hurd/2025/02/msg00018.html + +cheatsheet: + - name: Start Hurd in qemu kvm. + tag: + - run + - setup + command: + - qemu-system-x86_64 -enable-kvm -m 4G -net nic -net user,hostfwd=tcp::3222-:22 -vga vmware -drive cache=writeback,file=[...] + + - name: Configure/Setup network. + tag: + - network + - setup + - configure + command: + - settrans -fgap /servers/socket/2 /hurd/pfinet -i /dev/eth0 -a 10.0.2.15 -g 10.0.2.2 -m 255.255.255.0 + - fsysopts /servers/socket/2 /hurd/pfinet -i /dev/eth0 -a 10.0.2.15 -g 10.0.2.2 -m 255.255.255.0 + - fsysopts /server/socket/2 -a 10.0.2.15 -g 10.0.2.2 -m 255.255.255.0 + note: -a 10.0.2.15 -g 10.0.2.2 -m 255.255.255.0 is used in VirtualBox. + + - name: Setup apt after system installation or when cert/gpg are outdated. + tag: + - setup + - debian + - apt + command: + - apt-get --allow-unauthenticated --allow-insecure-repositories update + - apt-get --allow-unauthenticated upgrade -- cgit v1.2.3