diff --git a/Containerfile b/Containerfile index d534419fdf2..d00cd7337fc 100644 --- a/Containerfile +++ b/Containerfile @@ -31,7 +31,7 @@ COPY --from=ghcr.io/ublue-os/bluefin-cli /usr/share/bash-prexec /usr/share/bash- COPY --from=ghcr.io/ublue-os/akmods:${AKMODS_FLAVOR}-${FEDORA_MAJOR_VERSION} /rpms /tmp/akmods-rpms # Build, cleanup, commit. -RUN bash -c ". /tmp/build/build.sh" && \ +RUN . /tmp/build/build.sh && \ rm -rf /tmp/* /var/* && \ mkdir -p /var/tmp && \ chmod -R 1777 /var/tmp && \ @@ -52,7 +52,7 @@ COPY system_files/dx / COPY packages.json /tmp/packages.json # Handle packages via packages.json -RUN bash -c ". /tmp/build/build-dx.sh" && \ +RUN . /tmp/build/build-dx.sh && \ fc-cache --system-only --really-force --verbose && \ rm -rf /tmp/* /var/* && \ mkdir -p /var/tmp && \ diff --git a/build_files/dx/branding-dx.sh b/build_files/dx/branding-dx.sh index 2e0d5763e7d..9b9dba00699 100644 --- a/build_files/dx/branding-dx.sh +++ b/build_files/dx/branding-dx.sh @@ -2,8 +2,8 @@ set -oue pipefail -if [ "$BASE_IMAGE_NAME" = "silverblue" ]; then +if test "$BASE_IMAGE_NAME" = "silverblue"; then sed -i '/^PRETTY_NAME/s/Bluefin/Bluefin-dx/' /usr/lib/os-release -elif [ "$BASE_IMAGE_NAME" = "kinoite" ]; then +elif test "$BASE_IMAGE_NAME" = "kinoite"; then sed -i '/^PRETTY_NAME/s/Aurora/Aurora-dx/' /usr/lib/os-release fi \ No newline at end of file