Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Commit

Permalink
Copy in authselect config before running build
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelmnemonic committed Sep 21, 2024
1 parent c1d75ba commit b65e85f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ FROM ghcr.io/ublue-os/${SOURCE_IMAGE}${SOURCE_SUFFIX}:${SOURCE_TAG}
## the following RUN directive does all the things required to run "build.sh" as recommended.

COPY build.sh /tmp/build.sh
COPY data/lukshome /tmp/

RUN mkdir -p /var/lib/alternatives && \
/tmp/build.sh && \
Expand Down
3 changes: 2 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ RELEASE="$(rpm -E %fedora)"
rpm-ostree install pam_mount

mkdir -p /etc/authselect/custom/lukshome/
cp data/lukshome/* /etc/authselect/custom/lukshome/
mv /tmp/lukshome/* /etc/authselect/custom/lukshome/
rmdir /tmp/lukshome

authselect enable custom/lukshome

Expand Down

0 comments on commit b65e85f

Please sign in to comment.