feat(nvidia): add service to sync Flatpak driver version (#1983)
Co-authored-by: inffy <10782843+inffy@users.noreply.github.com>
This commit is contained in:
parent
6c3a642bc6
commit
cb6985d7f0
2 changed files with 8 additions and 5 deletions
|
|
@ -104,8 +104,8 @@ RUN --mount=type=tmpfs,dst=/boot \
|
||||||
/ctx/build_files/shared/build.sh && \
|
/ctx/build_files/shared/build.sh && \
|
||||||
/ctx/build_files/base/01-packages.sh && \
|
/ctx/build_files/base/01-packages.sh && \
|
||||||
/ctx/build_files/base/02-install-common-kernel-akmods.sh && \
|
/ctx/build_files/base/02-install-common-kernel-akmods.sh && \
|
||||||
/ctx/build_files/base/nvidia.sh && \
|
/ctx/build_files/base/03-fetch.sh && \
|
||||||
/ctx/build_files/base/03-fetch.sh
|
/ctx/build_files/base/04-nvidia.sh
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
# /* aurora-nvidia-open:stable with ZFS */
|
# /* aurora-nvidia-open:stable with ZFS */
|
||||||
|
|
@ -123,9 +123,9 @@ RUN --mount=type=tmpfs,dst=/boot \
|
||||||
/ctx/build_files/shared/build.sh && \
|
/ctx/build_files/shared/build.sh && \
|
||||||
/ctx/build_files/base/01-packages.sh && \
|
/ctx/build_files/base/01-packages.sh && \
|
||||||
/ctx/build_files/base/02-install-common-kernel-akmods.sh && \
|
/ctx/build_files/base/02-install-common-kernel-akmods.sh && \
|
||||||
/ctx/build_files/base/nvidia.sh && \
|
/ctx/build_files/base/03-fetch.sh && \
|
||||||
/ctx/build_files/base/zfs.sh && \
|
/ctx/build_files/base/04-nvidia.sh && \
|
||||||
/ctx/build_files/base/03-fetch.sh
|
/ctx/build_files/base/zfs.sh
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
# /* Everything that can be done offline after things are in place should be done here */
|
# /* Everything that can be done offline after things are in place should be done here */
|
||||||
|
|
|
||||||
|
|
@ -14,4 +14,7 @@ tee /usr/lib/bootc/kargs.d/00-nvidia.toml <<EOF
|
||||||
kargs = ["rd.driver.blacklist=nouveau", "modprobe.blacklist=nouveau", "nvidia-drm.modeset=1", "initcall_blacklist=simpledrm_platform_driver_init"]
|
kargs = ["rd.driver.blacklist=nouveau", "modprobe.blacklist=nouveau", "nvidia-drm.modeset=1", "initcall_blacklist=simpledrm_platform_driver_init"]
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
rsync -rvKl /ctx/system_files/nvidia/ /
|
||||||
|
systemctl enable ublue-nvidia-flatpak-runtime-sync.service
|
||||||
|
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
Loading…
Reference in a new issue