Skip to content

Commit

Permalink
Merge pull request #50 from ublue-os/main
Browse files Browse the repository at this point in the history
[pull] main from ublue-os:main
  • Loading branch information
pull[bot] authored Jan 24, 2025
2 parents 6c1d19d + ccce3d5 commit af9787a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
6 changes: 2 additions & 4 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ tags := '(
[beta]=beta
)'
export SUDO_DISPLAY := if `if [ -n "${DISPLAY:-}" ] || [ -n "${WAYLAND_DISPLAY:-}" ]; then echo true; fi` == "true" { "true" } else { "false" }
export SUDOIF := if `id -u` == "0" { "" } else { if SUDO_DISPLAY == "true" { "sudo --askpass" } else { "sudo" } }
export PODMAN := if path_exists("/usr/bin/podman") == "true" { env("PODMAN", "/usr/bin/podman") } else { if path_exists("/usr/bin/docker") == "true" { env("PODMAN", "docker") } else { env("PODMAN", "exit 1 ; ") } }
export SUDOIF := if `id -u` == "0" { "" } else if SUDO_DISPLAY == "true" { "sudo --askpass" } else { "sudo" }
export PODMAN := if path_exists("/usr/bin/podman") == "true" { env("PODMAN", "/usr/bin/podman") } else if path_exists("/usr/bin/docker") == "true" { env("PODMAN", "docker") } else { env("PODMAN", "exit 1 ; ") }
export PULL_POLICY := if PODMAN =~ "docker" { "missing" } else { "newer" }

[private]
Expand Down Expand Up @@ -215,7 +215,6 @@ build $image="bluefin" $tag="latest" $flavor="main" rechunk="0" ghcr="0" pipelin
LABELS+=("--label" "org.opencontainers.image.source=https://raw.githubusercontent.com/ublue-os/bluefin/refs/heads/main/Containerfile")
LABELS+=("--label" "org.opencontainers.image.url=https://projectbluefin.io")
LABELS+=("--label" "org.opencontainers.image.vendor={{ repo_organization }}")
LABELS+=("--label" "io.artifacthub.package.category=bootc-images")
LABELS+=("--label" "io.artifacthub.package.deprecated=false")
LABELS+=("--label" "io.artifacthub.package.keywords=bootc,fedora,bluefin,ublue,universal-blue")
LABELS+=("--label" "io.artifacthub.package.maintainers=[{\"name\": \"castrojo\", \"email\": \"[email protected]\"}]")
Expand Down Expand Up @@ -312,7 +311,6 @@ rechunk $image="bluefin" $tag="latest" $flavor="main" ghcr="0" pipeline="0":

# Rest of Labels
LABELS="
io.artifacthub.package.category=bootc-images
io.artifacthub.package.deprecated=false
io.artifacthub.package.keywords=bootc,fedora,bluefin,ublue,universal-blue
io.artifacthub.package.logo-url=https://avatars.githubusercontent.com/u/120078124?s=200&v=4
Expand Down
14 changes: 10 additions & 4 deletions build_files/base/09-hwe-additions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ curl --retry 3 -Lo /etc/yum.repos.d/_copr_lukenukem-asus-linux.repo \
curl --retry 3 -Lo /etc/yum.repos.d/linux-surface.repo \
https://pkg.surfacelinux.com/fedora/linux-surface.repo

# Asus Firmware
git clone https://gitlab.com/asus-linux/firmware.git --depth 1 /tmp/asus-firmware
cp -rf /tmp/asus-firmware/* /usr/lib/firmware/
rm -rf /tmp/asus-firmware
# Asus Firmware -- Investigate if everything has been upstreamed
# git clone https://gitlab.com/asus-linux/firmware.git --depth 1 /tmp/asus-firmware
# cp -rf /tmp/asus-firmware/* /usr/lib/firmware/
# rm -rf /tmp/asus-firmware

ASUS_PACKAGES=(
asusctl
Expand All @@ -41,6 +41,12 @@ rpm-ostree install \
"${ASUS_PACKAGES[@]}" \
"${SURFACE_PACKAGES[@]}"

rpm-ostree override remove \
libwacom \
libwacom-data \
--install libwacom-surface \
--install libwacom-surface-data

tee /usr/lib/modules-load.d/ublue-surface.conf << EOF
# Only on AMD models
pinctrl_amd
Expand Down

0 comments on commit af9787a

Please sign in to comment.