feat: combine arch tracks, use immutable override flag

This commit is contained in:
Rudra Saraswat 2026-04-03 19:38:03 +01:00
parent 8fe6b2a65c
commit cea15a050d
5 changed files with 207 additions and 231 deletions

View file

@ -22,7 +22,7 @@ stages:
- module: exec
inputs:
- |
git clone --revision 8579f58f68893c2baaafc21764e9f61d1fb35c45 --depth 1 https://git.ruds.io/rs2009/akshara /akshara
git clone --revision "$BASE_AKSHARA_REPO_COMMIT" --depth 1 "$BASE_AKSHARA_REPO" /akshara
cd /akshara
cp -a usr/lib/akshara /usr/lib/akshara
cp -a usr/lib/dracut/modules.d/10akshara /usr/lib/dracut/modules.d/10akshara
@ -36,20 +36,25 @@ post-stages:
- dracut --force --regenerate-all
override:
- path: /var/lib/dpkg/
- path: /var/lib/dpkg
keep: new
immutable: true
- path: /var/lib/apt/
- path: /var/lib/apt
keep: new
- path: /etc/apt/sources.list
keep: new
immutable: true
- path: /etc/apt/sources.list.d/
- path: /etc/apt/sources.list.d
keep: new
immutable: true
- path: /var/cache/blendOS/
- path: /var/cache/blendOS
keep: old
env:
IMAGE_NAME: docker://ghcr.io/rudraswat/ubuntu-rolling-gnome:main
BASE_IMAGE_NAME: docker://ghcr.io/rudraswat/ubuntu-rolling-gnome:main
BASE_AKSHARA_REPO: "https://git.ruds.io/rs2009/akshara"
BASE_AKSHARA_REPO_COMMIT: "f17c272b659b9641f2e921bd4c6523ca3dd1cdb5"