Skip to content
This repository has been archived by the owner on Nov 23, 2023. It is now read-only.

[pull] live from master #36

Merged
merged 2 commits into from
Nov 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,13 +137,13 @@ jobs:
# https://github.com/macbre/push-to-ghcr/issues/12
- name: Lowercase Registry
id: registry_case
uses: ASzc/change-string-case-action@v5
uses: ASzc/change-string-case-action@v6
with:
string: ${{ env.IMAGE_REGISTRY }}

- name: Lowercase Image
id: image_case
uses: ASzc/change-string-case-action@v5
uses: ASzc/change-string-case-action@v6
with:
string: ${{ env.IMAGE_NAME }}

Expand Down
7 changes: 1 addition & 6 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,6 @@ COPY modules /tmp/modules/
# It is copied from the official container image since it's not available as an RPM.
COPY --from=docker.io/mikefarah/yq /usr/bin/yq /usr/bin/yq

COPY --from=ghcr.io/ublue-os/config:latest /rpms/ublue-os-signing.noarch.rpm /tmp/
COPY --from=ghcr.io/ublue-os/config:latest /rpms/ublue-os-update-services.noarch.rpm /tmp/
COPY --from=ghcr.io/ublue-os/config:latest /rpms/ublue-os-udev-rules.noarch.rpm /tmp/

# Run the build script, then clean up temp files and finalize container build.
RUN rpm -ivh /tmp/ublue-os-signing.noarch.rpm && rpm -ivh /tmp/ublue-os-update-services.noarch.rpm \
&& chmod +x /tmp/build.sh && /tmp/build.sh \
RUN chmod +x /tmp/build.sh && /tmp/build.sh \
&& rm -rf /tmp/* /var/* && rpm-ostree cleanup -m && ostree container commit
23 changes: 2 additions & 21 deletions config/recipe-kinoite-light-bore-eevdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,34 +4,15 @@ name: ublue-kinoite-light-bore-eevdf
description: Ublue kinoite minimal with cachyos bore eevdf kernel

# the base image to build on top of (FROM) and the version tag to use
base-image: quay.io/fedora-ostree-desktops/kinoite
image-version: 38 # latest is also supported if you want new updates ASAP
base-image: ghcr.io/vietchinh/kinoite-cachykernel-main
image-version: 39 # latest is also supported if you want new updates ASAP

# list of modules, executed in order
# you can include multiple instances of the same module
modules:

- from-file: recipe-kinoite-light.yml

- type: rpm-ostree
repos:
# - https://copr.fedorainfracloud.org/coprs/atim/starship/repo/fedora-%OS_VERSION%/atim-starship-fedora-%OS_VERSION%.repo
- https://copr.fedorainfracloud.org/coprs/bieszczaders/kernel-cachyos/repo/fedora-%OS_VERSION%/bieszczaders-kernel-cachyos-fedora-%OS_VERSION%.repo
- https://copr.fedorainfracloud.org/coprs/bieszczaders/kernel-cachyos-addons/repo/fedora-%OS_VERSION%/bieszczaders-kernel-cachyos-addons-fedora-%OS_VERSION%.repo
install:
# - micro
# - starship
- kernel-cachyos-rt
- libcap-ng-devel
- procps-ng-devel
- uksmd
remove:
- kernel
- kernel-core
- kernel-modules
- kernel-modules-core
- kernel-modules-extra

- type: systemd
system:
enabled:
Expand Down
20 changes: 2 additions & 18 deletions config/recipe-kinoite-light-libvirt-bore-eevdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,15 @@ name: ublue-kinoite-with-libvirt-bore-eevdf
description: Ublue kinoite with libvirt qemu kvm virtualization

# the base image to build on top of (FROM) and the version tag to use
base-image: quay.io/fedora-ostree-desktops/kinoite
image-version: 38 # latest is also supported if you want new updates ASAP
base-image: ghcr.io/vietchinh/kinoite-cachykernel-main
image-version: 39 # latest is also supported if you want new updates ASAP

# list of modules, executed in order
# you can include multiple instances of the same module
modules:

- from-file: recipe-kinoite-light-libvirt.yml

- type: rpm-ostree
repos:
- https://copr.fedorainfracloud.org/coprs/bieszczaders/kernel-cachyos/repo/fedora-%OS_VERSION%/bieszczaders-kernel-cachyos-fedora-%OS_VERSION%.repo
- https://copr.fedorainfracloud.org/coprs/bieszczaders/kernel-cachyos-addons/repo/fedora-%OS_VERSION%/bieszczaders-kernel-cachyos-addons-fedora-%OS_VERSION%.repo
install:
- kernel-cachyos-rt
- libcap-ng-devel
- procps-ng-devel
- uksmd
remove:
- kernel
- kernel-core
- kernel-modules
- kernel-modules-core
- kernel-modules-extra

- type: systemd
system:
enabled:
Expand Down
4 changes: 2 additions & 2 deletions config/recipe-kinoite-light-libvirt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ name: ublue-kinoite-with-libvirt
description: Ublue kinoite with libvirt qemu kvm virtualization

# the base image to build on top of (FROM) and the version tag to use
base-image: quay.io/fedora-ostree-desktops/kinoite
image-version: 38 # latest is also supported if you want new updates ASAP
base-image: ghcr.io/vietchinh/kinoite-main
image-version: 39 # latest is also supported if you want new updates ASAP

# list of modules, executed in order
# you can include multiple instances of the same module
Expand Down
30 changes: 2 additions & 28 deletions config/recipe-kinoite-light.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ name: ublue-kinoite-light
description: Ublue kinoite minimal

# the base image to build on top of (FROM) and the version tag to use
base-image: quay.io/fedora-ostree-desktops/kinoite
image-version: 38 # latest is also supported if you want new updates ASAP
base-image: ghcr.io/vietchinh/kinoite-main
image-version: 39 # latest is also supported if you want new updates ASAP

# list of modules, executed in order
# you can include multiple instances of the same module
Expand All @@ -22,30 +22,6 @@ modules:
# - Celluloid: io.github.celluloid_player.Celluloid
# - Krita: org.kde.krita

- type: rpm-ostree
remove:
- firefox # default firefox removed in favor of flatpak
- firefox-langpacks # langpacks needs to also be removed to prevent dependency problems
- kf5-akonadi-server-mysql
- kf5-akonadi-server
- kmousetool
- krfb-libs
- krfb
- kmag
- mariadb-backup
- mariadb-cracklib-password-check
- mariadb-common
- mariadb-server-utils
- mariadb-server
- mariadb-errmsg
- mariadb-gssapi-server
- mariadb
- filelight
- mariadb-connector-c
- mariadb-connector-c-config
- perl-DBD-MariaDB
- qt5-qtbase-mysql

- type: systemd
user:
enabled:
Expand All @@ -56,5 +32,3 @@ modules:
scripts:
# this sets up the proper policy & signing files for signed images to work
- signing.sh
- kinoite.sh
- post-install.sh
3 changes: 0 additions & 3 deletions config/scripts/kinoite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,3 @@ set -oue pipefail

# Your code goes here.
rpm -ivh /tmp/ublue-os-udev-rules.noarch.rpm

wget https://raw.githubusercontent.com/ublue-os/main/main/post-install.sh -P /tmp/config/scripts
chmod +x /tmp/config/scripts/post-install.sh
Loading