forked from pool/suse-module-tools
Accepting request 394043 from home:michal-m:branches:Base:System
- Ignore failures when loading the kernel sysctl (bsc#977715). - Add a systemd service to load /boot/sysctl.conf-`uname -r` (bsc#977715). OBS-URL: https://build.opensuse.org/request/show/394043 OBS-URL: https://build.opensuse.org/package/show/Base:System/suse-module-tools?expand=0&rev=33
This commit is contained in:
parent
ac61ce75ea
commit
4ee27c60b7
5
50-kernel-uname_r.conf
Normal file
5
50-kernel-uname_r.conf
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
[Unit]
|
||||||
|
RequiresMountsFor=/boot
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStartPre=-/usr/lib/systemd/systemd-sysctl /boot/sysctl.conf-%v
|
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 29 11:31:46 UTC 2016 - mmarek@suse.cz
|
||||||
|
|
||||||
|
- Ignore failures when loading the kernel sysctl (bsc#977715).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 28 20:15:31 UTC 2016 - mmarek@suse.com
|
||||||
|
|
||||||
|
- Add a systemd service to load /boot/sysctl.conf-`uname -r`
|
||||||
|
(bsc#977715).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 1 11:43:32 UTC 2016 - mmarek@suse.cz
|
Fri Apr 1 11:43:32 UTC 2016 - mmarek@suse.cz
|
||||||
|
|
||||||
|
@ -45,6 +45,7 @@ Source9: modsign-verify
|
|||||||
Source10: kmp-install
|
Source10: kmp-install
|
||||||
Source11: macros.initrd
|
Source11: macros.initrd
|
||||||
Source12: regenerate-initrd-posttrans
|
Source12: regenerate-initrd-posttrans
|
||||||
|
Source13: 50-kernel-uname_r.conf
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -94,6 +95,10 @@ install -d -m 755 "$b/usr/bin"
|
|||||||
install -pm 755 %_sourcedir/modsign-verify "$b/usr/bin/"
|
install -pm 755 %_sourcedir/modsign-verify "$b/usr/bin/"
|
||||||
install -pm 755 %_sourcedir/kmp-install "$b/usr/bin/"
|
install -pm 755 %_sourcedir/kmp-install "$b/usr/bin/"
|
||||||
|
|
||||||
|
# systemd service to load /boot/sysctl.conf-`uname -r`
|
||||||
|
install -d -m 755 "$b/usr/lib/systemd/system/systemd-sysctl.service.d"
|
||||||
|
install -pm 755 %_sourcedir/50-kernel-uname_r.conf "$b/usr/lib/systemd/system/systemd-sysctl.service.d"
|
||||||
|
|
||||||
%post
|
%post
|
||||||
test_allow_on_install()
|
test_allow_on_install()
|
||||||
{
|
{
|
||||||
@ -161,5 +166,6 @@ fi
|
|||||||
/usr/bin/kmp-install
|
/usr/bin/kmp-install
|
||||||
/usr/bin/modsign-verify
|
/usr/bin/modsign-verify
|
||||||
/usr/lib/module-init-tools
|
/usr/lib/module-init-tools
|
||||||
|
/usr/lib/systemd/system/systemd-sysctl.service.d
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user