Skip to content

Commit

Permalink
Merge branch 'main' into 24.04-builder
Browse files Browse the repository at this point in the history
  • Loading branch information
castrojo authored May 14, 2024
2 parents f68ca4f + 9d78c23 commit b37f91f
Show file tree
Hide file tree
Showing 89 changed files with 90 additions and 88 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
flatpaks_with_deps
flatpak.*

scripts/files/home/ublue-os/*
scripts/files/home/ublue-os/*
2 changes: 1 addition & 1 deletion aurora_flatpaks/flatpaks
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ app/io.github.flattool.Warehouse/x86_64/stable
app/org.fedoraproject.MediaWriter/x86_64/stable
app/io.missioncenter.MissionCenter/x86_64/stable
app/org.gnome.DejaDup/x86_64/stable
app/org.gnome.World.PikaBackup/x86_64/stable
app/org.gnome.World.PikaBackup/x86_64/stable
2 changes: 1 addition & 1 deletion build_files/base/bluefin-changes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ if [[ "${BASE_IMAGE_NAME}" = "silverblue" ]]; then
sed -i 's@\[Desktop Entry\]@\[Desktop Entry\]\nHidden=true@g' /usr/share/applications/org.gnome.SystemMonitor.desktop
fi
sed -i 's@\[Desktop Entry\]@\[Desktop Entry\]\nNoDisplay=true@g' /usr/share/applications/org.gnome.Terminal.desktop
fi
fi
2 changes: 1 addition & 1 deletion build_files/base/branding.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ elif test "$BASE_IMAGE_NAME" = "kinoite"; then
fi

# Watermark for Plymouth
cp /usr/share/plymouth/themes/spinner/{"$BASE_IMAGE_NAME"-,}watermark.png
cp /usr/share/plymouth/themes/spinner/{"$BASE_IMAGE_NAME"-,}watermark.png
2 changes: 1 addition & 1 deletion build_files/base/build-base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ set -ouex pipefail
. /tmp/build/aurora-changes.sh
. /tmp/build/branding.sh
. /tmp/build/initramfs.sh
. /tmp/build/cleanup.sh
. /tmp/build/cleanup.sh
2 changes: 1 addition & 1 deletion build_files/base/fetch-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ rpm-ostree install ublue-update
find /tmp/just -iname '*.just' -exec printf "\n\n" \; -exec cat {} \; >> /usr/share/ublue-os/just/60-custom.just

# Copy over ublue-update config
cp /tmp/ublue-update.toml /usr/etc/ublue-update/ublue-update.toml
cp /tmp/ublue-update.toml /usr/etc/ublue-update/ublue-update.toml
2 changes: 1 addition & 1 deletion build_files/base/font-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ if [[ "${BASE_IMAGE_NAME}" =~ "kinoite" ]]; then
fi

fc-cache -f /usr/share/fonts/ubuntu
fc-cache -f /usr/share/fonts/inter
fc-cache -f /usr/share/fonts/inter
2 changes: 1 addition & 1 deletion build_files/base/nvidia.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ if [[ "${IMAGE_FLAVOR}" =~ "nvidia" ]]; then
if [[ "${BASE_IMAGE_NAME}" =~ "kinoite" && "${FEDORA_MAJOR_VERSION}" -gt "39" ]]; then
rpm-ostree install plasma-workspace-x11
fi
fi
fi
2 changes: 1 addition & 1 deletion build_files/base/systemd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ systemctl enable ublue-system-setup.service
systemctl enable ublue-etc-merge.service
systemctl enable ublue-guest-user.service
systemctl --global enable ublue-user-setup.service
systemctl --global enable podman-auto-update.timer
systemctl --global enable podman-auto-update.timer
2 changes: 1 addition & 1 deletion build_files/dx/branding-dx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ elif test "$BASE_IMAGE_NAME" = "kinoite"; then
sed -i '/^PRETTY_NAME/s/Aurora/Aurora-dx/' /usr/lib/os-release
sed -i 's/Aurora/Aurora-dx/' /usr/etc/yafti.yml
sed -i 's/Aurora/Aurora-DX/' /usr/share/kde-settings/kde-profile/default/xdg/kcm-about-distrorc
fi
fi
2 changes: 1 addition & 1 deletion build_files/dx/cleanup-dx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_ublue-os-akmods.repo

for i in /etc/yum.repos.d/rpmfusion-*; do
sed -i 's@enabled=1@enabled=0@g' "$i"
done
done
2 changes: 1 addition & 1 deletion build_files/dx/fetch-install-dx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ set -ouex pipefail

curl -Lo ./kind "https://github.com/kubernetes-sigs/kind/releases/latest/download/kind-$(uname)-amd64"
chmod +x ./kind
mv ./kind /usr/bin/kind
mv ./kind /usr/bin/kind
2 changes: 1 addition & 1 deletion build_files/dx/systemd-dx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ systemctl enable swtpm-workaround.service
systemctl enable bluefin-dx-groups.service
systemctl enable --global bluefin-dx-user-vscode.service
systemctl disable pmie.service
systemctl disable pmlogger.service
systemctl disable pmlogger.service
2 changes: 1 addition & 1 deletion scripts/base-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ elif [[ ${image} =~ "aurora" ]]; then
echo kinoite
else
exit 1
fi
fi
2 changes: 1 addition & 1 deletion scripts/build-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ $container_mgr build -f Containerfile \
--build-arg="IMAGE_VENDOR=localhost" \
--tag localhost/"${tag}":"${version}" \
--target "${target}" \
"${project_root}"
"${project_root}"
2 changes: 1 addition & 1 deletion scripts/build-iso-ghcr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ ${container_mgr} run --rm --privileged \
ISO_NAME="build/${ghcr_tag}-${version}-ghcr.iso" \
SECURE_BOOT_KEY_URL='https://github.com/ublue-os/akmods/raw/main/certs/public_key.der' \
VARIANT="${variant}" \
VERSION="${version}"
VERSION="${version}"
2 changes: 1 addition & 1 deletion scripts/build-iso.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ ${container_mgr} run --rm --privileged \
ISO_NAME="build/${tag}-${version}.iso" \
SECURE_BOOT_KEY_URL='https://github.com/ublue-os/akmods/raw/main/certs/public_key.der' \
VARIANT="${variant}" \
VERSION="${version}"
VERSION="${version}"
2 changes: 1 addition & 1 deletion scripts/cleanup-dir.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ set -euox pipefail
rm -f "${project_root}"/scripts/files/output/* #ISOs
rm -f "${project_root}"/*_flatapks/flatpaks_with_deps #Flatpak Deps
rm -rf "${project_root}"/flatpak.* #Flatpak Tempdir
rm -rf "${project_root}"/scripts/files/home/ublue-os/* #Test User Home
rm -rf "${project_root}"/scripts/files/home/ublue-os/* #Test User Home
2 changes: 1 addition & 1 deletion scripts/cleanup-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ for i in "${container_mgr[@]}"; do
xargs -I {} "${i}" image rm {} <<< "$ID"
echo ""
fi
done
done
2 changes: 1 addition & 1 deletion scripts/common-build-iso.sh
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,4 @@ rm -rf "${TEMP_FLATPAK_INSTALL_DIR}"

# Remove old ISO if present
rm -f "${project_root}/scripts/files/output/${tag}-${version}.iso"
rm -f "${project_root}/scripts/files/output/${tag}-${version}.iso-CHECKSUM"
rm -f "${project_root}/scripts/files/output/${tag}-${version}.iso-CHECKSUM"
2 changes: 1 addition & 1 deletion scripts/files/build-iso-makefile-patch
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ FILES=$(filter-out Makefile,$(wildcard *))
clean:
ifneq ($(FILES),)
rm -Rf $(FILES)
endif
endif
2 changes: 1 addition & 1 deletion scripts/files/etc/hostname
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ContainerTestUblueOS
ContainerTestUblueOS
2 changes: 1 addition & 1 deletion scripts/files/etc/passwd
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ saslauth:x:974:76:Saslauthd user:/run/saslauthd:/sbin/nologin
libvirtdbus:x:973:961:Libvirt D-Bus bridge:/:/sbin/nologin
qemu:x:107:107:qemu user:/:/usr/sbin/nologin
pcp:x:960:960:Performance Co-Pilot:/var/lib/pcp:/usr/sbin/nologin
ublue-os:x:1000:1000:ublue-os:/home/ublue-os:/usr/bin/bash
ublue-os:x:1000:1000:ublue-os:/home/ublue-os:/usr/bin/bash
2 changes: 1 addition & 1 deletion scripts/files/etc/shadow
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ libvirtdbus:!:19686::::::
qemu:!*:19686::::::
pcp:!*:19686::::::
sddm:!:::::::
ublue-os:$y$j9T$uQkZGY3QpPmddmtkavB0Z/$c2rwYgbGPq6lcdpTeof0S7YjOGgfKaKXWxoKy3HjKhC:19816:0:99999:7:::
ublue-os:$y$j9T$uQkZGY3QpPmddmtkavB0Z/$c2rwYgbGPq6lcdpTeof0S7YjOGgfKaKXWxoKy3HjKhC:19816:0:99999:7:::
2 changes: 1 addition & 1 deletion scripts/get-defaults.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ elif [[ ${version} =~ "gts" ]]; then
version=${gts}
elif [[ ${version} =~ "latest" ]]; then
version=${latest}
fi
fi
2 changes: 1 addition & 1 deletion scripts/list-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ for i in "${container_mgr[@]}"; do
${i} images --filter "reference=localhost/bluefin*-build" --filter "reference=localhost/aurora*-build"
echo ""
fi
done
done
2 changes: 1 addition & 1 deletion scripts/make-tag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ if [[ "${target}" =~ "base" ]]; then
echo "${image}-build"
elif [[ "${target}" =~ "dx" ]]; then
echo "${image}-${target}-build"
fi
fi
2 changes: 1 addition & 1 deletion scripts/run-booted-guest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,4 @@ fi
if [[ -z ${project_root} ]]; then
project_root=$(git rev-parse --show-toplevel)
fi
rm -rf "${project_root}/scripts/files/home/ublue-os"
rm -rf "${project_root}/scripts/files/home/ublue-os"
2 changes: 1 addition & 1 deletion scripts/run-booted-home.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ fi
# Boot the container
"$container_mgr" "${run_cmd[@]}" "localhost/${tag}:${version}" /sbin/init

exit 0
exit 0
2 changes: 1 addition & 1 deletion scripts/run-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ if [[ -z ${ID} ]]; then
fi

# Run image
"${container_mgr}" run -it --rm localhost/"${tag}":"${version}" /usr/bin/bash
"${container_mgr}" run -it --rm localhost/"${tag}":"${version}" /usr/bin/bash
2 changes: 1 addition & 1 deletion scripts/run-iso.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ ${container_mgr} run --rm --cap-add NET_ADMIN \
--env "BOOT_MODE=uefi" \
--device=/dev/kvm \
--volume "${workspace}/scripts/files/output/${tag}-${version}.iso":/boot.iso \
docker.io/qemux/qemu-docker
docker.io/qemux/qemu-docker
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ RestartSec=30
StartLimitInterval=0

[Install]
WantedBy=default.target
WantedBy=default.target
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ RestartSec=30
StartLimitInterval=0

[Install]
WantedBy=default.target
WantedBy=default.target
2 changes: 1 addition & 1 deletion system_files/dx/usr/lib/tmpfiles.d/incus-workaround.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
C /usr/local/bin/overrides/incus - - - - /usr/bin/incus
C /usr/local/bin/overrides/incus-agent - - - - /usr/bin/incus-agent
C /usr/local/lib/overrides/incus - - - - /usr/lib/incus
C /usr/local/lib/overrides/incus - - - - /usr/lib/incus
2 changes: 1 addition & 1 deletion system_files/dx/usr/lib/tmpfiles.d/swtpm-workaround.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
C /usr/local/bin/overrides/swtpm - - - - /usr/bin/swtpm
d /var/lib/swtpm-localca 0750 tss tss - -
d /var/lib/swtpm-localca 0750 tss tss - -
2 changes: 1 addition & 1 deletion system_files/dx/usr/libexec/bluefin-incus
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,4 @@ else
fi
fi
echo ""
echo "Incus has been installed. You can now run 'incus' to manage your containers."
echo "Incus has been installed. You can now run 'incus' to manage your containers."
2 changes: 1 addition & 1 deletion system_files/kinoite/usr/etc/profile.d/aurora-fastfetch.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/sh

alias fastfetch="/usr/bin/fastfetch --file /usr/share/ublue-os/aurora-logo.txt --logo-type file --logo-color-1 94 --logo-color-2 95 --logo-color-3 91 --logo-color-4 97 -c /usr/share/ublue-os/ublue-os.jsonc"
alias fastfetch="/usr/bin/fastfetch --file /usr/share/ublue-os/aurora-logo.txt --logo-type file --logo-color-1 94 --logo-color-2 95 --logo-color-3 91 --logo-color-4 97 -c /usr/share/ublue-os/ublue-os.jsonc"
2 changes: 1 addition & 1 deletion system_files/kinoite/usr/etc/profile.d/ksshaskpass.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh

SSH_ASKPASS=/usr/bin/ksshaskpass
export SSH_ASKPASS
export SSH_ASKPASS
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ ExecStop=/usr/bin/rm /usr/local/libexec/.ksysguard/ksgrd_network_helper
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target
WantedBy=multi-user.target
Original file line number Diff line number Diff line change
@@ -1 +1 @@
C /usr/local/libexec/.ksysguard/ksgrd_network_helper - - - - /usr/libexec/ksysguard/ksgrd_network_helper
C /usr/local/libexec/.ksysguard/ksgrd_network_helper - - - - /usr/libexec/ksysguard/ksgrd_network_helper
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ NoDisplay=true
StartupNotification=false
Type=Application
X-KDE-GlobalAccel-CommandShortcut=true
X-KDE-Shortcuts=Meta+Return
X-KDE-Shortcuts=Meta+Return
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ NoDisplay=true
StartupNotification=false
Type=Application
X-KDE-GlobalAccel-CommandShortcut=true
X-KDE-Shortcuts=Ctrl+Alt+F
X-KDE-Shortcuts=Ctrl+Alt+F
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ NoDisplay=true
StartupNotification=false
Type=Application
X-KDE-GlobalAccel-CommandShortcut=true
X-KDE-Shortcuts=Ctrl+Alt+U
X-KDE-Shortcuts=Ctrl+Alt+U
Original file line number Diff line number Diff line change
@@ -1 +1 @@
alias fastfetch="/usr/bin/fastfetch --file /usr/share/ublue-os/aurora-logo.txt --logo-type file --logo-color-1 94 --logo-color-2 95 --logo-color-3 91 --logo-color-4 97 -c /usr/share/ublue-os/ublue-os.jsonc"
alias fastfetch="/usr/bin/fastfetch --file /usr/share/ublue-os/aurora-logo.txt --logo-type file --logo-color-1 94 --logo-color-2 95 --logo-color-3 91 --logo-color-4 97 -c /usr/share/ublue-os/ublue-os.jsonc"
2 changes: 1 addition & 1 deletion system_files/kinoite/usr/share/icons/default/index.theme
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[Icon Theme]
Inherits=breeze_cursors,breeze-dark
Inherits=breeze_cursors,breeze-dark
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
LogoPath=/usr/share/pixmaps/system-logo.png
Name=Aurora
Website=https//getaurora.dev
Variant=Aurora
Variant=Aurora
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[General]
FreeFloating=true
FreeFloating=true
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ NoDisplay=true
StartupNotification=false
Type=Application
X-KDE-GlobalAccel-CommandShortcut=true
X-KDE-Shortcuts=Meta+Return
X-KDE-Shortcuts=Meta+Return
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ NoDisplay=true
StartupNotification=false
Type=Application
X-KDE-GlobalAccel-CommandShortcut=true
X-KDE-Shortcuts=Ctrl+Alt+F
X-KDE-Shortcuts=Ctrl+Alt+F
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ NoDisplay=true
StartupNotification=false
Type=Application
X-KDE-GlobalAccel-CommandShortcut=true
X-KDE-Shortcuts=Ctrl+Alt+U
X-KDE-Shortcuts=Ctrl+Alt+U
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
applet.wallpaperPlugin = 'org.kde.image'
applet.currentConfigGroup = ["Wallpaper", "org.kde.image", "General"]
applet.writeConfig("Image", "/usr/share/wallpapers/jonatan-pie-aurora.jpg")
applet.reloadConfig()
applet.reloadConfig()
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ if (systemtrayId) {
const systrayContainer = desktopById(systemtrayId);
systrayContainer.currentConfigGroup = ["General"];
systrayContainer.writeConfig("scaleIconsToFit", true);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,4 @@ Rectangle {
duration: PlasmaCore.Units.veryLongDuration * 2
easing.type: Easing.InOutQuad
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ X-KDE-PluginInfo-Name=dev.getaurora.aurora.desktop
X-KDE-PluginInfo-Version=0.01
X-KDE-PluginInfo-Website=https://getauorora.dev
X-Plasma-MainScript=defaults
X-KDE-PluginInfo-License=GPLv2+
X-KDE-PluginInfo-License=GPLv2+
2 changes: 1 addition & 1 deletion system_files/kinoite/usr/share/ublue-os/aurora-logo.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ $3 $4++++ $3+++++++++++++ ++++++$2+++
$3 +++++++++++ ++++++$2+++
$3 +++++ ++++++$2+++
$3 ++++++$2++
$3 +++++
$3 +++++
2 changes: 1 addition & 1 deletion system_files/shared/usr/etc/profile.d/askpass.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ if [[ ${BASE_IMAGE_NAME} == 'kinoite' ]]; then
elif [[ ${BASE_IMAGE_NAME} == 'silverblue' ]]; then
SUDO_ASKPASS='/usr/libexec/openssh/gnome-ssh-askpass'
fi
export SUDO_ASKPASS
export SUDO_ASKPASS
1 change: 1 addition & 0 deletions system_files/shared/usr/etc/profile.d/brew.sh
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
#!/bin/sh
[[ -d /home/linuxbrew/.linuxbrew && $- == *i* ]] && eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
2 changes: 1 addition & 1 deletion system_files/shared/usr/etc/profile.d/neofetch.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh

alias neofetch=fastfetch
alias neofetch=fastfetch
3 changes: 2 additions & 1 deletion system_files/shared/usr/etc/profile.d/nix-app-icons.sh
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
XDG_DATA_DIRS="$HOME/.nix-profile/share:/nix/var/nix/profiles/default/share:$XDG_DATA_DIRS"
#!/bin/sh
XDG_DATA_DIRS="$HOME/.nix-profile/share:/nix/var/nix/profiles/default/share:$XDG_DATA_DIRS"
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[Context]
filesystems=~/.local/share/applications;~/.local/share/icons
filesystems=~/.local/share/applications;~/.local/share/icons
Loading

0 comments on commit b37f91f

Please sign in to comment.