bos-update: one command that updates both BOS channels — pacman -Syu (snap-pac snapshotted) and bakery update --all — best-effort so one failing doesn't abort the other. Baked into the live env and skel. Shell: match the dev laptop's zsh. Ship Powerlevel10k + zsh-autosuggestions, zsh-history-substring-search and zsh-syntax-highlighting, sourced from the distro packages (no oh-my-zsh framework) in the correct order, plus the dev .p10k.zsh. Powerlevel10k is AUR-only, so it's republished to [breadway] via packaging/powerlevel10k + a CI workflow (builds libgit2 + gitstatus from source), same pattern as bibata / zen-browser-bin. skel/.zshrc keeps the BOS QoL aliases and pywal palette import, with `update` aliased to bos-update.
27 lines
911 B
Bash
27 lines
911 B
Bash
#!/usr/bin/env bash
|
|
# shellcheck disable=SC2034
|
|
|
|
iso_name="bos"
|
|
iso_label="BOS_$(date +%Y%m)"
|
|
iso_publisher="Breadway"
|
|
iso_application="Bread Operating System"
|
|
iso_version="$(date +%Y.%m.%d)"
|
|
install_dir="arch"
|
|
buildmodes=('iso')
|
|
bootmodes=('bios.syslinux' 'uefi.systemd-boot')
|
|
arch="x86_64"
|
|
pacman_conf="pacman.conf"
|
|
airootfs_image_type="squashfs"
|
|
airootfs_image_tool_options=('-comp' 'xz' '-Xbcj' 'x86' '-b' '1M' '-Xdict-size' '1M')
|
|
file_permissions=(
|
|
["/etc/shadow"]="0:0:400"
|
|
["/etc/sudoers.d/99-bos-live"]="0:0:440"
|
|
["/etc/calamares/post-install.sh"]="0:0:755"
|
|
["/usr/local/bin/bos-live-setup"]="0:0:755"
|
|
["/usr/local/bin/bos-launch-calamares"]="0:0:755"
|
|
["/usr/local/bin/bos-copy-kernel"]="0:0:755"
|
|
["/usr/local/bin/bos-session"]="0:0:755"
|
|
["/usr/local/bin/bos-keybinds"]="0:0:755"
|
|
["/usr/local/bin/bos-welcome"]="0:0:755"
|
|
["/usr/local/bin/bos-update"]="0:0:755"
|
|
)
|