mirror of
https://github.com/blazblue547-afk/ForgeOS.git
synced 2026-12-02 14:34:17 -05:00
chore(rootfs): remove Doom Emacs layer
Add the ForgeOS home ownership repair unit to the normal rootfs assembly.
This commit is contained in:
1 parent
7e7ca149c7
commit
eb8038ef4c
10 files changed
+36
-334
No files matched your search
@@ -2,7 +2,7 @@
|
||||
|
||||
ForgeOS is a custom `x86_64` operating system project that defaults to a CLI-only source-built userspace instead of an existing Linux distribution tree. It uses the Linux kernel as the kernel layer, systemd as PID 1, BusyBox as a compact shell/rescue utility set, a custom root filesystem overlay, and direct UEFI boot through the kernel EFI stub. An optional GNOME desktop image flavor is available through a Debian package bootstrap.
|
||||
|
||||
As of `2026-06-16`, the project defaults to:
|
||||
As of `2026-06-17`, the project defaults to:
|
||||
|
||||
- Linux kernel `7.1`
|
||||
- systemd `260`
|
||||
@@ -14,7 +14,6 @@ As of `2026-06-16`, the project defaults to:
|
||||
- 64-bit only
|
||||
- UEFI boot
|
||||
- text console only
|
||||
- optional Doom Emacs tool layer for the normal rootfs
|
||||
- optional GNOME desktop image using Debian `trixie` packages
|
||||
|
||||
## What This Repository Produces
|
||||
@@ -72,16 +71,6 @@ ENABLE_DESKTOP=1 make run-desktop
|
||||
|
||||
This keeps the regular ForgeOS rootfs path and stages Openbox, tint2, PCManFM, Xorg, fonts, icons, and a terminal into it. The serial login prompt remains on `ttyS0`; `tty1` starts the desktop session.
|
||||
|
||||
To add Doom Emacs without switching OS flavors:
|
||||
|
||||
```bash
|
||||
cd /home/joe/forgeos
|
||||
ENABLE_DOOM_EMACS=1 make image
|
||||
ENABLE_DOOM_EMACS=1 make run-image
|
||||
```
|
||||
|
||||
This keeps the normal ForgeOS rootfs path and stages Emacs, Git, ripgrep, GNU find, fd, CA certificates, and the Doom Emacs Git checkout. On first shell login, ForgeOS seeds the user's `~/.config/emacs` and `~/.config/doom` from the staged Doom checkout and adds the Doom `bin` directory to `PATH`. Log in as `forge`, then run `doom sync` to fetch and compile the per-user Doom package set, followed by `doom doctor` if you want a dependency check.
|
||||
|
||||
To build a GNOME desktop image, install `mmdebstrap` on the host and use the GNOME targets:
|
||||
|
||||
```bash
|
||||
@@ -121,7 +110,6 @@ sudo make install DISK=/dev/nvme0n1
|
||||
- `systemd-logind` is included in the source-built systemd layer, owns `org.freedesktop.login1` on the system bus, and provides `loginctl` plus the logind varlink socket. `pam_systemd.so` registers console logins as logind sessions.
|
||||
- DHCP networking is handled by `systemd-networkd`; DNS is handled by `systemd-resolved`, with `/etc/resolv.conf` linked to `/run/systemd/resolve/resolv.conf`.
|
||||
- `ENABLE_DESKTOP=1` adds an Openbox/tint2/PCManFM desktop layer to the normal ForgeOS rootfs by extracting a minimal Debian package payload while preserving the source-built systemd and D-Bus daemons.
|
||||
- `ENABLE_DOOM_EMACS=1` adds a Doom Emacs layer to the normal ForgeOS rootfs by extracting the needed Debian runtime packages and staging the upstream Doom Emacs Git checkout under `/usr/share/doom-emacs`.
|
||||
- `DESKTOP=gnome` switches rootfs assembly to a Debian package bootstrap because GNOME depends on a large desktop stack that ForgeOS does not source-build yet.
|
||||
|
||||
Set `BOOTLOADER=stub` when building an image to use the direct kernel EFI-stub fallback path instead of GRUB.
|
||||
@@ -161,7 +149,6 @@ Linux-PAM, systemd, and D-Bus are built with Meson/Ninja and staged dynamically.
|
||||
- Nix is the package manager for the normal ForgeOS rootfs, but ForgeOS does not yet have a declarative NixOS-style system rebuild/update flow.
|
||||
- Account management is limited to the built-in `forge` and `root` accounts.
|
||||
- The Openbox desktop layer is a staged runtime payload, not an in-OS package manager.
|
||||
- The Doom Emacs layer stages the framework and runtime tools, but the per-user Doom package cache is initialized with `doom sync` after first login.
|
||||
- GNOME support is currently a package-bootstrapped desktop flavor, not a source-built ForgeOS desktop stack.
|
||||
- The installer is host-side only; there is no in-OS guided installer yet.
|
||||
|
||||
|
||||
Reference in new issue
Block a user