Move dracut config into toolkit package

This commit is contained in:
Ettore Di Giacinto 2022-10-02 22:08:36 +00:00
parent 311f231e32
commit 1793c4a5f6
6 changed files with 9 additions and 19 deletions

View File

@ -1,6 +0,0 @@
image: "alpine"
steps:
- mkdir -p /output/etc/dracut.conf.d/
- cp -rf dracut.conf /output/etc/dracut.conf.d/20-kairos.conf
package_dir: "/output"

View File

@ -1,3 +0,0 @@
category: "config"
name: "dracut"
version: "0.2"

View File

@ -11,12 +11,6 @@ copy:
version: ">=0"
source: "/framework/."
destination: "/"
- package:
category: "config"
name: "dracut"
version: ">=0"
source: "/output/."
destination: "/"
- package:
category: "system"
name: "elemental-cli"

View File

@ -8,7 +8,7 @@ copy:
prelude:
- |
mkdir -p /etc/luet/repos.conf.d && \
luet repo add --type docker --reference "v{{.Values.version}}-repository.yaml" --yes --url {{.Values.repo}} elemental
luet repo add --type docker --reference "v{{.Values.tag}}-repository.yaml" --yes --url {{.Values.repo}} elemental
package_dir: /framework
steps:
- |
@ -20,6 +20,8 @@ steps:
cloud-config/boot-assessment \
cloud-config/rootfs \
system-openrc/cos-setup
#- mkdir -p /output/etc/dracut.conf.d/
- cp -rf dracut.conf /output/etc/dracut.conf.d/20-kairos.conf
excludes:
- var/cache|var/cache/.*
- usr/bin/elemental

View File

@ -2,7 +2,8 @@ packages:
- name: "elemental-toolkit-opensuse"
category: "system"
repo: "quay.io/costoolkit/releases-teal"
version: "0.8.14-22"
version: "0.8.14-23"
tag: "0.8.14-22"
license: "Apache License 2.0"
copyright: SUSE
labels:
@ -11,7 +12,8 @@ packages:
- name: "elemental-toolkit-ubuntu"
repo: "quay.io/costoolkit/releases-orange"
category: "system"
version: "0.8.14-22"
version: "0.8.14-23"
tag: "0.8.14-22"
license: "Apache License 2.0"
copyright: SUSE
labels:
@ -20,7 +22,8 @@ packages:
- name: "elemental-toolkit-fedora"
repo: "quay.io/costoolkit/releases-blue"
category: "system"
version: "0.8.14-22"
version: "0.8.14-23"
tag: "0.8.14-22"
license: "Apache License 2.0"
copyright: SUSE
labels: