Commit 7ea22a57 authored by Roman Alifanov's avatar Roman Alifanov

Initial commit

parents
tar: .
spec: installer-feature-nvidia.spec
#!/bin/sh -efu
. install2-init-functions
GRUB_CONFIG=/etc/sysconfig/grub2
CMDLINE_PARAMETERS="nvidia-drm.modeset=1 initcall_blacklist=simpledrm_platform_driver_init"
chroot $destdir sed -i "s|^\(GRUB_CMDLINE_LINUX_DEFAULT='.*\)'\$|\1 $CMDLINE_PARAMETERS'|" $GRUB_CONFIG
\ No newline at end of file
Name: installer-feature-nvidia
Version: 0.1
Release: alt1
Summary: Some tricks for a positive experience with Nvidia GPU
License: GPL-2.0-or-later
Group: System/Configuration/Other
Url: http://www.altlinux.org/Installer/beans
BuildArch: noarch
Source: %name-%version.tar
%description
%summary.
%prep
%setup
%build
%install
%define hookdir %_datadir/install2/preinstall.d
mkdir -p %buildroot%hookdir
install -pm755 *.sh %buildroot%hookdir/
%files
%hookdir/*
%changelog
* Fri May 10 2024 Roman Alifanov <ximper@altlinux.org> 0.1-alt1
- initial build
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment