Fix install-breaking and live-boot bugs, verified on real hardware
All checks were successful
Mirror to GitHub / mirror (push) Successful in 3s
All checks were successful
Mirror to GitHub / mirror (push) Successful in 3s
Boot-critical (each confirmed with a real boot/install cycle, not just code review): - Live ISO's liveuser shell is zsh, but Hyprland autostart was written to .bash_profile (never runs) — moved to .zprofile, and switched to start-hyprland (Hyprland's own watchdog wrapper; raw `exec Hyprland` is no longer the recommended launch method). - copytoram (self-enables on most real hardware: non-optical boot + image < 4GiB + enough free RAM) unmounts /run/archiso/bootmnt, which unpackfs.conf and bos-copy-kernel both hardcoded as their source — broke the installer outright on real hardware, confirmed by forcing copytoram=y. Added a resolver step for unpackfs, and switched the kernel copy to /usr/lib/modules/$(uname -r)/vmlinuz (part of the live squashfs itself, unaffected by copytoram). - BIOS installs got no bootloader — post-install.sh only ever ran the UEFI grub-install path despite BOS shipping bios.syslinux. Added a BIOS branch with disk auto-detection. - @snapshots/@log/@cache were never real: iso/partition.conf's btrfsSubvolumes key isn't part of this Calamares version's partition module schema at all (same class of bug as the userShell fix below — silently ignored). Calamares only natively creates @ and @home. post-install.sh now creates the three subvolumes by hand after unpackfs, migrates existing /var/log + /var/cache content into them before mounting over, and adds the fstab entries — verified end to end on real hardware, including grub-btrfs generating bootable snapshot menu entries. The unmount step in the existing snapper create-config dance also gained retry + lazy-unmount fallback after a real chroot run hit a transient busy-mount race. - Default shell was bash instead of zsh post-install: users.conf's top-level `userShell` key isn't part of this Calamares version's users module schema either — the real key is nested (user.shell). - graphical-session.target ships RefuseManualStart=yes (systemd convention), so the earlier attempt to activate it from hyprland.lua silently failed and breadclipd (WantedBy=graphical-session.target) never started. Starts breadclipd.service directly instead. - /etc/os-release was never set (showed "Arch Linux"); live boot never had quiet/splash/plymouth wired in (raw kernel scroll the whole time) despite BOS already shipping a complete bread-logo+spinner plymouth theme for the installed system. Also: generalized build-local.sh's per-service skel baking (previously only breadd.service was hand-committed; breadbox-sync/breadmill/ breadclipd never shipped), added the four new bakery packages to BREAD_BINS, removed the redundant cliphist/fzf clipboard pipeline in favor of breadclip, mirrored fastfetch's bread-logo config into skel, and fixed a stale bos-update comment.
This commit is contained in:
parent
81f2f3545a
commit
a8f1592e75
24 changed files with 373 additions and 56 deletions
|
|
@ -1,3 +1,3 @@
|
|||
[[context]]
|
||||
name = "default"
|
||||
apps = ["firefox", "foot", "nautilus", "code"]
|
||||
priority = ["Zen Browser", "kitty", "Files"]
|
||||
|
|
|
|||
20
iso/airootfs/etc/skel/.config/fastfetch/bread.txt
Normal file
20
iso/airootfs/etc/skel/.config/fastfetch/bread.txt
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
[0m[38;2;0;0;0m [38;2;2;2;2m [38;2;10;10;11m [38;2;12;13;14m [38;2;14;16;17m [38;2;16;17;19m [38;2;18;20;22m [38;2;18;20;21m [38;2;16;17;19m [38;2;14;16;17m [38;2;10;11;12m [38;2;7;7;8m [38;2;0;0;0m [38;2;0;0;0m [0m
|
||||
[0m[38;2;0;0;0m [38;2;2;2;2m [38;2;9;10;11m [38;2;15;17;18m [38;2;20;23;25m [38;2;25;28;30m [38;2;28;32;35m.[38;2;31;36;39m.[38;2;35;40;43m.[38;2;51;56;59m.[38;2;65;69;72m'[38;2;75;79;83m,[38;2;83;87;90m,[38;2;88;92;95m;[38;2;91;95;98m;[38;2;91;95;98m;[38;2;89;92;95m;[38;2;84;88;91m,[38;2;76;80;83m,[38;2;67;71;75m'[38;2;54;58;61m.[38;2;36;40;44m.[38;2;30;34;37m.[38;2;27;30;33m.[38;2;23;26;29m [38;2;20;23;25m [38;2;16;17;19m [38;2;10;11;12m [38;2;1;2;2m [38;2;0;0;0m [0m
|
||||
[0m[38;2;0;0;0m [38;2;9;10;10m [38;2;19;22;24m [38;2;28;32;35m.[38;2;35;40;44m.[38;2;71;75;78m'[38;2;116;119;122mc[38;2;150;152;154md[38;2;177;179;181mk[38;2;203;204;205mK[38;2;225;226;226mX[38;2;245;245;245mW[38;2;255;255;255mMM[38;2;251;251;251mM[38;2;242;242;243mW[38;2;235;235;236mN[38;2;230;230;231mN[38;2;228;229;229mN[38;2;229;230;230mN[38;2;235;235;235mN[38;2;242;243;243mW[38;2;252;252;252mM[38;2;255;255;255mM[38;2;250;250;250mM[38;2;232;232;233mN[38;2;210;211;212mK[38;2;184;186;187mO[38;2;153;156;158md[38;2;116;119;121mc[38;2;72;76;79m'[38;2;38;42;46m.[38;2;28;32;35m.[38;2;20;22;24m [38;2;10;11;11m [38;2;0;0;0m [38;2;0;0;0m [0m
|
||||
[0m[38;2;0;0;0m [38;2;8;8;9m [38;2;28;32;35m.[38;2;36;41;45m.[38;2;93;97;100m;[38;2;165;167;169mx[38;2;229;229;230mN[38;2;244;244;245mW[38;2;200;201;202m0[38;2;160;162;164mx[38;2;131;134;136mo[38;2;109;113;115mc[38;2;91;95;98m;[38;2;76;80;83m,[38;2;62;66;70m'[38;2;49;54;58m.[38;2;39;43;47m.[38;2;34;39;43m.......[38;2;39;44;48m.[38;2;51;55;59m.[38;2;65;69;72m'[38;2;82;86;89m,[38;2;105;108;111m:[38;2;133;136;138mo[38;2;166;168;169mx[38;2;204;205;206mK[38;2;244;244;245mW[38;2;236;236;237mN[38;2;180;182;183mO[38;2;110;113;116mc[38;2;41;45;49m.[38;2;30;34;37m.[38;2;10;11;11m [38;2;0;0;0m [0m
|
||||
[0m[38;2;4;5;5m [38;2;35;40;44m.[38;2;65;69;73m'[38;2;215;216;216mX[38;2;247;247;248mW[38;2;158;160;162mx[38;2;87;91;94m;[38;2;40;45;49m.[38;2;34;39;43m........................[38;2;39;44;48m.[38;2;81;85;88m,[38;2;148;150;152md[38;2;242;242;242mW[38;2;226;226;227mN[38;2;75;79;83m,[38;2;35;40;44m.[38;2;9;9;10m [0m
|
||||
[0m[38;2;11;13;14m [38;2;34;39;43m.[38;2;161;163;164mx[38;2;255;255;255mM[38;2;133;136;138mo[38;2;34;39;43m..............................[38;2;114;117;119mc[38;2;255;255;255mM[38;2;174;176;178mk[38;2;34;39;43m.[38;2;17;19;20m [0m
|
||||
[0m[38;2;17;17;17m [38;2;33;38;41m.[38;2;84;88;91m;[38;2;244;245;245mW[38;2;206;207;208mK[38;2;64;69;72m'[38;2;34;39;43m............................[38;2;60;65;68m'[38;2;186;188;189mO[38;2;249;250;250mM[38;2;100;104;107m:[38;2;34;39;43m.[38;2;1;1;1m [0m
|
||||
[0m[38;2;0;0;0m [38;2;17;17;17m [38;2;5;6;6m [38;2;65;69;73m'[38;2;143;145;147mo[38;2;245;245;245mW[38;2;199;201;202m0[38;2;45;49;53m.[38;2;34;39;43m...[38;2;55;60;63m.[38;2;149;151;153md[38;2;100;104;107m:[38;2;35;40;44m.[38;2;34;39;43m.................[38;2;38;43;47m.[38;2;191;193;194m0[38;2;249;250;250mM[38;2;150;152;154md[38;2;72;76;79m'[38;2;8;10;10m [38;2;19;19;19m [38;2;0;0;0m [0m
|
||||
[0m[38;2;0;0;0m [38;2;2;2;2m [38;2;21;23;25m [38;2;34;39;43m.[38;2;171;173;175mk[38;2;255;255;255mM[38;2;100;103;106m:[38;2;34;39;43m...[38;2;126;129;131ml[38;2;232;233;233mN[38;2;255;255;255mM[38;2;211;212;212mK[38;2;109;112;115mc[38;2;37;42;46m.[38;2;34;39;43m...............[38;2;83;87;90m,[38;2;255;255;255mM[38;2;190;191;193mO[38;2;34;39;43m.[38;2;24;27;29m [38;2;4;4;4m [38;2;0;0;0m [0m
|
||||
[0m[38;2;0;0;0m [38;2;14;16;17m [38;2;34;39;43m.[38;2;149;152;154md[38;2;255;255;255mM[38;2;117;120;122mc[38;2;34;39;43m....[38;2;42;47;51m.[38;2;123;126;128ml[38;2;223;223;224mX[38;2;255;255;255mM[38;2;222;223;223mX[38;2;125;128;130ml[38;2;43;48;52m.[38;2;34;39;43m.............[38;2;101;104;107m:[38;2;255;255;255mM[38;2;168;170;172mk[38;2;34;39;43m.[38;2;16;18;19m [38;2;0;0;0m [0m
|
||||
[0m[38;2;0;0;0m [38;2;16;17;18m [38;2;34;39;43m.[38;2;157;159;161mx[38;2;255;255;255mM[38;2;113;116;118mc[38;2;34;39;43m......[38;2;40;44;48m.[38;2;177;178;180mk[38;2;255;255;255mMM[38;2;223;224;225mX[38;2;62;66;70m'[38;2;34;39;43m............[38;2;95;98;101m;[38;2;255;255;255mM[38;2;177;179;180mk[38;2;34;39;43m.[38;2;14;16;18m [38;2;0;0;0m [0m
|
||||
[0m[38;2;0;0;0m [38;2;17;19;20m [38;2;34;39;43m.[38;2;177;179;180mk[38;2;255;255;255mM[38;2;96;100;103m:[38;2;34;39;43m....[38;2;37;42;46m.[38;2;107;110;113m:[38;2;209;210;211mK[38;2;255;255;255mM[38;2;234;234;235mN[38;2;141;144;146mo[38;2;51;56;60m.[38;2;34;39;43m.............[38;2;79;83;86m,[38;2;255;255;255mM[38;2;197;198;199m0[38;2;34;39;43m.[38;2;19;22;23m [38;2;0;0;0m [0m
|
||||
[0m[38;2;0;0;0m [38;2;22;25;27m [38;2;34;39;43m.[38;2;202;203;204mK[38;2;255;255;255mM[38;2;75;79;82m,[38;2;34;39;43m...[38;2;117;120;122mc[38;2;220;221;221mX[38;2;255;255;255mM[38;2;224;225;226mX[38;2;125;128;130ml[38;2;43;48;52m.[38;2;34;39;43m..[38;2;44;49;53m.[38;2;122;126;128ml[38;2;124;127;129mllllllll[38;2;44;49;53m.[38;2;34;39;43m..[38;2;57;61;65m.[38;2;255;255;255mM[38;2;223;223;224mX[38;2;34;39;43m.[38;2;26;29;31m [38;2;0;0;0m [0m
|
||||
[0m[38;2;0;0;0m [38;2;32;36;39m.[38;2;34;39;43m.[38;2;229;230;230mN[38;2;255;255;255mM[38;2;50;55;58m.[38;2;34;39;43m...[38;2;73;77;80m,[38;2;173;174;176mk[38;2;117;120;122mc[38;2;39;44;48m.[38;2;34;39;43m....[38;2;55;60;63m.[38;2;196;197;198m0[38;2;195;197;198m0[38;2;194;195;196m0[38;2;192;193;194m0[38;2;190;191;193mO[38;2;188;190;191mO[38;2;186;188;189mO[38;2;185;186;187mO[38;2;183;184;186mO[38;2;63;67;71m'[38;2;34;39;43m..[38;2;36;41;45m.[38;2;251;251;251mM[38;2;249;249;249mW[38;2;36;41;45m.[38;2;32;36;39m.[38;2;0;0;0m [0m
|
||||
[0m[38;2;0;0;0m [38;2;0;0;0m [38;2;37;42;45m.[38;2;38;43;47m.[38;2;252;252;252mM[38;2;245;246;246mW[38;2;34;39;43m.[38;2;34;39;43m.........................[38;2;230;230;231mN[38;2;255;255;255mM[38;2;57;61;65m.[38;2;37;41;45m.[38;2;1;1;1m [38;2;0;0;0m [0m
|
||||
[0m[38;2;0;0;0m [38;2;7;7;7m [38;2;34;39;43m.[38;2;57;61;65m.[38;2;255;255;255mM[38;2;224;225;226mX[38;2;34;39;43m..........................[38;2;212;213;214mK[38;2;255;255;255mM[38;2;79;83;86m,[38;2;34;39;43m.[38;2;8;8;8m [38;2;0;0;0m [0m
|
||||
[0m[38;2;0;0;0m [38;2;12;12;12m [38;2;34;39;43m.[38;2;64;69;72m'[38;2;255;255;255mM[38;2;225;225;226mX[38;2;34;39;43m..........................[38;2;216;216;217mX[38;2;255;255;255mM[38;2;88;91;95m;[38;2;34;39;43m.[38;2;1;2;2m [38;2;0;0;0m [0m
|
||||
[0m[38;2;0;0;0m [38;2;3;3;3m [38;2;23;26;29m [38;2;40;45;49m.[38;2;219;220;221mX[38;2;255;255;255mM[38;2;207;208;208mK[38;2;183;184;186mO[38;2;171;173;174mk[38;2;163;165;167mx[38;2;157;159;161mx[38;2;153;155;157md[38;2;149;152;154md[38;2;146;149;151md[38;2;144;147;149md[38;2;143;145;147mo[38;2;142;145;147moooo[38;2;143;145;147mo[38;2;144;147;149md[38;2;146;148;150md[38;2;148;150;152md[38;2;151;153;155md[38;2;154;156;158md[38;2;157;159;161mx[38;2;161;164;165mx[38;2;167;169;170mk[38;2;173;175;176mk[38;2;182;184;185mO[38;2;200;201;202m0[38;2;254;254;254mM[38;2;233;233;234mN[38;2;54;58;62m.[38;2;29;33;36m [38;2;7;7;7m [38;2;0;0;0m [0m
|
||||
[0m[38;2;0;0;0m [38;2;11;11;11m [38;2;27;27;27m [38;2;35;35;35m [38;2;62;62;62m [38;2;4;5;5m [38;2;81;84;87m,[38;2;101;104;107m:[38;2;108;111;114mc[38;2;114;117;119mc[38;2;118;121;124mc[38;2;122;125;127ml[38;2;125;128;130ml[38;2;128;131;133ml[38;2;130;132;135ml[38;2;130;133;135ml[38;2;132;135;137mo[38;2;132;135;137mo[38;2;132;135;137mo[38;2;130;133;135ml[38;2;129;132;135ml[38;2;128;131;133ml[38;2;125;128;131ml[38;2;123;126;128ml[38;2;119;122;124mc[38;2;115;118;120mc[38;2;110;113;116mc[38;2;104;107;110m:[38;2;97;100;103m:[38;2;88;92;95m;[38;2;31;33;34m.[38;2;63;63;63m [38;2;37;37;37m [38;2;27;27;27m [38;2;13;13;13m [38;2;0;0;0m [0m
|
||||
[0m[38;2;0;0;0m [38;2;2;2;2m [38;2;7;7;7m [38;2;9;9;9m [38;2;13;13;13m [38;2;12;12;12m [38;2;16;16;16m [38;2;12;12;12m [38;2;20;20;20m [38;2;18;18;18m [38;2;15;15;15m [38;2;16;16;16m [38;2;23;23;23m [38;2;23;23;23m [38;2;14;14;14m [38;2;16;16;16m [38;2;19;19;19m [38;2;16;16;16m [38;2;15;15;15m [38;2;13;13;13m [38;2;12;12;12m [38;2;8;8;8m [38;2;5;5;5m [38;2;0;0;0m [0m
|
||||
38
iso/airootfs/etc/skel/.config/fastfetch/config.jsonc
Normal file
38
iso/airootfs/etc/skel/.config/fastfetch/config.jsonc
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
|
||||
"logo": {
|
||||
"type": "file",
|
||||
"source": "~/.config/fastfetch/bread.txt",
|
||||
"width": 30,
|
||||
"padding": {
|
||||
"right": 5
|
||||
}
|
||||
},
|
||||
"display": {
|
||||
"separator": " ",
|
||||
"color": {
|
||||
"keys": "cyan",
|
||||
"title": "bright_blue"
|
||||
}
|
||||
},
|
||||
"modules": [
|
||||
"title",
|
||||
"separator",
|
||||
"os",
|
||||
"host",
|
||||
"kernel",
|
||||
"uptime",
|
||||
"packages",
|
||||
"shell",
|
||||
"display",
|
||||
"wm",
|
||||
"terminal",
|
||||
"cpu",
|
||||
"gpu",
|
||||
"memory",
|
||||
"swap",
|
||||
"disk",
|
||||
"battery",
|
||||
"colors"
|
||||
]
|
||||
}
|
||||
|
|
@ -125,7 +125,10 @@ hl.bind(mod .. " + slash", hl.dsp.exec_cmd("bos-keybinds"))
|
|||
hl.bind(mod .. " + L", hl.dsp.exec_cmd("loginctl lock-session"))
|
||||
hl.bind(mod .. " + F", hl.dsp.window.fullscreen({ action = "toggle" }))
|
||||
hl.bind(mod .. " + V", hl.dsp.window.float({ action = "toggle" }))
|
||||
hl.bind(mod .. " + SHIFT + V", hl.dsp.exec_cmd([[bash -c 'cliphist list | fzf --reverse --prompt="Clipboard > " | cliphist decode | wl-copy']]))
|
||||
-- breadclip (its own gtk4-layer-shell popup — not a TUI, so no terminal
|
||||
-- needed). Previously piped cliphist through fzf directly from the
|
||||
-- compositor with no terminal attached, which was a silent no-op.
|
||||
hl.bind(mod .. " + SHIFT + V", hl.dsp.exec_cmd("breadclip"))
|
||||
hl.bind(mod .. " + T", hl.dsp.layout("togglesplit"))
|
||||
hl.bind(mod .. " + Tab", hl.dsp.focus({ urgent_or_last = true }))
|
||||
hl.bind(mod .. " + N", hl.dsp.exit())
|
||||
|
|
@ -198,8 +201,9 @@ hl.on("hyprland.start", function()
|
|||
"gsettings set org.gnome.desktop.interface icon-theme Papirus-Dark",
|
||||
"gsettings set org.gnome.desktop.interface cursor-theme Bibata-Modern-Ice",
|
||||
"gsettings set org.gnome.desktop.interface cursor-size 24",
|
||||
-- Clipboard history daemon (feeds SUPER+V history picker via wl-paste).
|
||||
"wl-paste --type text --watch cliphist store",
|
||||
-- Clipboard history is breadclipd, a bakery-managed systemd --user
|
||||
-- service (auto-started via skel — see build-local.sh's service bake)
|
||||
-- rather than an exec-once here.
|
||||
"/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1",
|
||||
"awww-daemon",
|
||||
-- set the default wallpaper once the daemon is up (retry until ready)
|
||||
|
|
@ -210,8 +214,20 @@ hl.on("hyprland.start", function()
|
|||
-- to pick it up — that's how it gets HYPRLAND_INSTANCE_SIGNATURE to talk to Hyprland.
|
||||
"dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP HYPRLAND_INSTANCE_SIGNATURE",
|
||||
"systemctl --user restart breadd",
|
||||
-- graphical-session.target ships with RefuseManualStart=yes (systemd
|
||||
-- convention — only a session manager like uwsm is meant to activate
|
||||
-- it), confirmed on real hardware: `systemctl --user start
|
||||
-- graphical-session.target` fails outright ("Operation refused").
|
||||
-- BOS doesn't use uwsm, and nothing else activates that target, so
|
||||
-- breadclipd (WantedBy=graphical-session.target) never started.
|
||||
-- Start it directly instead. If more graphical-session.target
|
||||
-- services show up later, add them here too.
|
||||
"systemctl --user start breadclipd.service",
|
||||
"breadbar",
|
||||
"breadbox-sync",
|
||||
-- breadbox-sync is a Type=oneshot systemd --user service
|
||||
-- (WantedBy=default.target, no Hyprland IPC dependency) — it
|
||||
-- already runs on login via the unit baked into skel; exec'ing it
|
||||
-- again here would just start it twice.
|
||||
"hypridle",
|
||||
-- first-boot onboarding (self-gates after the first run)
|
||||
"bos-welcome",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue