blob: 3b2fde0e5577b121a1abe4c7cd065f7b0371af4f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
dontChroot: true
timeout: 60
script:
# 1. Copy across RaveOS bootloader, loader.conf, remove the other entry
- command: "cp -r /root/.loader.conf ${ROOT}/boot/loader/loader.conf || true"
- command: "rm -r ${ROOT}/boot/loader/entries/*cachyos* || true"
# 2. Safety net: 95-raveos.install can silently produce a loader entry
# with no root= (findmnt returns empty depending on chroot context
# at kernel-install-hook time during pacstrap). Patch it here from
# the by-now-correct /etc/fstab.
- command: "install -Dm755 /etc/calamares/modules/calamares-fix-bootentry.sh ${ROOT}/root/calamares-fix-bootentry.sh"
- command: "arch-chroot ${ROOT} /bin/bash /root/calamares-fix-bootentry.sh"
- command: "-rm ${ROOT}/root/calamares-fix-bootentry.sh"
# - command: "install -Dm755 /etc/calamares/modules/calamares-microcode-fix.sh ${ROOT}/root/calamares-microcode-fix.sh"
|