55 lines
1.3 KiB
YAML
55 lines
1.3 KiB
YAML
track: "https://git.ruds.io/rs2009/blendOS-tracks/raw/branch/main/oci.yaml"
|
|
|
|
modules:
|
|
- name: apt-install
|
|
run: |
|
|
apt-get update
|
|
DEBIAN_FRONTEND=noninteractive apt-get install -yq "$@"
|
|
|
|
- name: apt-remove
|
|
run: |
|
|
DEBIAN_FRONTEND=noninteractive apt-get autoremove --purge -yq "$@"
|
|
|
|
stages:
|
|
- module: exec
|
|
inputs:
|
|
- |
|
|
mkdir -p /etc/apt/apt.conf.d /var/cache/blendOS/ubuntu/apt
|
|
cat >/etc/apt/apt.conf.d/10blendOS.conf <<'EOF'
|
|
Dir::Cache::Archives /var/cache/blendOS/ubuntu/apt;
|
|
EOF
|
|
|
|
- module: exec
|
|
inputs:
|
|
- |
|
|
git clone --revision 8579f58f68893c2baaafc21764e9f61d1fb35c45 --depth 1 https://git.ruds.io/rs2009/akshara /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
|
|
cp usr/bin/akshara /usr/bin/akshara
|
|
- rm -rf /akshara
|
|
|
|
post-stages:
|
|
- module: exec
|
|
inputs:
|
|
- locale-gen
|
|
- dracut --force --regenerate-all
|
|
|
|
override:
|
|
- path: /var/lib/dpkg/
|
|
keep: new
|
|
|
|
- path: /var/lib/apt/
|
|
keep: new
|
|
|
|
- path: /etc/apt/sources.list
|
|
keep: new
|
|
|
|
- path: /etc/apt/sources.list.d/
|
|
keep: new
|
|
|
|
- path: /var/cache/blendOS/
|
|
keep: old
|
|
|
|
env:
|
|
IMAGE_NAME: docker://ghcr.io/rudraswat/ubuntu-rolling-gnome
|