parent
7372cee0df
commit
4b90fcc13b
@ -1,24 +1,25 @@
|
|||||||
From b3fdcc4f9a1331950f462e6bf43daa718a59dfe5 Mon Sep 17 00:00:00 2001
|
From e42573cfbcd3f47c6485d9b437b3e87c95662dbd Mon Sep 17 00:00:00 2001
|
||||||
From: Harald Hoyer <harald@redhat.com>
|
From: Harald Hoyer <harald@redhat.com>
|
||||||
Date: Wed, 13 Mar 2013 07:57:53 +0100
|
Date: Wed, 13 Mar 2013 07:57:53 +0100
|
||||||
Subject: [PATCH] kernel-install: add fedora specific callouts to
|
Subject: [PATCH] kernel-install: add fedora specific callouts to
|
||||||
new-kernel-pkg
|
new-kernel-pkg
|
||||||
|
|
||||||
---
|
---
|
||||||
src/kernel-install/kernel-install | 19 +++++++++++++++++++
|
src/kernel-install/kernel-install | 20 ++++++++++++++++++++
|
||||||
1 file changed, 19 insertions(+)
|
1 file changed, 20 insertions(+)
|
||||||
|
|
||||||
diff --git a/src/kernel-install/kernel-install b/src/kernel-install/kernel-install
|
diff --git a/src/kernel-install/kernel-install b/src/kernel-install/kernel-install
|
||||||
index fb2ee57..1b73def 100644
|
index fb2ee57..f576dfe 100644
|
||||||
--- a/src/kernel-install/kernel-install
|
--- a/src/kernel-install/kernel-install
|
||||||
+++ b/src/kernel-install/kernel-install
|
+++ b/src/kernel-install/kernel-install
|
||||||
@@ -19,6 +19,25 @@
|
@@ -19,6 +19,26 @@
|
||||||
# You should have received a copy of the GNU Lesser General Public License
|
# You should have received a copy of the GNU Lesser General Public License
|
||||||
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
|
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
+if [[ -x /sbin/new-kernel-pkg ]]; then
|
+if [[ -x /sbin/new-kernel-pkg ]]; then
|
||||||
+ case "$1" in
|
+ case "$1" in
|
||||||
+ add)
|
+ add)
|
||||||
|
+ /sbin/new-kernel-pkg --package kernel --install "$2" || exit $?
|
||||||
+ /sbin/new-kernel-pkg --package kernel --mkinitrd --dracut --depmod --update "$2" || exit $?
|
+ /sbin/new-kernel-pkg --package kernel --mkinitrd --dracut --depmod --update "$2" || exit $?
|
||||||
+ /sbin/new-kernel-pkg --package kernel --rpmposttrans "$2" || exit $?
|
+ /sbin/new-kernel-pkg --package kernel --rpmposttrans "$2" || exit $?
|
||||||
+ ;;
|
+ ;;
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
Name: systemd
|
Name: systemd
|
||||||
Url: http://www.freedesktop.org/wiki/Software/systemd
|
Url: http://www.freedesktop.org/wiki/Software/systemd
|
||||||
Version: 204
|
Version: 204
|
||||||
Release: 3%{?gitcommit:.git%{gitcommit}}%{?dist}
|
Release: 4%{?gitcommit:.git%{gitcommit}}%{?dist}
|
||||||
# For a breakdown of the licensing, see README
|
# For a breakdown of the licensing, see README
|
||||||
License: LGPLv2+ and MIT and GPLv2+
|
License: LGPLv2+ and MIT and GPLv2+
|
||||||
Summary: A System and Service Manager
|
Summary: A System and Service Manager
|
||||||
@ -754,6 +754,9 @@ fi
|
|||||||
%{_libdir}/pkgconfig/gudev-1.0*
|
%{_libdir}/pkgconfig/gudev-1.0*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue May 28 2013 Harald Hoyer <harald@redhat.com> 204-4
|
||||||
|
- Fix kernel-install (#965897)
|
||||||
|
|
||||||
* Wed May 22 2013 Kay Sievers <kay@redhat.com> - 204-3
|
* Wed May 22 2013 Kay Sievers <kay@redhat.com> - 204-3
|
||||||
- Fix kernel-install (#965897)
|
- Fix kernel-install (#965897)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user