fix(ci): ensure /dev/stdin exists for mkinitcpio and remove stock linux kernel
Tests / tests (push) Successful in 2m18s
Tests / tests (push) Successful in 2m18s
- Add CI step to create /dev/stdin symlinks before ISO build (Docker/container environments may lack these, causing mkinitcpio to fail) - Remove stock linux kernel from packages.x86_64 (linux-cachyos is the intended kernel; dual-kernel causes boot confusion and doubles build time) Closes #X
This commit is contained in:
@@ -31,6 +31,14 @@ jobs:
|
|||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
pacman -Syu --noconfirm --needed archiso jq git-lfs zstd
|
pacman -Syu --noconfirm --needed archiso jq git-lfs zstd
|
||||||
|
|
||||||
|
- name: Ensure /dev/stdin exists for mkinitcpio
|
||||||
|
run: |
|
||||||
|
set -euo pipefail
|
||||||
|
# Docker/container environments may lack /dev/stdin; mkinitcpio needs it
|
||||||
|
[ -e /dev/stdin ] || ln -sf /proc/self/fd/0 /dev/stdin
|
||||||
|
[ -e /dev/stdout ] || ln -sf /proc/self/fd/1 /dev/stdout
|
||||||
|
[ -e /dev/stderr ] || ln -sf /proc/self/fd/2 /dev/stderr
|
||||||
|
|
||||||
- name: Build Arch ISO
|
- name: Build Arch ISO
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|||||||
@@ -176,7 +176,6 @@ libfprint
|
|||||||
libisoburn
|
libisoburn
|
||||||
libtorrent
|
libtorrent
|
||||||
libusb-compat
|
libusb-compat
|
||||||
linux
|
|
||||||
linux-atm
|
linux-atm
|
||||||
linux-cachyos
|
linux-cachyos
|
||||||
linux-cachyos-headers
|
linux-cachyos-headers
|
||||||
|
|||||||
Reference in New Issue
Block a user