Create base images too
This commit is contained in:
@@ -54,6 +54,8 @@ base-images:
|
||||
parallel:
|
||||
matrix:
|
||||
- RECIPE:
|
||||
- base.yml
|
||||
- base-nvidia.yml
|
||||
- base-cosmic.yml
|
||||
- base-cosmic-nvidia.yml
|
||||
- base-combo.yml
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Apply bootc updates
|
||||
Documentation=man:bootc(8)
|
||||
ConditionPathExists=/run/ostree-booted
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
# ExecStart=/usr/bin/bootc update --apply --quiet
|
||||
ExecStart=/usr/bin/bootc update --quiet
|
||||
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=Apply bootc updates
|
||||
Documentation=man:bootc(8)
|
||||
ConditionPathExists=/run/ostree-booted
|
||||
|
||||
[Timer]
|
||||
OnBootSec=1h
|
||||
# This time is relatively arbitrary and obviously expected to be overridden/changed
|
||||
OnUnitInactiveSec=8h
|
||||
# When deploying a large number of systems, it may be beneficial to increase this value to help with load on the registry.
|
||||
RandomizedDelaySec=2h
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
14
recipes/base-nvidia.yml
Normal file
14
recipes/base-nvidia.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
# yaml-language-server: $schema=https://schema.blue-build.org/recipe-v1.json
|
||||
name: cosmic
|
||||
base-image: quay.io/fedora-ostree-desktops/base-atomic
|
||||
image-version: 42
|
||||
description: The base image of Wunker OS
|
||||
modules:
|
||||
- from-file: base/common.yml
|
||||
- from-file: base/nvidia.yml
|
||||
- type: os-release
|
||||
properties:
|
||||
NAME: WunkerOS
|
||||
PRETTY_NAME: Wunker OS for Nvidia
|
||||
- from-file: base/post-build.yml
|
||||
13
recipes/base.yml
Normal file
13
recipes/base.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
# yaml-language-server: $schema=https://schema.blue-build.org/recipe-v1.json
|
||||
name: cosmic
|
||||
base-image: quay.io/fedora-ostree-desktops/base-atomic
|
||||
image-version: 42
|
||||
description: The base image of Wunker OS
|
||||
modules:
|
||||
- from-file: base/common.yml
|
||||
- type: os-release
|
||||
properties:
|
||||
NAME: WunkerOS
|
||||
PRETTY_NAME: Wunker OS
|
||||
- from-file: base/post-build.yml
|
||||
@@ -3,8 +3,6 @@
|
||||
modules:
|
||||
- type: files
|
||||
files:
|
||||
- source: bootc-update
|
||||
destination: /usr/lib/systemd/system
|
||||
- source: base
|
||||
destination: /
|
||||
- type: systemd
|
||||
@@ -14,15 +12,6 @@ modules:
|
||||
enabled:
|
||||
- bootc-fetch-apply-updates.timer
|
||||
|
||||
# - type: dnf
|
||||
# repos:
|
||||
# cleanup: true
|
||||
# copr:
|
||||
# - ublue-os/packages
|
||||
# - ublue-os/staging
|
||||
# install:
|
||||
# packages:
|
||||
|
||||
- type: dnf
|
||||
repos:
|
||||
cleanup: true
|
||||
|
||||
Reference in New Issue
Block a user