vapier 14/05/30 14:41:46
Modified: hwids-99999999.ebuild hwids-20140509.ebuild
ChangeLog
Log:
Simplify the ROOT check in pkg_postinst.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key
D2E96200)
Revision Changes Path
1.24 sys-apps/hwids/hwids-99999999.ebuild
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/hwids-99999999.ebuild?rev=1.24&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/hwids-99999999.ebuild?rev=1.24&content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/hwids-99999999.ebuild?r1=1.23&r2=1.24
Index: hwids-99999999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/hwids/hwids-99999999.ebuild,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- hwids-99999999.ebuild 11 Aug 2013 18:59:22 -0000 1.23
+++ hwids-99999999.ebuild 30 May 2014 14:41:46 -0000 1.24
@@ -1,6 +1,6 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/hwids-99999999.ebuild,v 1.23
2013/08/11 18:59:22 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/hwids-99999999.ebuild,v 1.24
2014/05/30 14:41:46 vapier Exp $
EAPI=5
inherit udev eutils git-2
@@ -44,9 +44,6 @@
if use udev; then
udevadm hwdb --update --root="${ROOT%/}"
#
http://cgit.freedesktop.org/systemd/systemd/commit/?id=1fab57c209035f7e66198343074e9cee06718bda
- if [[ ${ROOT} != "" ]] && [[ ${ROOT} != "/" ]]; then
- return 0
- fi
- udevadm control --reload
+ [ "${ROOT:-/}" = "/" ] && udevadm control --reload
fi
}
1.2 sys-apps/hwids/hwids-20140509.ebuild
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/hwids-20140509.ebuild?rev=1.2&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/hwids-20140509.ebuild?rev=1.2&content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/hwids-20140509.ebuild?r1=1.1&r2=1.2
Index: hwids-20140509.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/hwids/hwids-20140509.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- hwids-20140509.ebuild 9 May 2014 10:16:47 -0000 1.1
+++ hwids-20140509.ebuild 30 May 2014 14:41:46 -0000 1.2
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/hwids-20140509.ebuild,v 1.1
2014/05/09 10:16:47 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/hwids-20140509.ebuild,v 1.2
2014/05/30 14:41:46 vapier Exp $
EAPI=5
inherit udev eutils
@@ -43,9 +43,6 @@
if use udev; then
udevadm hwdb --update --root="${ROOT%/}"
#
http://cgit.freedesktop.org/systemd/systemd/commit/?id=1fab57c209035f7e66198343074e9cee06718bda
- if [[ ${ROOT} != "" ]] && [[ ${ROOT} != "/" ]]; then
- return 0
- fi
- udevadm control --reload
+ [ "${ROOT:-/}" = "/" ] && udevadm control --reload
fi
}
1.142 sys-apps/hwids/ChangeLog
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/ChangeLog?rev=1.142&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/ChangeLog?rev=1.142&content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/ChangeLog?r1=1.141&r2=1.142
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/hwids/ChangeLog,v
retrieving revision 1.141
retrieving revision 1.142
diff -u -r1.141 -r1.142
--- ChangeLog 30 May 2014 14:38:10 -0000 1.141
+++ ChangeLog 30 May 2014 14:41:46 -0000 1.142
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/hwids
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/ChangeLog,v 1.141 2014/05/30
14:38:10 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/ChangeLog,v 1.142 2014/05/30
14:41:46 vapier Exp $
+
+ 30 May 2014; Mike Frysinger <[email protected]> hwids-20140509.ebuild,
+ hwids-99999999.ebuild:
+ Simplify the ROOT check in pkg_postinst.
30 May 2014; Mike Frysinger <[email protected]> hwids-20140317.ebuild:
Stabilize for everyone else #506026.