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

Commit

Permalink
Copy config directly via Containerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelmnemonic committed Sep 21, 2024
1 parent b7c6c4b commit 19b3f99
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +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/
COPY data/lukshome /etc/authselect/custom/

RUN mkdir -p /var/lib/alternatives && \
/tmp/build.sh && \
Expand Down
6 changes: 0 additions & 6 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ RELEASE="$(rpm -E %fedora)"
# Mount luks volumes protected by user password
rpm-ostree install pam_mount

ls -R /tmp

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

authselect enable custom/lukshome

# this would install a package from rpmfusion
Expand Down

0 comments on commit 19b3f99

Please sign in to comment.