Mageia Bugzilla – Attachment 6880 Details for
Bug 9023
sane and SCSI scanners, missing udev rule
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
systemd.spec (mga5) : add /usr/lib/modules-load.d/sg.conf
systemd.spec.fix_mga9023.patch (text/plain), 617 bytes, created by
Yann Cantin
on 2015-08-01 23:09:15 CEST
(
hide
)
Description:
systemd.spec (mga5) : add /usr/lib/modules-load.d/sg.conf
Filename:
MIME Type:
Creator:
Yann Cantin
Created:
2015-08-01 23:09:15 CEST
Size:
617 bytes
patch
obsolete
>Index: SPECS/systemd.spec >=================================================================== >--- SPECS/systemd.spec (révision 860454) >+++ SPECS/systemd.spec (copie de travail) >@@ -383,6 +383,12 @@ > # create modules.conf as a symlink to /etc/ > ln -s /etc/modules %{buildroot}%{_sysconfdir}/modules-load.d/modules.conf > >+# load generic scsi module at boot time >+cat << EOF > %{_prefix}/lib/modules-load.d/sg.conf >+# load sg module at boot time >+sg >+EOF >+ > # Create new-style configuration files so that we can ghost-own them > touch %{buildroot}%{_sysconfdir}/hostname > touch %{buildroot}%{_sysconfdir}/vconsole.conf
Index: SPECS/systemd.spec =================================================================== --- SPECS/systemd.spec (révision 860454) +++ SPECS/systemd.spec (copie de travail) @@ -383,6 +383,12 @@ # create modules.conf as a symlink to /etc/ ln -s /etc/modules %{buildroot}%{_sysconfdir}/modules-load.d/modules.conf +# load generic scsi module at boot time +cat << EOF > %{_prefix}/lib/modules-load.d/sg.conf +# load sg module at boot time +sg +EOF + # Create new-style configuration files so that we can ghost-own them touch %{buildroot}%{_sysconfdir}/hostname touch %{buildroot}%{_sysconfdir}/vconsole.conf
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 9023
: 6880