Merge pull request 'Dev' (#9) from dev into main
Reviewed-on: #9
This commit was merged in pull request #9.
This commit is contained in:
@@ -10,14 +10,14 @@ env:
|
|||||||
extra-trusted-public-keys = radiantwave-dev:B8FhLu3MQ9JfeEIHIKNrKxnP+3akzzkqMbTZR4hRfj0=
|
extra-trusted-public-keys = radiantwave-dev:B8FhLu3MQ9JfeEIHIKNrKxnP+3akzzkqMbTZR4hRfj0=
|
||||||
jobs:
|
jobs:
|
||||||
build-dev-kiosk:
|
build-dev-kiosk:
|
||||||
runs-on: build-server
|
runs-on: orion-lxc
|
||||||
steps:
|
steps:
|
||||||
- name: Clone Repository
|
- name: Clone Repository
|
||||||
run: git clone --depth 1 --no-single-branch ssh://git@gitea.radiantwavetech.com:2222/RadiantWaveTech/KioskConfig.git .
|
run: git clone --depth 1 --no-single-branch ssh://git@gitea.radiantwavetech.com:2222/RadiantWaveTech/KioskConfig.git .
|
||||||
- name: Checkout dev branch
|
- name: Checkout dev branch
|
||||||
run: git checkout dev
|
run: git checkout dev
|
||||||
- name: Prepare output directory
|
- name: Prepare output directory
|
||||||
run: mkdir -p /home/user/radiantwave
|
run: mkdir -p /var/lib/gitea-runner/radiantwave
|
||||||
- name: Build dev kiosk ISO
|
- name: Build dev kiosk ISO
|
||||||
run: |
|
run: |
|
||||||
export NIXPKGS_ALLOW_UNFREE=1
|
export NIXPKGS_ALLOW_UNFREE=1
|
||||||
@@ -27,24 +27,24 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
ISO_DATE=$(date +%Y-%m-%d_%H-%M-%S)
|
ISO_DATE=$(date +%Y-%m-%d_%H-%M-%S)
|
||||||
FILENAME="radiantwave-kiosk-dev-${ISO_DATE}.iso"
|
FILENAME="radiantwave-kiosk-dev-${ISO_DATE}.iso"
|
||||||
cp -L result/iso/*.iso "/home/user/radiantwave/${FILENAME}"
|
cp -L result/iso/*.iso "/var/lib/gitea-runner/radiantwave/${FILENAME}"
|
||||||
echo "FILENAME=${FILENAME}" >> "$GITHUB_ENV"
|
echo "FILENAME=${FILENAME}" >> "$GITHUB_ENV"
|
||||||
- name: Copy dev kiosk ISO to fileserver
|
- name: Copy dev kiosk ISO to fileserver
|
||||||
run: |
|
run: |
|
||||||
scp "/home/user/radiantwave/${FILENAME}" \
|
scp "/var/lib/gitea-runner/radiantwave/${FILENAME}" \
|
||||||
radiantwave-infra:/mnt/infrastructure_data/files/images/
|
157.245.124.103:/mnt/infrastructure_data/files/images/
|
||||||
- name: Cleanup
|
- name: Cleanup
|
||||||
run: rm -f "/home/user/radiantwave/${FILENAME}"
|
run: rm -f "/var/lib/gitea-runner/radiantwave/${FILENAME}"
|
||||||
|
|
||||||
build-dev-android:
|
build-dev-android:
|
||||||
runs-on: build-server
|
runs-on: orion-lxc
|
||||||
steps:
|
steps:
|
||||||
- name: Clone Repository
|
- name: Clone Repository
|
||||||
run: git clone --depth 1 --no-single-branch ssh://git@gitea.radiantwavetech.com:2222/RadiantWaveTech/KioskConfig.git .
|
run: git clone --depth 1 --no-single-branch ssh://git@gitea.radiantwavetech.com:2222/RadiantWaveTech/KioskConfig.git .
|
||||||
- name: Checkout dev branch
|
- name: Checkout dev branch
|
||||||
run: git checkout dev
|
run: git checkout dev
|
||||||
- name: Prepare output directory
|
- name: Prepare output directory
|
||||||
run: mkdir -p /home/user/radiantwave
|
run: mkdir -p /var/lib/gitea-runner/radiantwave
|
||||||
- name: Build dev android ISO
|
- name: Build dev android ISO
|
||||||
run: |
|
run: |
|
||||||
export NIXPKGS_ALLOW_UNFREE=1
|
export NIXPKGS_ALLOW_UNFREE=1
|
||||||
@@ -54,24 +54,24 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
ISO_DATE=$(date +%Y-%m-%d_%H-%M-%S)
|
ISO_DATE=$(date +%Y-%m-%d_%H-%M-%S)
|
||||||
FILENAME="radiantwave-android-dev-${ISO_DATE}.iso"
|
FILENAME="radiantwave-android-dev-${ISO_DATE}.iso"
|
||||||
cp -L result/iso/*.iso "/home/user/radiantwave/${FILENAME}"
|
cp -L result/iso/*.iso "/var/lib/gitea-runner/radiantwave/${FILENAME}"
|
||||||
echo "FILENAME=${FILENAME}" >> "$GITHUB_ENV"
|
echo "FILENAME=${FILENAME}" >> "$GITHUB_ENV"
|
||||||
- name: Copy dev android ISO to fileserver
|
- name: Copy dev android ISO to fileserver
|
||||||
run: |
|
run: |
|
||||||
scp "/home/user/radiantwave/${FILENAME}" \
|
scp "/var/lib/gitea-runner/radiantwave/${FILENAME}" \
|
||||||
radiantwave-infra:/mnt/infrastructure_data/files/images/
|
157.245.124.103:/mnt/infrastructure_data/files/images/
|
||||||
- name: Cleanup
|
- name: Cleanup
|
||||||
run: rm -f "/home/user/radiantwave/${FILENAME}"
|
run: rm -f "/var/lib/gitea-runner/radiantwave/${FILENAME}"
|
||||||
|
|
||||||
build-dev-commercial:
|
build-dev-commercial:
|
||||||
runs-on: build-server
|
runs-on: orion-lxc
|
||||||
steps:
|
steps:
|
||||||
- name: Clone Repository
|
- name: Clone Repository
|
||||||
run: git clone --depth 1 --no-single-branch ssh://git@gitea.radiantwavetech.com:2222/RadiantWaveTech/KioskConfig.git .
|
run: git clone --depth 1 --no-single-branch ssh://git@gitea.radiantwavetech.com:2222/RadiantWaveTech/KioskConfig.git .
|
||||||
- name: Checkout dev branch
|
- name: Checkout dev branch
|
||||||
run: git checkout dev
|
run: git checkout dev
|
||||||
- name: Prepare output directory
|
- name: Prepare output directory
|
||||||
run: mkdir -p /home/user/radiantwave
|
run: mkdir -p /var/lib/gitea-runner/radiantwave
|
||||||
- name: Build dev commercial ISO
|
- name: Build dev commercial ISO
|
||||||
run: |
|
run: |
|
||||||
export NIXPKGS_ALLOW_UNFREE=1
|
export NIXPKGS_ALLOW_UNFREE=1
|
||||||
@@ -81,11 +81,11 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
ISO_DATE=$(date +%Y-%m-%d_%H-%M-%S)
|
ISO_DATE=$(date +%Y-%m-%d_%H-%M-%S)
|
||||||
FILENAME="radiantwave-commercial-dev-${ISO_DATE}.iso"
|
FILENAME="radiantwave-commercial-dev-${ISO_DATE}.iso"
|
||||||
cp -L result/iso/*.iso "/home/user/radiantwave/${FILENAME}"
|
cp -L result/iso/*.iso "/var/lib/gitea-runner/radiantwave/${FILENAME}"
|
||||||
echo "FILENAME=${FILENAME}" >> "$GITHUB_ENV"
|
echo "FILENAME=${FILENAME}" >> "$GITHUB_ENV"
|
||||||
- name: Copy dev commercial ISO to fileserver
|
- name: Copy dev commercial ISO to fileserver
|
||||||
run: |
|
run: |
|
||||||
scp "/home/user/radiantwave/${FILENAME}" \
|
scp "/var/lib/gitea-runner/radiantwave/${FILENAME}" \
|
||||||
radiantwave-infra:/mnt/infrastructure_data/files/images/
|
157.245.124.103:/mnt/infrastructure_data/files/images/
|
||||||
- name: Cleanup
|
- name: Cleanup
|
||||||
run: rm -f "/home/user/radiantwave/${FILENAME}"
|
run: rm -f "/var/lib/gitea-runner/radiantwave/${FILENAME}"
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-android:
|
build-android:
|
||||||
runs-on: build-server
|
runs-on: orion-lxc
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@@ -29,7 +29,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Prepare output directory
|
- name: Prepare output directory
|
||||||
run: mkdir -p /home/user/radiantwave
|
run: mkdir -p /var/lib/gitea-runner/radiantwave
|
||||||
|
|
||||||
- name: Build android kiosk ISO
|
- name: Build android kiosk ISO
|
||||||
run: |
|
run: |
|
||||||
@@ -41,13 +41,13 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
ISO_DATE=$(date +%Y-%m-%d_%H-%M-%S)
|
ISO_DATE=$(date +%Y-%m-%d_%H-%M-%S)
|
||||||
FILENAME="radiantwave-android-iso-${ISO_DATE}.iso"
|
FILENAME="radiantwave-android-iso-${ISO_DATE}.iso"
|
||||||
cp -L result/iso/*.iso "/home/user/radiantwave/${FILENAME}"
|
cp -L result/iso/*.iso "/var/lib/gitea-runner/radiantwave/${FILENAME}"
|
||||||
echo "ANDROID_ISO_FILENAME=${FILENAME}" >> "$GITHUB_ENV"
|
echo "ANDROID_ISO_FILENAME=${FILENAME}" >> "$GITHUB_ENV"
|
||||||
|
|
||||||
- name: Copy android kiosk ISO to fileserver
|
- name: Copy android kiosk ISO to fileserver
|
||||||
run: |
|
run: |
|
||||||
scp "/home/user/radiantwave/${ANDROID_ISO_FILENAME}" \
|
scp "/var/lib/gitea-runner/radiantwave/${ANDROID_ISO_FILENAME}" \
|
||||||
radiantwave-infra:/mnt/infrastructure_data/files/images/
|
157.245.124.103:/mnt/infrastructure_data/files/images/
|
||||||
|
|
||||||
- name: Cleanup android kiosk ISO
|
- name: Cleanup android kiosk ISO
|
||||||
run: rm -f "/home/user/radiantwave/${ANDROID_ISO_FILENAME}"
|
run: rm -f "/var/lib/gitea-runner/radiantwave/${ANDROID_ISO_FILENAME}"
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-commercial:
|
build-commercial:
|
||||||
runs-on: build-server
|
runs-on: orion-lxc
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@@ -29,7 +29,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Prepare output directory
|
- name: Prepare output directory
|
||||||
run: mkdir -p /home/user/radiantwave
|
run: mkdir -p /var/lib/gitea-runner/radiantwave
|
||||||
|
|
||||||
- name: Build commercial kiosk ISO
|
- name: Build commercial kiosk ISO
|
||||||
run: |
|
run: |
|
||||||
@@ -41,13 +41,13 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
ISO_DATE=$(date +%Y-%m-%d_%H-%M-%S)
|
ISO_DATE=$(date +%Y-%m-%d_%H-%M-%S)
|
||||||
FILENAME="radiantwave-commercial-iso-${ISO_DATE}.iso"
|
FILENAME="radiantwave-commercial-iso-${ISO_DATE}.iso"
|
||||||
cp -L result/iso/*.iso "/home/user/radiantwave/${FILENAME}"
|
cp -L result/iso/*.iso "/var/lib/gitea-runner/radiantwave/${FILENAME}"
|
||||||
echo "COMMERCIAL_ISO_FILENAME=${FILENAME}" >> "$GITHUB_ENV"
|
echo "COMMERCIAL_ISO_FILENAME=${FILENAME}" >> "$GITHUB_ENV"
|
||||||
|
|
||||||
- name: Copy commercial kiosk ISO to fileserver
|
- name: Copy commercial kiosk ISO to fileserver
|
||||||
run: |
|
run: |
|
||||||
scp "/home/user/radiantwave/${COMMERCIAL_ISO_FILENAME}" \
|
scp "/var/lib/gitea-runner/radiantwave/${COMMERCIAL_ISO_FILENAME}" \
|
||||||
radiantwave-infra:/mnt/infrastructure_data/files/images/
|
157.245.124.103:/mnt/infrastructure_data/files/images/
|
||||||
|
|
||||||
- name: Cleanup commercial kiosk ISO
|
- name: Cleanup commercial kiosk ISO
|
||||||
run: rm -f "/home/user/radiantwave/${COMMERCIAL_ISO_FILENAME}"
|
run: rm -f "/var/lib/gitea-runner/radiantwave/${COMMERCIAL_ISO_FILENAME}"
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-kiosk:
|
build-kiosk:
|
||||||
runs-on: build-server
|
runs-on: orion-lxc
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@@ -29,7 +29,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Prepare output directory
|
- name: Prepare output directory
|
||||||
run: mkdir -p /home/user/radiantwave
|
run: mkdir -p /var/lib/gitea-runner/radiantwave
|
||||||
|
|
||||||
- name: Build kiosk ISO
|
- name: Build kiosk ISO
|
||||||
run: |
|
run: |
|
||||||
@@ -41,13 +41,13 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
ISO_DATE=$(date +%Y-%m-%d_%H-%M-%S)
|
ISO_DATE=$(date +%Y-%m-%d_%H-%M-%S)
|
||||||
FILENAME="radiantwave-home-${ISO_DATE}.iso"
|
FILENAME="radiantwave-home-${ISO_DATE}.iso"
|
||||||
cp -L result/iso/*.iso "/home/user/radiantwave/${FILENAME}"
|
cp -L result/iso/*.iso "/var/lib/gitea-runner/radiantwave/${FILENAME}"
|
||||||
echo "KIOSK_ISO_FILENAME=${FILENAME}" >> "$GITHUB_ENV"
|
echo "KIOSK_ISO_FILENAME=${FILENAME}" >> "$GITHUB_ENV"
|
||||||
|
|
||||||
- name: Copy kiosk ISO to fileserver
|
- name: Copy kiosk ISO to fileserver
|
||||||
run: |
|
run: |
|
||||||
scp "/home/user/radiantwave/${KIOSK_ISO_FILENAME}" \
|
scp "/var/lib/gitea-runner/radiantwave/${KIOSK_ISO_FILENAME}" \
|
||||||
radiantwave-infra:/mnt/infrastructure_data/files/images/
|
157.245.124.103:/mnt/infrastructure_data/files/images/
|
||||||
|
|
||||||
- name: Cleanup kiosk ISO
|
- name: Cleanup kiosk ISO
|
||||||
run: rm -f "/home/user/radiantwave/${KIOSK_ISO_FILENAME}"
|
run: rm -f "/var/lib/gitea-runner/radiantwave/${KIOSK_ISO_FILENAME}"
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-rpi:
|
build-rpi:
|
||||||
runs-on: build-server
|
runs-on: orion-lxc
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@@ -26,7 +26,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Prepare output directory
|
- name: Prepare output directory
|
||||||
run: mkdir -p /home/user/radiantwave
|
run: mkdir -p /var/lib/gitea-runner/radiantwave
|
||||||
|
|
||||||
- name: Build Raspberry Pi image
|
- name: Build Raspberry Pi image
|
||||||
run: |
|
run: |
|
||||||
@@ -38,13 +38,13 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
ISO_DATE=$(date +%Y-%m-%d_%H-%M-%S)
|
ISO_DATE=$(date +%Y-%m-%d_%H-%M-%S)
|
||||||
FILENAME="radiantwave-rpi-${ISO_DATE}.img.zst"
|
FILENAME="radiantwave-rpi-${ISO_DATE}.img.zst"
|
||||||
cp -L result/sd-image/*.img.zst "/home/user/radiantwave/${FILENAME}"
|
cp -L result/sd-image/*.img.zst "/var/lib/gitea-runner/radiantwave/${FILENAME}"
|
||||||
echo "RPI_IMAGE_FILENAME=${FILENAME}" >> "$GITHUB_ENV"
|
echo "RPI_IMAGE_FILENAME=${FILENAME}" >> "$GITHUB_ENV"
|
||||||
|
|
||||||
- name: Copy Raspberry Pi image to fileserver
|
- name: Copy Raspberry Pi image to fileserver
|
||||||
run: |
|
run: |
|
||||||
scp "/home/user/radiantwave/${RPI_IMAGE_FILENAME}" \
|
scp "/var/lib/gitea-runner/radiantwave/${RPI_IMAGE_FILENAME}" \
|
||||||
radiantwave-infra:/mnt/infrastructure_data/files/images/
|
157.245.124.103:/mnt/infrastructure_data/files/images/
|
||||||
|
|
||||||
- name: Cleanup Raspberry Pi image
|
- name: Cleanup Raspberry Pi image
|
||||||
run: rm -f "/home/user/radiantwave/${RPI_IMAGE_FILENAME}"
|
run: rm -f "/var/lib/gitea-runner/radiantwave/${RPI_IMAGE_FILENAME}"
|
||||||
|
|||||||
+1
-1
@@ -3,7 +3,7 @@ Implemented (both repos on dev)
|
|||||||
Checkpoints (return points if something fails):
|
Checkpoints (return points if something fails):
|
||||||
- radiantwave → tag pre-live-update @ d84307b
|
- radiantwave → tag pre-live-update @ d84307b
|
||||||
- KioskConfig → tag pre-live-update @ b8d0f59
|
- KioskConfig → tag pre-live-update @ b8d0f59
|
||||||
radiantwave — .gitea/workflows/dev.yml: Added a "Publish manifest" step after the Attic push. It writes {"version","storePath"} using readlink -f ./result-pkg (the exact closure pushed to the dev Attic), then scps it to radiantwave-infra:/mnt/infrastructure_data/files/radiantwave-dev/manifest.json. main.yml untouched.
|
radiantwave — .gitea/workflows/dev.yml: Added a "Publish manifest" step after the Attic push. It writes {"version","storePath"} using readlink -f ./result-pkg (the exact closure pushed to the dev Attic), then scps it to 157.245.124.103:/mnt/infrastructure_data/files/radiantwave-dev/manifest.json. main.yml untouched.
|
||||||
KioskConfig:
|
KioskConfig:
|
||||||
- New radiantwave-updater.nix module: tmpfiles seed (L /var/lib/radiantwave/current → <baked-in baseline>), a systemd oneshot service (curl manifest → nix copy --from dev Attic, never builds → atomic mv -T swap), and a 2-min persistent timer.
|
- New radiantwave-updater.nix module: tmpfiles seed (L /var/lib/radiantwave/current → <baked-in baseline>), a systemd oneshot service (curl manifest → nix copy --from dev Attic, never builds → atomic mv -T swap), and a 2-min persistent timer.
|
||||||
- flake.nix: imports the module in both builders and enables it on all 4 -dev variants (radiantwavekiosk-dev, -commercial-dev, -android-dev, -rpi-dev) pointing at the dev manifest/attic.
|
- flake.nix: imports the module in both builders and enables it on all 4 -dev variants (radiantwavekiosk-dev, -commercial-dev, -android-dev, -rpi-dev) pointing at the dev manifest/attic.
|
||||||
|
|||||||
+6
-3
@@ -6,16 +6,19 @@ TIMESTAMP=$(date +"%Y-%m-%d_%H-%M-%S")
|
|||||||
FILENAME="radiantwave-raspberrypi-${TIMESTAMP}.img.zst"
|
FILENAME="radiantwave-raspberrypi-${TIMESTAMP}.img.zst"
|
||||||
REPO="$(pwd)"
|
REPO="$(pwd)"
|
||||||
NIX_STORE="kiosk-nix-store"
|
NIX_STORE="kiosk-nix-store"
|
||||||
|
NIX_STATE="kiosk-nix-state"
|
||||||
|
|
||||||
echo "==> Building ${CONFIG}..."
|
echo "==> Building ${CONFIG}..."
|
||||||
echo "==> Output: ${REPO}/${FILENAME}"
|
echo "==> Output: ${REPO}/${FILENAME}"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
podman volume create "${NIX_STORE}" 2>/dev/null || true
|
podman volume create "${NIX_STORE}" 2>/dev/null || true
|
||||||
|
podman volume create "${NIX_STATE}" 2>/dev/null || true
|
||||||
|
|
||||||
podman run --rm \
|
podman run --rm \
|
||||||
-v "${REPO}:/repo" \
|
-v "${REPO}:/repo" \
|
||||||
-v "${NIX_STORE}:/nix/store" \
|
-v "${NIX_STORE}:/nix/store" \
|
||||||
|
-v "${NIX_STATE}:/nix/var/nix" \
|
||||||
-w /repo \
|
-w /repo \
|
||||||
nixos/nix:latest \
|
nixos/nix:latest \
|
||||||
sh -c '
|
sh -c '
|
||||||
@@ -23,8 +26,8 @@ podman run --rm \
|
|||||||
mkdir -p /etc/nix
|
mkdir -p /etc/nix
|
||||||
echo "experimental-features = nix-command flakes" > /etc/nix/nix.conf
|
echo "experimental-features = nix-command flakes" > /etc/nix/nix.conf
|
||||||
echo "accept-flake-config = true" >> /etc/nix/nix.conf
|
echo "accept-flake-config = true" >> /etc/nix/nix.conf
|
||||||
echo "extra-substituters = https://cache.nixos.org https://nixos-raspberrypi.cachix.org" >> /etc/nix/nix.conf
|
echo "extra-substituters = https://cache.nixos.org https://nixos-raspberrypi.cachix.org https://attic.radiantwavetech.com/radiantwave https://attic.radiantwavetech.com/radiantwave-dev" >> /etc/nix/nix.conf
|
||||||
echo "extra-trusted-public-keys = nixos-raspberrypi.cachix.org-1:4iMO9LXa8BqhU+Rpg6LQKiGa2lsNh/j2oiYLNOQ5sPI=" >> /etc/nix/nix.conf
|
echo "extra-trusted-public-keys = nixos-raspberrypi.cachix.org-1:4iMO9LXa8BqhU+Rpg6LQKiGa2lsNh/j2oiYLNOQ5sPI= radiantwave:QADrjpBWJssTZ3KmiZtcWEf4uAm66oOlHmtQI3jkrgA= radiantwave-dev:B8FhLu3MQ9JfeEIHIKNrKxnP+3akzzkqMbTZR4hRfj0=" >> /etc/nix/nix.conf
|
||||||
echo "max-jobs = 4" >> /etc/nix/nix.conf
|
echo "max-jobs = 4" >> /etc/nix/nix.conf
|
||||||
|
|
||||||
echo "==> Building sdImage (first run slow, cached after)..."
|
echo "==> Building sdImage (first run slow, cached after)..."
|
||||||
@@ -34,7 +37,7 @@ podman run --rm \
|
|||||||
--print-build-logs
|
--print-build-logs
|
||||||
|
|
||||||
echo "==> Build complete, copying..."
|
echo "==> Build complete, copying..."
|
||||||
cp result/sd-image/*.img* /repo/'${FILENAME}'
|
cp result/sd-image/*.img.zst /repo/'${FILENAME}'
|
||||||
echo "==> Done: ${FILENAME}"
|
echo "==> Done: ${FILENAME}"
|
||||||
ls -lh /repo/'${FILENAME}'
|
ls -lh /repo/'${FILENAME}'
|
||||||
'
|
'
|
||||||
|
|||||||
+1
-1
@@ -35,7 +35,7 @@ in
|
|||||||
# --- RadiantWave splash: Plymouth from boot until the app's first frame ---
|
# --- RadiantWave splash: Plymouth from boot until the app's first frame ---
|
||||||
boot.plymouth.enable = true;
|
boot.plymouth.enable = true;
|
||||||
boot.plymouth.theme = "radiantwave";
|
boot.plymouth.theme = "radiantwave";
|
||||||
boot.plymouth.themePackages = [ radiantwavePlymouth ];
|
boot.plymouth.themePackages = [ (radiantwavePlymouth pkgs) ];
|
||||||
|
|
||||||
# Silence the kernel/initrd output behind the splash. The module adds
|
# Silence the kernel/initrd output behind the splash. The module adds
|
||||||
# "splash" itself; we keep "quiet" plus show_status=false and loglevel 0.
|
# "splash" itself; we keep "quiet" plus show_status=false and loglevel 0.
|
||||||
|
|||||||
@@ -28,11 +28,12 @@
|
|||||||
# at build time (librsvg), so the theme is hermetic and resolution-
|
# at build time (librsvg), so the theme is hermetic and resolution-
|
||||||
# independent. The .plymouth file's /usr paths are rewritten to $out
|
# independent. The .plymouth file's /usr paths are rewritten to $out
|
||||||
# (the NixOS module's initrd fixup rewrites store paths again).
|
# (the NixOS module's initrd fixup rewrites store paths again).
|
||||||
radiantwavePlymouth = pkgs.stdenv.mkDerivation {
|
mkRadiantwavePlymouth = targetPkgs:
|
||||||
|
targetPkgs.stdenv.mkDerivation {
|
||||||
pname = "radiantwave-plymouth";
|
pname = "radiantwave-plymouth";
|
||||||
version = "1.0.0";
|
version = "1.0.0";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgs.librsvg ];
|
nativeBuildInputs = [ targetPkgs.librsvg ];
|
||||||
|
|
||||||
src = ./assets/RWT-Circular-Color-ForOnDark.svg;
|
src = ./assets/RWT-Circular-Color-ForOnDark.svg;
|
||||||
dontUnpack = true;
|
dontUnpack = true;
|
||||||
@@ -109,7 +110,7 @@
|
|||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit radiantwave;
|
inherit radiantwave;
|
||||||
inherit upgradeFlakeRef;
|
inherit upgradeFlakeRef;
|
||||||
inherit radiantwavePlymouth;
|
radiantwavePlymouth = mkRadiantwavePlymouth;
|
||||||
};
|
};
|
||||||
|
|
||||||
modules = [
|
modules = [
|
||||||
@@ -144,7 +145,7 @@
|
|||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit radiantwave upgradeFlakeRef;
|
inherit radiantwave upgradeFlakeRef;
|
||||||
inherit nixos-raspberrypi;
|
inherit nixos-raspberrypi;
|
||||||
inherit radiantwavePlymouth;
|
radiantwavePlymouth = mkRadiantwavePlymouth;
|
||||||
};
|
};
|
||||||
|
|
||||||
modules = [
|
modules = [
|
||||||
|
|||||||
Reference in New Issue
Block a user