Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge upstream #5

Merged
merged 3 commits into from
Oct 26, 2024
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
15 changes: 15 additions & 0 deletions .github/workflows/build-41.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: ublue main 41
on:
pull_request:
merge_group:
schedule:
- cron: '5 4 * * *' # 4am-ish UTC everyday (timed against official fedora container pushes)
workflow_dispatch:

jobs:
build:
name: build
uses: ./.github/workflows/reusable-build.yml
secrets: inherit
with:
fedora_version: 41
7 changes: 7 additions & 0 deletions .github/workflows/reusable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,17 @@ jobs:
IS_LATEST_VERSION=false
IS_STABLE_VERSION=true
IS_GTS_VERSION=true
IS_BETA_VERSION=false
elif [[ "${{ matrix.fedora_version }}" -eq "40" ]]; then
IS_LATEST_VERSION=true
IS_STABLE_VERSION=true
IS_GTS_VERSION=false
IS_BETA_VERSION=false
elif [[ "${{ matrix.fedora_version }}" -eq "41" ]]; then
IS_LATEST_VERSION=false
IS_STABLE_VERSION=false
IS_GTS_VERSION=false
IS_BETA_VERSION=true
fi

COMMIT_TAGS=()
Expand Down Expand Up @@ -103,6 +106,10 @@ jobs:
BUILD_TAGS+=("gts-${TIMESTAMP}")
BUILD_TAGS+=("gts")
echo "DEFAULT_TAG=gts" >> $GITHUB_ENV
elif [[ "${IS_BETA_VERSION}" == "true" ]]; then
BUILD_TAGS+=("beta-${TIMESTAMP}")
BUILD_TAGS+=("beta")
echo "DEFAULT_TAG=beta" >> $GITHUB_ENV
fi

if [[ "${{ github.event_name }}" == "pull_request" ]]; then
Expand Down
16 changes: 14 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,8 @@ sed -i '0,/enabled=1/{s/enabled=1/enabled=1\npriority=90/}' /etc/yum.repos.d/neg
rpm-ostree override replace \
--experimental \
--from repo='fedora-multimedia' \
libheif \
libva \
libva-intel-media-driver \
libvdpau \
mesa-dri-drivers \
mesa-filesystem \
mesa-libEGL \
Expand All @@ -54,12 +52,26 @@ rpm-ostree override replace \
mesa-va-drivers \
mesa-vulkan-drivers

if [[ "$FEDORA_MAJOR_VERSION" -ne "41" ]]; then
rpm-ostree override replace \
--experimental \
--from repo='fedora-multimedia' \
libheif \
libvdpau
fi

# run common packages script
/ctx/packages.sh

## install packages direct from github
/ctx/github-release-install.sh sigstore/cosign x86_64

# use CoreOS' generator for emergency/rescue boot
# see detail: https://github.com/ublue-os/main/issues/653
CSFG=/usr/lib/systemd/system-generators/coreos-sulogin-force-generator
curl -sSLo ${CSFG} https://raw.githubusercontent.com/coreos/fedora-coreos-config/refs/heads/stable/overlay.d/05core/usr/lib/systemd/system-generators/coreos-sulogin-force-generator
chmod +x ${CSFG}

if [[ "${KERNEL_VERSION}" == "${QUALIFIED_KERNEL}" ]]; then
/ctx/initramfs.sh
fi
31 changes: 20 additions & 11 deletions packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"grub2-tools-extra",
"heif-pixbuf-loader",
"htop",
"intel-vaapi-driver",
"just",
"kernel-tools",
"libcamera",
Expand All @@ -40,7 +39,6 @@
"pam-u2f",
"pam_yubico",
"pamu2fcfg",
"pipewire-libs-extra",
"pipewire-plugin-libcamera",
"powerstat",
"smartmontools",
Expand Down Expand Up @@ -92,7 +90,8 @@
"libavutil-free",
"libpostproc-free",
"libswresample-free",
"libswscale-free"
"libswscale-free",
"default-fonts-cjk-sans"
],
"kinoite": [
"ffmpegthumbnailer",
Expand All @@ -107,30 +106,40 @@
"39": {
"include": {
"all": [
"bootc"
"bootc",
"intel-vaapi-driver",
"pipewire-libs-extra"
],
"kinoite": [
"xwaylandvideobridge"
]
},
"exclude": {
"all": [
"default-fonts-cjk-sans"
]
"all": []
}
},
"40": {
"include": {
"all": [],
"all": [
"intel-vaapi-driver",
"pipewire-libs-extra"
],
"kinoite": [
"kf6-kimageformats",
"qt6-qtimageformats"
]
},
"exclude": {
"all": [
"default-fonts-cjk-sans"
]
"all": []
}
},
"41": {
"include": {
"all": [],
"kinoite": []
},
"exclude": {
"all": []
}
}
}

This file was deleted.

Loading