diff --git a/packages/initrd/build.yaml b/packages/initrd/build.yaml deleted file mode 100644 index cad621b..0000000 --- a/packages/initrd/build.yaml +++ /dev/null @@ -1,75 +0,0 @@ -requires: -- name: "{{.Values.name}}" - category: "distro-kernels" - version: ">=0" - -copy: -# The toolkit is required in module-setup and embedded in the initramfs. -- package: - category: "system" - name: "kairos-agent" - version: ">=0" - source: "/usr/bin/kairos-agent" - destination: "/usr/bin/kairos-agent" -- package: - category: "system" - name: "immucore" - version: ">=0" - source: "/usr/bin/immucore" - destination: "/usr/bin/immucore" -- package: - category: "dracut" - name: "immucore" - version: ">=0" - source: "/package/." - destination: "/" -{{ if or ( eq .Values.name "opensuse" ) }} -- package: - category: "dracut" - name: "sysext" - version: ">=0" - source: "/package/." - destination: "/" -{{ end }} -#{{ if and ( ne .Values.name "ubuntu-20-lts" ) ( ne .Values.name "ubuntu" ) ( ne .Values.name "ubuntu-22-lts" ) }} -#- package: -# category: "dracut" -# name: "systemd-resolved" -# version: ">=0" -# source: "/package/." -# destination: "/" -#{{ end }} - -# Use network-legacy until https://github.com/dracutdevs/dracut/issues/1822 is fixed -{{ if and ( ne .Values.name "ubuntu-20-lts" ) ( ne .Values.name "ubuntu" ) ( ne .Values.name "ubuntu-22-lts" ) }} -- package: - category: "dracut" - name: "network-legacy" - version: ">=0" - source: "/package/." - destination: "/" -{{ else }} -- package: - category: "dracut" - name: "network-legacy-compat" - version: ">=0" - source: "/package/." - destination: "/" -{{ end }} -- package: - category: "system" - name: "kcrypt" - version: ">=0" - source: "/usr/bin/kcrypt" - destination: "/usr/bin/kcrypt" -prelude: -# remove if any -- rm -rf /boot/initrd || true -includes: -- ^/boot|^/boot/.* -steps: -# Create initrd -- | - kernel=$(ls /lib/modules | head -n1) && \ - dracut -f "/boot/initrd-${kernel}" "${kernel}" && \ - ln -sf "initrd-${kernel}" /boot/initrd diff --git a/packages/initrd/collection.yaml b/packages/initrd/collection.yaml deleted file mode 100644 index 7809951..0000000 --- a/packages/initrd/collection.yaml +++ /dev/null @@ -1,13 +0,0 @@ -packages: -- name: "opensuse-leap" - category: "distro-initrd" - version: "0.25" -# - name: "fedora" -# category: "distro-initrd" -# version: "0.11" -- name: "ubuntu-20-lts" - category: "distro-initrd" - version: "0.25" -- name: "ubuntu" - category: "distro-initrd" - version: "0.25"