Skip to content

Commit

Permalink
Merge branch 'main' into remove_wl_akmod
Browse files Browse the repository at this point in the history
  • Loading branch information
NiHaiden authored Dec 27, 2024
2 parents b5fd896 + 1a432a7 commit 563eace
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 21 deletions.
5 changes: 0 additions & 5 deletions .github/changelogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,11 +375,6 @@ def generate_changelog(

changelog = CHANGELOG_FORMAT

if target == "gts":
changelog = changelog.splitlines()
del changelog[9]
changelog = '\n'.join(changelog)

changelog = (
changelog.replace("{handwritten}", handwritten if handwritten else HANDWRITTEN_PLACEHOLDER)
.replace("{target}", target)
Expand Down
6 changes: 1 addition & 5 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,6 @@ validate image="" tag="" flavor="":
echo "Invalid flavor..."
exit 1
fi
if [[ "$checktag" =~ gts && "$checkimage" =~ aurora ]]; then
echo "Aurora Does not build GTS..."
exit 1
fi
if [[ ! "$checktag" =~ latest && "$checkflavor" =~ hwe|asus|surface ]]; then
echo "HWE images are only built on latest..."
exit 1
Expand Down Expand Up @@ -155,7 +151,7 @@ build image="aurora" tag="latest" flavor="main" rechunk="0" ghcr="0" pipeline="0
# AKMODS Flavor and Kernel Version
if [[ "${flavor}" =~ hwe ]]; then
akmods_flavor="bazzite"
elif [[ "${tag}" =~ stable|gts ]]; then
elif [[ "${tag}" =~ stable ]]; then
akmods_flavor="coreos-stable"
elif [[ "${tag}" =~ beta ]]; then
akmods_flavor="coreos-testing"
Expand Down
2 changes: 1 addition & 1 deletion build_files/base/03-install-kernel-akmods.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ if [[ "${IMAGE_NAME}" =~ nvidia ]]; then
rm -f /usr/share/vulkan/icd.d/nouveau_icd.*.json
fi

# ZFS for gts/stable
# ZFS for stable
if [[ ${AKMODS_FLAVOR} =~ coreos ]]; then
# Fetch ZFS RPMs
skopeo copy --retry-times 3 docker://ghcr.io/ublue-os/akmods-zfs:"${AKMODS_FLAVOR}"-"$(rpm -E %fedora)"-"${KERNEL}" dir:/tmp/akmods-zfs
Expand Down
11 changes: 1 addition & 10 deletions system_files/shared/usr/bin/ublue-rollback-helper
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,7 @@ function rebase_helper(){
base_image="ghcr.io/ublue-os/${IMAGE_NAME}"
echo "Which Tag would you like to rebase to?"
CHANNELS=(latest stable stable-daily)
# Aurora currently does not have GTS (02-11-2024)
if [[ "${IMAGE_NAME}" =~ "aurora" ]]; then
echo "The default selection is stable (weekly builds) and stable-daily (daily builds) are for enthusiasts, and latest is for testers"
else
CHANNELS+=(gts)
echo "The default selection is gts, stable (weekly builds) and stable-daily (daily builds) are for enthusiasts, and latest is for testers"
fi
echo "The default selection is stable (weekly builds) and stable-daily (daily builds) are for enthusiasts, and latest is for testers"
choose_target=$(Choose date "${CHANNELS[@]}" cancel)
if [[ "$choose_target" != "date" && "$choose_target" != "cancel" ]]; then
rebase_target="${base_image}:${choose_target}"
Expand All @@ -39,9 +33,6 @@ function rebase_helper(){
else
return 1
fi
if [[ "$choose_target" =~ "gts" && "$IMAGE_TAG" != "$choose_target" ]]; then
echo "Warning rolling back Major Fedora Versions may not work"
fi
echo "Rebase Target is ${rebase_target}"
echo "Confirm Rebase"
if [[ $(Confirm) -ne "0" ]]; then
Expand Down
4 changes: 4 additions & 0 deletions system_files/shared/usr/share/ublue-os/aurora-cli/bling.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/usr/bin/env sh

# Check if bling has already been sourced so that we dont break atuin. https://github.com/atuinsh/atuin/issues/380#issuecomment-1594014644
[ "${BLING_SOURCED:-0}" -eq 1 ] && return
BLING_SOURCED=1

# ls aliases
if [ "$(command -v eza)" ]; then
alias ll='eza -l --icons=auto --group-directories-first'
Expand Down

0 comments on commit 563eace

Please sign in to comment.