Fix remaining sky* references missed in Phase 7 rename
- Dockerfile: WORKDIR /skyos → /orionos, ENTRYPOINT path, image name - Makefile: skyos-default.png → orionos-default.png in install target - iso/build-base.sh: all sky*/SkyOS → orion*/OrionOS - iso/mac-install-notes.md: update install instructions for OrionOS - themes/OrionOS: finish renaming sky* strings in gtkrc, gtk.css, index.theme Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
61fa1194db
commit
33c2f3b66d
7 files changed
+46
-46
No files matched your search
+25
-25
@@ -1,15 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
# SkyOS base system builder
|
||||
# OrionOS base system builder
|
||||
# Builds a bootable ISO from an Arch Linux base with the SkyWM desktop.
|
||||
# Run this on an existing Arch Linux install or in a Docker container.
|
||||
#
|
||||
# Usage: sudo ./build-base.sh
|
||||
# Output: skyos.iso
|
||||
# Output: orionos.iso
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
WORK=/tmp/skyos-build
|
||||
ISO_NAME=skyos.iso
|
||||
WORK=/tmp/orionos-build
|
||||
ISO_NAME=orionos.iso
|
||||
SKYOS_PKGS=(
|
||||
# base
|
||||
base linux linux-firmware
|
||||
@@ -48,11 +48,11 @@ locale-gen
|
||||
echo "LANG=en_US.UTF-8" > /etc/locale.conf
|
||||
|
||||
# hostname
|
||||
echo "skyos" > /etc/hostname
|
||||
echo "orionos" > /etc/hostname
|
||||
cat > /etc/hosts <<EOF
|
||||
127.0.0.1 localhost
|
||||
::1 localhost
|
||||
127.0.1.1 skyos.localdomain skyos
|
||||
127.0.1.1 orionos.localdomain orionos
|
||||
EOF
|
||||
|
||||
# timezone
|
||||
@@ -61,7 +61,7 @@ hwclock --systohc
|
||||
|
||||
# default user
|
||||
useradd -m -G wheel,audio,video,storage -s /bin/bash sky
|
||||
echo "sky:skyos" | chpasswd
|
||||
echo "orion:orionos" | chpasswd
|
||||
echo "%wheel ALL=(ALL) ALL" >> /etc/sudoers
|
||||
|
||||
# enable services
|
||||
@@ -72,9 +72,9 @@ mkinitcpio -P
|
||||
CHROOT
|
||||
|
||||
echo ">>> Installing SkyWM & Deskbar binaries"
|
||||
cp "$(dirname "$0")/../wm/skywm" "$WORK/usr/local/bin/skywm"
|
||||
cp "$(dirname "$0")/../deskbar/skydeskbar" "$WORK/usr/local/bin/skydeskbar"
|
||||
chmod 755 "$WORK/usr/local/bin/skywm" "$WORK/usr/local/bin/skydeskbar"
|
||||
cp "$(dirname "$0")/../wm/orionwm" "$WORK/usr/local/bin/orionwm"
|
||||
cp "$(dirname "$0")/../deskbar/oriondeskbar" "$WORK/usr/local/bin/oriondeskbar"
|
||||
chmod 755 "$WORK/usr/local/bin/orionwm" "$WORK/usr/local/bin/oriondeskbar"
|
||||
|
||||
echo ">>> Writing xinitrc"
|
||||
cat > "$WORK/home/sky/.xinitrc" <<'XINITRC'
|
||||
@@ -83,15 +83,15 @@ cat > "$WORK/home/sky/.xinitrc" <<'XINITRC'
|
||||
skywallpaper
|
||||
|
||||
# Apply GTK theme
|
||||
export GTK_THEME=SkyOS
|
||||
export GTK_THEME=OrionOS
|
||||
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
|
||||
cat > "$HOME/.gtkrc-2.0" <<EOF
|
||||
include "/usr/share/themes/SkyOS/gtk-2.0/gtkrc"
|
||||
include "/usr/share/themes/OrionOS/gtk-2.0/gtkrc"
|
||||
EOF
|
||||
mkdir -p "$HOME/.config/gtk-3.0"
|
||||
cat > "$HOME/.config/gtk-3.0/settings.ini" <<EOF
|
||||
[Settings]
|
||||
gtk-theme-name=SkyOS
|
||||
gtk-theme-name=OrionOS
|
||||
gtk-font-name=Sans 10
|
||||
gtk-icon-theme-name=Adwaita
|
||||
gtk-cursor-theme-name=DMZ-White
|
||||
@@ -100,42 +100,42 @@ gtk-menu-images=false
|
||||
EOF
|
||||
|
||||
# Compositor (subtle shadows, fast fade)
|
||||
picom --config /etc/skyos/picom.conf &
|
||||
picom --config /etc/orionos/picom.conf &
|
||||
|
||||
# Alt+F1 global hotkey for launcher (via xbindkeys)
|
||||
xbindkeys &
|
||||
|
||||
# Launch Deskbar
|
||||
skydeskbar &
|
||||
oriondeskbar &
|
||||
|
||||
# Launch window manager (last, takes over the session)
|
||||
exec skywm
|
||||
exec orionwm
|
||||
XINITRC
|
||||
chmod 755 "$WORK/home/sky/.xinitrc"
|
||||
arch-chroot "$WORK" chown sky:sky /home/sky/.xinitrc
|
||||
|
||||
echo ">>> Writing xbindkeys config (Alt+F1 = launcher)"
|
||||
cat > "$WORK/home/sky/.xbindkeysrc" <<'XBK'
|
||||
"skylauncher"
|
||||
"orionlauncher"
|
||||
Mod1 + F1
|
||||
XBK
|
||||
arch-chroot "$WORK" chown sky:sky /home/sky/.xbindkeysrc
|
||||
|
||||
echo ">>> Installing picom config"
|
||||
mkdir -p "$WORK/etc/skyos"
|
||||
cp "$(dirname "$0")/../themes/picom.conf" "$WORK/etc/skyos/picom.conf"
|
||||
cp "$(dirname "$0")/../themes/picom.conf" "$WORK/etc/orionos/picom.conf"
|
||||
|
||||
echo ">>> Installing GTK theme"
|
||||
mkdir -p "$WORK/usr/share/themes"
|
||||
cp -r "$(dirname "$0")/../themes/SkyOS" "$WORK/usr/share/themes/"
|
||||
cp -r "$(dirname "$0")/../themes/OrionOS" "$WORK/usr/share/themes/"
|
||||
|
||||
echo ">>> Installing skywallpaper helper"
|
||||
cp "$(dirname "$0")/../themes/skywallpaper" "$WORK/usr/local/bin/skywallpaper"
|
||||
chmod 755 "$WORK/usr/local/bin/skywallpaper"
|
||||
|
||||
echo ">>> Generating default wallpaper"
|
||||
mkdir -p "$WORK/usr/share/skyos/wallpapers"
|
||||
(cd "$WORK/usr/share/skyos/wallpapers" && bash "$(dirname "$0")/../themes/wallpapers/generate-default.sh") || true
|
||||
mkdir -p "$WORK/usr/share/orionos/wallpapers"
|
||||
(cd "$WORK/usr/share/orionos/wallpapers" && bash "$(dirname "$0")/../themes/wallpapers/generate-default.sh") || true
|
||||
|
||||
echo ">>> Installing rEFInd bootloader config for Intel Macs"
|
||||
mkdir -p "$WORK/boot/EFI/refind"
|
||||
@@ -143,12 +143,12 @@ cat > "$WORK/boot/EFI/refind/refind.conf" <<'REFIND'
|
||||
timeout 5
|
||||
use_graphics_for linux
|
||||
scanfor manual
|
||||
menuentry "SkyOS" {
|
||||
menuentry "OrionOS" {
|
||||
icon /EFI/refind/icons/os_linux.png
|
||||
volume "SkyOS"
|
||||
volume "OrionOS"
|
||||
loader /boot/vmlinuz-linux
|
||||
initrd /boot/initramfs-linux.img
|
||||
options "root=LABEL=SkyOS rw quiet splash"
|
||||
options "root=LABEL=OrionOS rw quiet splash"
|
||||
}
|
||||
REFIND
|
||||
|
||||
@@ -156,7 +156,7 @@ echo ">>> Creating ISO"
|
||||
# mkarchiso requires archiso package
|
||||
if command -v mkarchiso &>/dev/null; then
|
||||
# Minimal archiso profile pointing to our chroot
|
||||
mkarchiso -v -w /tmp/skyos-iso-work -o . "$WORK"
|
||||
mkarchiso -v -w /tmp/orionos-iso-work -o . "$WORK"
|
||||
mv *.iso "$ISO_NAME"
|
||||
else
|
||||
echo "WARNING: archiso not installed. To build the ISO:"
|
||||
|
||||
Reference in new issue
Block a user