From 5ed38702a017b39775441a99aab264b165705e24 Mon Sep 17 00:00:00 2001 From: RJ Trujillo Date: Wed, 28 Jun 2023 15:15:25 -0600 Subject: [PATCH] feat: Run firstboot script per-profile Currently just for yafti --- Containerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Containerfile b/Containerfile index 2885e1b8..687623c3 100644 --- a/Containerfile +++ b/Containerfile @@ -47,6 +47,11 @@ RUN rpm-ostree override remove \ plasma-welcome \ toolbox +# Run firstboot script per-profile +RUN mkdir -p "/usr/etc/profile.d/" +RUN ln -s "/usr/share/ublue-os/firstboot/launcher/login-profile.sh" \ + "/usr/etc/profile.d/ublue-firstboot.sh" + # Cleanup & Finalize RUN pip install --prefix=/usr yafti && \ sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/_copr_kylegospo-bazzite.repo && \