diff options
| author | Nippy <nippy@Nippy-Mac-mini.local> | 2026-10-09 12:53:18 +0200 |
|---|---|---|
| committer | Nippy <nippy@Nippy-Mac-mini.local> | 2026-10-09 12:53:18 +0200 |
| commit | 224347aee80daad096556250a2939d9e3fd31880 (patch) | |
| tree | 9ef025a5ecb08f8a70bc7d15606916d3b1fa3be7 /releng/airootfs | |
| parent | 44d4aa3cb4688ffb45ef234f9cebbe00dc51b8d0 (diff) | |
| download | RaveOS-build-iso-224347aee80daad096556250a2939d9e3fd31880.tar.gz RaveOS-build-iso-224347aee80daad096556250a2939d9e3fd31880.zip | |
fix
Diffstat (limited to 'releng/airootfs')
25 files changed, 6 insertions, 71 deletions
diff --git a/releng/airootfs/etc/profile.d/raveos-fastfetch.sh b/releng/airootfs/etc/profile.d/raveos-fastfetch.sh index 55460b8..e6324c7 100644 --- a/releng/airootfs/etc/profile.d/raveos-fastfetch.sh +++ b/releng/airootfs/etc/profile.d/raveos-fastfetch.sh @@ -1,6 +1,4 @@ #!/bin/bash -# RaveOS terminal greeting -# Guard: prevent double execution (login shell profile.d + .bashrc) [[ -n "$_RAVEOS_GREETING_DONE" ]] && { return 2>/dev/null || exit 0; } _RAVEOS_GREETING_DONE=1 diff --git a/releng/airootfs/etc/resolv.conf b/releng/airootfs/etc/resolv.conf index 8dda3fc..3639662 100644..120000 --- a/releng/airootfs/etc/resolv.conf +++ b/releng/airootfs/etc/resolv.conf @@ -1 +1 @@ -nameserver 1.1.1.1 +/run/systemd/resolve/stub-resolv.conf
\ No newline at end of file diff --git a/releng/airootfs/etc/skel/.bashrc b/releng/airootfs/etc/skel/.bashrc index 2d2fb5e..51de665 100644 --- a/releng/airootfs/etc/skel/.bashrc +++ b/releng/airootfs/etc/skel/.bashrc @@ -1,16 +1,10 @@ -# -# ~/.bashrc -# -# If not running interactively, don't do anything [[ $- != *i* ]] && return alias ls='ls --color=auto' alias grep='grep --color=auto' PS1='[\u@\h \W]\$ ' -# >>> RaveOS terminal greeting >>> if [[ -f /etc/profile.d/raveos-fastfetch.sh ]]; then source /etc/profile.d/raveos-fastfetch.sh fi -# <<< RaveOS terminal greeting <<< diff --git a/releng/airootfs/etc/systemd/network/20-wwan.network b/releng/airootfs/etc/systemd/network/20-wwan.network deleted file mode 100644 index 6e1c8dd..0000000 --- a/releng/airootfs/etc/systemd/network/20-wwan.network +++ /dev/null @@ -1,19 +0,0 @@ -[Match] -Name=ww* - -[Link] -RequiredForOnline=routable - -[Network] -DHCP=yes - -# systemd-networkd does not set per-interface-type default route metrics -# https://github.com/systemd/systemd/issues/17698 -# Explicitly set route metric, so that Ethernet is preferred over Wi-Fi and Wi-Fi is preferred over mobile broadband. -# Use values from NetworkManager. From nm_device_get_route_metric_default in -# https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/src/core/devices/nm-device.c -[DHCPv4] -RouteMetric=700 - -[IPv6AcceptRA] -RouteMetric=700 diff --git a/releng/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-config.service b/releng/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-config.service deleted file mode 120000 index ebc50f0..0000000 --- a/releng/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-config.service +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/system/cloud-config.service
\ No newline at end of file diff --git a/releng/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-final.service b/releng/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-final.service deleted file mode 120000 index 80fa3c8..0000000 --- a/releng/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-final.service +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/system/cloud-final.service
\ No newline at end of file diff --git a/releng/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-local.service b/releng/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-local.service deleted file mode 120000 index dd8e9f1..0000000 --- a/releng/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-local.service +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/system/cloud-init-local.service
\ No newline at end of file diff --git a/releng/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-main.service b/releng/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-main.service deleted file mode 120000 index 875ff73..0000000 --- a/releng/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-main.service +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/system/cloud-init-main.service
\ No newline at end of file diff --git a/releng/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-network.service b/releng/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-network.service deleted file mode 120000 index ae77734..0000000 --- a/releng/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-network.service +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/system/cloud-init-network.service
\ No newline at end of file diff --git a/releng/airootfs/etc/systemd/system/dbus-org.freedesktop.ModemManager1.service b/releng/airootfs/etc/systemd/system/dbus-org.freedesktop.ModemManager1.service deleted file mode 120000 index dcf7c8e..0000000 --- a/releng/airootfs/etc/systemd/system/dbus-org.freedesktop.ModemManager1.service +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/system/ModemManager.service
\ No newline at end of file diff --git a/releng/airootfs/etc/systemd/system/dbus-org.freedesktop.network1.service b/releng/airootfs/etc/systemd/system/dbus-org.freedesktop.network1.service deleted file mode 120000 index 4c158e6..0000000 --- a/releng/airootfs/etc/systemd/system/dbus-org.freedesktop.network1.service +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/system/systemd-networkd.service
\ No newline at end of file diff --git a/releng/airootfs/etc/systemd/system/multi-user.target.wants/ModemManager.service b/releng/airootfs/etc/systemd/system/multi-user.target.wants/ModemManager.service deleted file mode 120000 index dcf7c8e..0000000 --- a/releng/airootfs/etc/systemd/system/multi-user.target.wants/ModemManager.service +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/system/ModemManager.service
\ No newline at end of file diff --git a/releng/airootfs/etc/systemd/system/multi-user.target.wants/hv_fcopy_daemon.service b/releng/airootfs/etc/systemd/system/multi-user.target.wants/hv_fcopy_daemon.service deleted file mode 120000 index 20ac7b2..0000000 --- a/releng/airootfs/etc/systemd/system/multi-user.target.wants/hv_fcopy_daemon.service +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/system/hv_fcopy_daemon.service
\ No newline at end of file diff --git a/releng/airootfs/etc/systemd/system/multi-user.target.wants/hv_kvp_daemon.service b/releng/airootfs/etc/systemd/system/multi-user.target.wants/hv_kvp_daemon.service deleted file mode 120000 index a7eac4a..0000000 --- a/releng/airootfs/etc/systemd/system/multi-user.target.wants/hv_kvp_daemon.service +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/system/hv_kvp_daemon.service
\ No newline at end of file diff --git a/releng/airootfs/etc/systemd/system/multi-user.target.wants/hv_vss_daemon.service b/releng/airootfs/etc/systemd/system/multi-user.target.wants/hv_vss_daemon.service deleted file mode 120000 index eae19ef..0000000 --- a/releng/airootfs/etc/systemd/system/multi-user.target.wants/hv_vss_daemon.service +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/system/hv_vss_daemon.service
\ No newline at end of file diff --git a/releng/airootfs/etc/systemd/system/multi-user.target.wants/vboxservice.service b/releng/airootfs/etc/systemd/system/multi-user.target.wants/vboxservice.service deleted file mode 120000 index cb2d560..0000000 --- a/releng/airootfs/etc/systemd/system/multi-user.target.wants/vboxservice.service +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/system/vboxservice.service
\ No newline at end of file diff --git a/releng/airootfs/etc/systemd/system/multi-user.target.wants/vmtoolsd.service b/releng/airootfs/etc/systemd/system/multi-user.target.wants/vmtoolsd.service deleted file mode 120000 index e0a11a7..0000000 --- a/releng/airootfs/etc/systemd/system/multi-user.target.wants/vmtoolsd.service +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/system/vmtoolsd.service
\ No newline at end of file diff --git a/releng/airootfs/etc/systemd/system/multi-user.target.wants/vmware-vmblock-fuse.service b/releng/airootfs/etc/systemd/system/multi-user.target.wants/vmware-vmblock-fuse.service deleted file mode 120000 index 173f306..0000000 --- a/releng/airootfs/etc/systemd/system/multi-user.target.wants/vmware-vmblock-fuse.service +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/system/vmware-vmblock-fuse.service
\ No newline at end of file diff --git a/releng/airootfs/etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service b/releng/airootfs/etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service deleted file mode 120000 index 7d6ad92..0000000 --- a/releng/airootfs/etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/system/systemd-networkd-wait-online.service
\ No newline at end of file diff --git a/releng/airootfs/etc/systemd/system/sockets.target.wants/pcscd.socket b/releng/airootfs/etc/systemd/system/sockets.target.wants/pcscd.socket deleted file mode 120000 index 3897c63..0000000 --- a/releng/airootfs/etc/systemd/system/sockets.target.wants/pcscd.socket +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/system/pcscd.socket
\ No newline at end of file diff --git a/releng/airootfs/etc/systemd/system/sockets.target.wants/systemd-networkd.socket b/releng/airootfs/etc/systemd/system/sockets.target.wants/systemd-networkd.socket deleted file mode 120000 index 51942c8..0000000 --- a/releng/airootfs/etc/systemd/system/sockets.target.wants/systemd-networkd.socket +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/system/systemd-networkd.socket
\ No newline at end of file diff --git a/releng/airootfs/usr/local/bin/livecd-sound b/releng/airootfs/usr/local/bin/livecd-sound index b92fcf2..19a83ff 100755 --- a/releng/airootfs/usr/local/bin/livecd-sound +++ b/releng/airootfs/usr/local/bin/livecd-sound @@ -191,7 +191,7 @@ pick_a_card() { exit 0 fi systemd-cat -t "livecdsound" printf "multiple sound cards detected\n" - for card in "${usable_cards[@]}"; do + for card in $usable_cards; do if ! is_numeric "$card"; then continue fi @@ -199,7 +199,7 @@ pick_a_card() { done wait sleep 1 - for card in "${usable_cards[@]}"; do + for card in $usable_cards; do if ! is_numeric "$card"; then continue fi diff --git a/releng/airootfs/usr/local/share/livecd-sound/asound.conf.in b/releng/airootfs/usr/local/share/livecd-sound/asound.conf.in index 3f9c7aa..b08b147 100644 --- a/releng/airootfs/usr/local/share/livecd-sound/asound.conf.in +++ b/releng/airootfs/usr/local/share/livecd-sound/asound.conf.in @@ -1,3 +1,2 @@ -Defaults node defaults.ctl.card %card%; defaults.pcm.card %card%; diff --git a/releng/airootfs/usr/share/calamares/kernel-install/95-raveos.install b/releng/airootfs/usr/share/calamares/kernel-install/95-raveos.install index 94b4330..c4ffaa5 100755 --- a/releng/airootfs/usr/share/calamares/kernel-install/95-raveos.install +++ b/releng/airootfs/usr/share/calamares/kernel-install/95-raveos.install @@ -1,12 +1,10 @@ #!/bin/bash -# Single-entry, systemd-compliant kernel-install hook for CachyOS set -e COMMAND="$1" # add | remove KERNEL_VERSION="$2" # e.g. 6.18.4-1-cachyos -# Only act on CachyOS kernels case "$KERNEL_VERSION" in *cachyos*) ;; *) exit 0 ;; @@ -16,13 +14,9 @@ BOOT_ROOT="${KERNEL_INSTALL_BOOT_ROOT:-/boot}" ENTRY_DIR="$BOOT_ROOT/loader/entries" ENTRY_FILE="$ENTRY_DIR/raveos.conf" -# -------------------------------------------------- -# Fixed CachyOS kernel paths (non-versioned) -# -------------------------------------------------- LINUX_IMAGE="/vmlinuz-linux-cachyos" INITRAMFS_IMAGE="/initramfs-linux-cachyos.img" -# CPU Microcode detection (Intel vs AMD) MICROCODE="" CPU_VENDOR="$(grep -m1 'vendor_id' /proc/cpuinfo 2>/dev/null | awk '{print $3}' || true)" if [ "$CPU_VENDOR" = "GenuineIntel" ] && [ -f "$BOOT_ROOT/intel-ucode.img" ]; then @@ -34,9 +28,6 @@ else [ -f "$BOOT_ROOT/amd-ucode.img" ] && MICROCODE="/amd-ucode.img" fi -# Root device detection with fallback. -# findmnt prints btrfs mounts as "/dev/vda2[/@]" (device plus subvolume), -# which is not a valid device node for blkid/mount -- strip the bracket part. ROOT_SRC="$(findmnt -no SOURCE / | sed 's/\[.*\]//' || true)" ROOT_FS="$(findmnt -no FSTYPE / || true)" ROOT_OPTS="$(findmnt -no OPTIONS / || true)" @@ -62,9 +53,10 @@ esac OPTIONS="rw quiet splash" -# LUKS Encryption & Root Device Fallbacks if [[ "$ROOT_SRC" == /dev/mapper/* ]]; then - UUID="$(blkid -s UUID -o value "$ROOT_SRC" || true)" + PARENT_NAME="$(lsblk -no pkname "$ROOT_SRC" 2>/dev/null | head -n1)" + UUID="" + [ -n "$PARENT_NAME" ] && UUID="$(blkid -s UUID -o value "/dev/$PARENT_NAME" 2>/dev/null || true)" if [ -n "$UUID" ]; then OPTIONS="cryptdevice=UUID=$UUID:cryptroot root=/dev/mapper/cryptroot $OPTIONS" else @@ -84,9 +76,6 @@ else fi fi -# -------------------------------------------------- -# Btrfs subvolume support -# -------------------------------------------------- if [ "$ROOT_FS" = "btrfs" ]; then SUBVOL="$(echo "$ROOT_OPTS" | tr ',' '\n' | grep '^subvol=' || true)" [ -n "$SUBVOL" ] && OPTIONS="$OPTIONS rootflags=$SUBVOL" @@ -106,7 +95,6 @@ case "$COMMAND" in ;; remove) - # Only remove entry if this was the last CachyOS kernel rm -f "$ENTRY_FILE" ;; diff --git a/releng/airootfs/usr/share/plymouth/themes/raveos/raveos.script b/releng/airootfs/usr/share/plymouth/themes/raveos/raveos.script index 70ee581..e92e3c4 100644 --- a/releng/airootfs/usr/share/plymouth/themes/raveos/raveos.script +++ b/releng/airootfs/usr/share/plymouth/themes/raveos/raveos.script @@ -1,4 +1,3 @@ -// RaveOS Plymouth boot splash script (live install medium) Window.SetBackgroundTopColor(0.102, 0.106, 0.114); Window.SetBackgroundBottomColor(0.075, 0.078, 0.086); @@ -6,7 +5,6 @@ Window.SetBackgroundBottomColor(0.075, 0.078, 0.086); screen_width = Window.GetWidth(); screen_height = Window.GetHeight(); -// --- logo: owl icon, centered --- owl_image = Image("raveos-owl.png"); owl_width = owl_image.GetWidth(); @@ -23,7 +21,6 @@ owl_x = screen_width / 2 - owl_width / 2; owl_y = screen_height / 2 - owl_height / 2 - 20; owl_sprite.SetPosition(owl_x, owl_y, 10); -// --- status text: pre-rendered PNG cycling by boot progress --- status_count = 6; status_images[0] = Image("status-01.png"); @@ -40,7 +37,6 @@ status_y = owl_y + owl_height + 40; seconds_per_stage = 1.2; -// --- progress dots --- dot_lit_image = Image("dot-lit.png"); dot_dim_image = Image("dot-dim.png"); @@ -86,16 +82,12 @@ fun update_status(index) update_status(0); -# "duration" a valos eltelt masodperc a boot ota - ez mindig pontos, -# ellentetben a "progress" becslessel (ami elozo boot-idomeresre tamaszkodik, -# es elso/friss elo boot-nal megbizhatatlan / gyakorlatilag 0-n ragad). Plymouth.SetBootProgressFunction(fun(duration, progress) { index = Math.Int(duration / seconds_per_stage); update_status(index); }); -// --- password prompt (LUKS unlock) --- fun display_password_callback(prompt, bullets) { |