feat: zsh as default shell, pkgar staging fix

Shell: Changed default shell from ion to zsh for all user accounts
in base.toml, redbear-mini.toml, redbear-full.toml, and greeter config.
zsh 5.9 is already ported and builds (ZSH-PORTING-PLAN — fully implemented).
ion is kept as fallback/alternative.

Cookbook: pkgar staging fallback — when a dependency's target pkgar
doesn't exist, fall back to repo/<target>/<pkg>.pkgar. This fixes the
kf6-kitemviews build failure where libwayland's pkgar was missing from
the target directory.
This commit is contained in:
2026-05-03 10:55:46 +01:00
parent 466b68a643
commit 5862255060
5 changed files with 94 additions and 10 deletions
+13
View File
@@ -605,6 +605,19 @@ fn build_deps_dir(
let pkey_path = "build/id_ed25519.pub.toml";
for (name, archive_path) in dep_pkgars {
let archive_path: PathBuf = if archive_path.is_file() {
archive_path.clone()
} else {
let repo_path = std::path::PathBuf::from("repo")
.join(crate::cross_target().as_deref().unwrap_or("x86_64-unknown-redox"))
.join(format!("{}.pkgar", name.without_prefix()));
if repo_path.is_file() {
log_to_pty!(logger, "DEBUG: using repo pkgar for {}: {}", name, repo_path.display());
repo_path
} else {
archive_path.clone()
}
};
let tag_file = tags_dir.join(name.without_prefix());
fs::write(&tag_file, "")
.map_err(|e| format!("failed to write tag file {}: {:?}", tag_file.display(), e))?;