Integrate Red Bear boot and packaging updates

This commit is contained in:
2026-04-22 10:22:09 +01:00
parent dd68c4ba03
commit b5ae8b2760
77 changed files with 259225 additions and 16971 deletions
+9
View File
@@ -0,0 +1,9 @@
# Red Bear OS GRUB Live Mini Configuration
# Canonical GRUB-backed live ISO for the stripped console/recovery target.
#
# Build: make live CONFIG_NAME=redbear-grub-live-mini
include = ["redbear-live-mini.toml", "redbear-grub.toml"]
[general]
efi_partition_size = 16
+4 -11
View File
@@ -1,14 +1,7 @@
# Red Bear OS Live Full Configuration
# Live ISO variant for the primary full desktop/session target on real bare metal.
# Legacy compatibility alias for the canonical full live target.
#
# Build: make live CONFIG_NAME=redbear-live-full
# This ISO is for real bare-metal boot/install/recovery, not VM/QEMU use.
# Preferred build: make live CONFIG_NAME=redbear-live
# Legacy build: make live CONFIG_NAME=redbear-live-full
include = ["redbear-full.toml"]
[general]
filesystem_size = 4096
[packages]
cub = {}
redbear-meta = {}
include = ["redbear-live.toml"]
+4 -3
View File
@@ -1,6 +1,7 @@
# Red Bear OS Live Mini Configuration with GRUB Boot Manager
# Live ISO for stripped console/recovery target with installer-native GRUB chainload.
# Legacy compatibility alias for the canonical GRUB mini live target.
#
# Build: make live CONFIG_NAME=redbear-live-mini-grub
# Preferred build: make live CONFIG_NAME=redbear-grub-live-mini
# Legacy build: make live CONFIG_NAME=redbear-live-mini-grub
include = ["redbear-live-mini.toml", "redbear-grub.toml"]
include = ["redbear-grub-live-mini.toml"]
+100 -53
View File
@@ -4,70 +4,117 @@
# Build: make live CONFIG_NAME=redbear-live-mini
#
# Target contract:
# - keep full non-graphics system surface from redbear-full
# - strip graphics/desktop session stack
# - strip network firmware payload
# - keep a text-login live/recovery surface only
# - avoid the shared firmware/input/device-service stack from redbear-minimal
# - ship no graphics packages/services and no linux-firmware payload
include = ["redbear-full.toml"]
include = ["minimal.toml", "redbear-legacy-base.toml", "redbear-netctl.toml"]
[general]
filesystem_size = 3072
filesystem_size = 768
[packages]
# Strip firmware payload from mini live image.
redbear-firmware = "ignore"
firmware-loader = "ignore"
# Red Bear OS branding and host utilities.
redbear-release = {}
redbear-hwutils = {}
# Strip graphics/session surface.
installer-gui = "ignore"
redbear-authd = "ignore"
redbear-session-launch = "ignore"
redbear-greeter = "ignore"
libwayland = "ignore"
wayland-protocols = "ignore"
libxkbcommon = "ignore"
xkeyboard-config = "ignore"
libevdev = "ignore"
libinput = "ignore"
seatd = "ignore"
qtbase = "ignore"
qtdeclarative = "ignore"
qtsvg = "ignore"
qtwayland = "ignore"
qt6-wayland-smoke = "ignore"
kf6-extra-cmake-modules = "ignore"
kf6-kcoreaddons = "ignore"
kf6-kconfig = "ignore"
kf6-ki18n = "ignore"
kf6-kcolorscheme = "ignore"
kf6-kauth = "ignore"
kf6-kwindowsystem = "ignore"
kf6-knotifications = "ignore"
kf6-kconfigwidgets = "ignore"
kf6-kcrash = "ignore"
kf6-kdbusaddons = "ignore"
kf6-kglobalaccel = "ignore"
kf6-kservice = "ignore"
kf6-kpackage = "ignore"
kf6-kiconthemes = "ignore"
kirigami = "ignore"
kf6-kio = "ignore"
kf6-kdeclarative = "ignore"
kf6-kcmutils = "ignore"
kf6-kwayland = "ignore"
kdecoration = "ignore"
kwin = "ignore"
redox-drm = "ignore"
mesa = "ignore"
libdrm = "ignore"
# Redox-native netctl tooling.
redbear-netctl = {}
redbear-netctl-console = {}
redbear-netstat = {}
redbear-traceroute = {}
redbear-mtr = {}
redbear-nmap = {}
# Diagnostics and shell-side utilities.
mc = {}
redbear-info = {}
# Keep package builder utility in live environment.
cub = {}
[[files]]
path = "/usr/lib/init.d/20_display.service"
path = "/etc/netctl/active"
data = "wired-dhcp\n"
[[files]]
path = "/usr/lib/init.d/30_console"
data = ""
[[files]]
path = "/usr/lib/init.d/20_greeter.service"
data = ""
path = "/usr/lib/init.d/29_activate_console.service"
data = """
[unit]
description = "Activate console (text-only no-op)"
requires_weak = [
"00_base.target",
]
[service]
cmd = "true"
type = "oneshot"
"""
[[files]]
path = "/usr/lib/init.d/30_console.service"
data = """
[unit]
description = "Console terminals"
requires_weak = [
"29_activate_console.service",
]
[service]
cmd = "getty"
args = ["/scheme/tty"]
type = "oneshot_async"
"""
[[files]]
path = "/usr/lib/init.d/31_debug_console.service"
data = """
[unit]
description = "Debug console"
requires_weak = [
"00_base.target",
]
[service]
cmd = "getty"
args = ["/scheme/debug/no-preserve", "-J"]
type = "oneshot_async"
"""
[[files]]
path = "/etc/motd"
data = """
########## Red Bear OS ##########
# Login with the following: #
# `user` #
# `root`:`password` #
##################################
"""
[[files]]
path = "/etc/pcid.d/ihdgd.toml"
data = """
# redbear-live-mini: text-only image, disable Intel HD graphics auto-spawn
[[drivers]]
name = "disabled ihdgd sentinel"
class = 0xFF
vendor = 0xFFFF
device = 0xFFFF
command = ["ihdgd"]
"""
[[files]]
path = "/etc/pcid.d/virtio-gpud.toml"
data = """
# redbear-live-mini: text-only image, disable virtio GPU auto-spawn
[[drivers]]
name = "disabled virtio-gpud sentinel"
class = 0xFF
vendor = 0xFFFF
device = 0xFFFF
command = ["virtio-gpud"]
"""
+15
View File
@@ -0,0 +1,15 @@
# Red Bear OS Live Configuration
# Canonical full live ISO target for the desktop/session surface on real bare metal.
#
# Build: make live CONFIG_NAME=redbear-live
# This ISO is for real bare-metal boot/install/recovery, not VM/QEMU use.
include = ["redbear-full.toml"]
[general]
filesystem_size = 3072
efi_partition_size = 1
[packages]
cub = {}
redbear-meta = {}