public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sys-fs/static-dev: static-dev-0.1.ebuild ChangeLog
@ 2007-10-01  1:48 Mike Frysinger (vapier)
  0 siblings, 0 replies; 7+ messages in thread
From: Mike Frysinger (vapier) @ 2007-10-01  1:48 UTC (permalink / raw
  To: gentoo-commits

vapier      07/10/01 01:48:46

  Modified:             static-dev-0.1.ebuild ChangeLog
  Log:
  Fixup from Scott Price for devfs test #137434.
  (Portage version: 2.1.3.9)

Revision  Changes    Path
1.9                  sys-fs/static-dev/static-dev-0.1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild?rev=1.9&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild?rev=1.9&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild?r1=1.8&r2=1.9

Index: static-dev-0.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- static-dev-0.1.ebuild	24 Aug 2006 02:30:46 -0000	1.8
+++ static-dev-0.1.ebuild	1 Oct 2007 01:48:45 -0000	1.9
@@ -1,6 +1,6 @@
-# Copyright 2005-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild,v 1.8 2006/08/24 02:30:46 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild,v 1.9 2007/10/01 01:48:45 vapier Exp $
 
 inherit toolchain-funcs
 
@@ -17,8 +17,8 @@
 RDEPEND="virtual/baselayout"
 PROVIDE="virtual/dev-manager"
 
-pkg_setup() {
-	if [[ -d ${ROOT}/dev/.udev/ || ! -c ${ROOT}/dev/.devfs ]] ; then
+pkg_preinst() {
+	if [[ -d ${ROOT}/dev/.udev || -c ${ROOT}/dev/.devfs ]] ; then
 		echo ""
 		eerror "We have detected that you currently use udev or devfs"
 		eerror "and this ebuild cannot install to the same mount-point."



1.9                  sys-fs/static-dev/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/static-dev/ChangeLog?rev=1.9&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/static-dev/ChangeLog?rev=1.9&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/static-dev/ChangeLog?r1=1.8&r2=1.9

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-fs/static-dev/ChangeLog,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ChangeLog	17 Sep 2007 21:04:48 -0000	1.8
+++ ChangeLog	1 Oct 2007 01:48:45 -0000	1.9
@@ -1,6 +1,9 @@
 # ChangeLog for sys-fs/static-dev
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/static-dev/ChangeLog,v 1.8 2007/09/17 21:04:48 phreak Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/static-dev/ChangeLog,v 1.9 2007/10/01 01:48:45 vapier Exp $
+
+  01 Oct 2007; Mike Frysinger <vapier@gentoo.org> static-dev-0.1.ebuild:
+  Fixup from Scott Price for devfs test #137434.
 
   17 Sep 2007; Christian Heim <phreak@gentoo.org> metadata.xml:
   Removing johnm from metadata.xml (see #186467 for reference).



-- 
gentoo-commits@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sys-fs/static-dev: static-dev-0.1.ebuild ChangeLog
@ 2009-12-05 23:59 Mike Frysinger (vapier)
  0 siblings, 0 replies; 7+ messages in thread
From: Mike Frysinger (vapier) @ 2009-12-05 23:59 UTC (permalink / raw
  To: gentoo-commits

vapier      09/12/05 23:59:51

  Modified:             static-dev-0.1.ebuild ChangeLog
  Log:
  Create device nodes in $D/dev instead of /dev #295732 by Diego E. Pettenò.
  (Portage version: 2.2_rc55/cvs/Linux x86_64)

Revision  Changes    Path
1.11                 sys-fs/static-dev/static-dev-0.1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild?rev=1.11&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild?rev=1.11&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild?r1=1.10&r2=1.11

Index: static-dev-0.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- static-dev-0.1.ebuild	30 Mar 2008 15:14:00 -0000	1.10
+++ static-dev-0.1.ebuild	5 Dec 2009 23:59:50 -0000	1.11
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild,v 1.10 2008/03/30 15:14:00 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild,v 1.11 2009/12/05 23:59:50 vapier Exp $
 
 inherit toolchain-funcs
 
@@ -13,6 +13,8 @@
 KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86"
 IUSE=""
 
+RDEPEND="|| ( sys-apps/makedev =sys-apps/baselayout-1* )"
+
 PROVIDE="virtual/dev-manager"
 
 pkg_preinst() {
@@ -53,7 +55,6 @@
 
 	einfo "Using generic${suffix} to make $(tc-arch) device nodes..."
 
-	export PATH=${ROOT}/dev:/dev:${PATH}
-	MAKEDEV generic${suffix} || die
-	MAKEDEV sg scd rtc hde hdf hdg hdh input audio video || die
+	MAKEDEV -d "${D}"/dev generic${suffix} || die
+	MAKEDEV -d "${D}"/dev sg scd rtc hde hdf hdg hdh input audio video || die
 }



1.10                 sys-fs/static-dev/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/static-dev/ChangeLog?rev=1.10&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/static-dev/ChangeLog?rev=1.10&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/static-dev/ChangeLog?r1=1.9&r2=1.10

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-fs/static-dev/ChangeLog,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ChangeLog	1 Oct 2007 01:48:45 -0000	1.9
+++ ChangeLog	5 Dec 2009 23:59:50 -0000	1.10
@@ -1,6 +1,10 @@
 # ChangeLog for sys-fs/static-dev
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/static-dev/ChangeLog,v 1.9 2007/10/01 01:48:45 vapier Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/static-dev/ChangeLog,v 1.10 2009/12/05 23:59:50 vapier Exp $
+
+  06 Dec 2009; Mike Frysinger <vapier@gentoo.org> static-dev-0.1.ebuild:
+  Create device nodes in $D/dev instead of /dev #295732 by Diego E.
+  Pettenò.
 
   01 Oct 2007; Mike Frysinger <vapier@gentoo.org> static-dev-0.1.ebuild:
   Fixup from Scott Price for devfs test #137434.






^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sys-fs/static-dev: static-dev-0.1.ebuild ChangeLog
@ 2011-02-06 11:05 Mart Raudsepp (leio)
  0 siblings, 0 replies; 7+ messages in thread
From: Mart Raudsepp (leio) @ 2011-02-06 11:05 UTC (permalink / raw
  To: gentoo-commits

leio        11/02/06 11:05:58

  Modified:             static-dev-0.1.ebuild ChangeLog
  Log:
  Drop to ~mips
  
  (Portage version: 2.1.9.35/cvs/Linux mips64)

Revision  Changes    Path
1.12                 sys-fs/static-dev/static-dev-0.1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild?rev=1.12&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild?rev=1.12&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild?r1=1.11&r2=1.12

Index: static-dev-0.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- static-dev-0.1.ebuild	5 Dec 2009 23:59:50 -0000	1.11
+++ static-dev-0.1.ebuild	6 Feb 2011 11:05:58 -0000	1.12
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild,v 1.11 2009/12/05 23:59:50 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild,v 1.12 2011/02/06 11:05:58 leio Exp $
 
 inherit toolchain-funcs
 
@@ -10,7 +10,7 @@
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86"
+KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
 IUSE=""
 
 RDEPEND="|| ( sys-apps/makedev =sys-apps/baselayout-1* )"



1.11                 sys-fs/static-dev/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/static-dev/ChangeLog?rev=1.11&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/static-dev/ChangeLog?rev=1.11&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/static-dev/ChangeLog?r1=1.10&r2=1.11

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-fs/static-dev/ChangeLog,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ChangeLog	5 Dec 2009 23:59:50 -0000	1.10
+++ ChangeLog	6 Feb 2011 11:05:58 -0000	1.11
@@ -1,6 +1,9 @@
 # ChangeLog for sys-fs/static-dev
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/static-dev/ChangeLog,v 1.10 2009/12/05 23:59:50 vapier Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/static-dev/ChangeLog,v 1.11 2011/02/06 11:05:58 leio Exp $
+
+  06 Feb 2011; Mart Raudsepp <leio@gentoo.org> static-dev-0.1.ebuild:
+  Drop to ~mips
 
   06 Dec 2009; Mike Frysinger <vapier@gentoo.org> static-dev-0.1.ebuild:
   Create device nodes in $D/dev instead of /dev #295732 by Diego E.






^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sys-fs/static-dev: static-dev-0.1.ebuild ChangeLog
@ 2011-04-15 21:57 Ulrich Mueller (ulm)
  0 siblings, 0 replies; 7+ messages in thread
From: Ulrich Mueller (ulm) @ 2011-04-15 21:57 UTC (permalink / raw
  To: gentoo-commits

ulm         11/04/15 21:57:05

  Modified:             static-dev-0.1.ebuild ChangeLog
  Log:
  Don't PROVIDE virtual/dev-manager, it is a new-style virtual now. Bug 361133.
  
  (Portage version: 2.1.9.46/cvs/Linux x86_64)

Revision  Changes    Path
1.13                 sys-fs/static-dev/static-dev-0.1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild?rev=1.13&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild?rev=1.13&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild?r1=1.12&r2=1.13

Index: static-dev-0.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- static-dev-0.1.ebuild	6 Feb 2011 11:05:58 -0000	1.12
+++ static-dev-0.1.ebuild	15 Apr 2011 21:57:05 -0000	1.13
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild,v 1.12 2011/02/06 11:05:58 leio Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild,v 1.13 2011/04/15 21:57:05 ulm Exp $
 
 inherit toolchain-funcs
 
@@ -15,8 +15,6 @@
 
 RDEPEND="|| ( sys-apps/makedev =sys-apps/baselayout-1* )"
 
-PROVIDE="virtual/dev-manager"
-
 pkg_preinst() {
 	if [[ -d ${ROOT}/dev/.udev || -c ${ROOT}/dev/.devfs ]] ; then
 		echo ""



1.12                 sys-fs/static-dev/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/static-dev/ChangeLog?rev=1.12&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/static-dev/ChangeLog?rev=1.12&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/static-dev/ChangeLog?r1=1.11&r2=1.12

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-fs/static-dev/ChangeLog,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- ChangeLog	6 Feb 2011 11:05:58 -0000	1.11
+++ ChangeLog	15 Apr 2011 21:57:05 -0000	1.12
@@ -1,6 +1,9 @@
 # ChangeLog for sys-fs/static-dev
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/static-dev/ChangeLog,v 1.11 2011/02/06 11:05:58 leio Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/static-dev/ChangeLog,v 1.12 2011/04/15 21:57:05 ulm Exp $
+
+  15 Apr 2011; Ulrich Mueller <ulm@gentoo.org> static-dev-0.1.ebuild:
+  Don't PROVIDE virtual/dev-manager, it is a new-style virtual now. Bug 361133.
 
   06 Feb 2011; Mart Raudsepp <leio@gentoo.org> static-dev-0.1.ebuild:
   Drop to ~mips






^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sys-fs/static-dev: static-dev-0.1.ebuild ChangeLog
@ 2011-07-21  1:56 Mike Frysinger (vapier)
  0 siblings, 0 replies; 7+ messages in thread
From: Mike Frysinger (vapier) @ 2011-07-21  1:56 UTC (permalink / raw
  To: gentoo-commits

vapier      11/07/21 01:56:04

  Modified:             static-dev-0.1.ebuild ChangeLog
  Log:
  Switch to newer makedev package and drop arch-specific logic #373625 by Bertrand Jacquin.
  
  (Portage version: 2.2.0_alpha45/cvs/Linux x86_64)

Revision  Changes    Path
1.14                 sys-fs/static-dev/static-dev-0.1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild?rev=1.14&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild?rev=1.14&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild?r1=1.13&r2=1.14

Index: static-dev-0.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- static-dev-0.1.ebuild	15 Apr 2011 21:57:05 -0000	1.13
+++ static-dev-0.1.ebuild	21 Jul 2011 01:56:04 -0000	1.14
@@ -1,8 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild,v 1.13 2011/04/15 21:57:05 ulm Exp $
-
-inherit toolchain-funcs
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild,v 1.14 2011/07/21 01:56:04 vapier Exp $
 
 DESCRIPTION="A skeleton, statically managed /dev"
 HOMEPAGE="http://bugs.gentoo.org/107875"
@@ -13,7 +11,7 @@
 KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
 IUSE=""
 
-RDEPEND="|| ( sys-apps/makedev =sys-apps/baselayout-1* )"
+RDEPEND="sys-apps/makedev"
 
 pkg_preinst() {
 	if [[ -d ${ROOT}/dev/.udev || -c ${ROOT}/dev/.devfs ]] ; then
@@ -30,29 +28,6 @@
 	fi
 }
 
-src_install() {
-	dodir /dev
-	cd "${D}"/dev/ || die "Unable to descend into /dev"
-
-	# keep in sync with sys-apps/baselayout
-	local suffix=""
-	case $(tc-arch) in
-		arm*)    suffix=-arm ;;
-		alpha)   suffix=-alpha ;;
-		amd64)   suffix=-i386 ;;
-		hppa)    suffix=-hppa ;;
-		ia64)    suffix=-ia64 ;;
-		m68k)    suffix=-m68k ;;
-		mips*)   suffix=-mips ;;
-		ppc*)    suffix=-powerpc ;;
-		s390*)   suffix=-s390 ;;
-		sh*)     suffix=-sh ;;
-		sparc*)  suffix=-sparc ;;
-		x86)     suffix=-i386 ;;
-	esac
-
-	einfo "Using generic${suffix} to make $(tc-arch) device nodes..."
-
-	MAKEDEV -d "${D}"/dev generic${suffix} || die
-	MAKEDEV -d "${D}"/dev sg scd rtc hde hdf hdg hdh input audio video || die
+pkg_postinst() {
+	MAKEDEV -d "${ROOT}"/dev generic sg scd rtc hde hdf hdg hdh input audio video
 }



1.13                 sys-fs/static-dev/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/static-dev/ChangeLog?rev=1.13&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/static-dev/ChangeLog?rev=1.13&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/static-dev/ChangeLog?r1=1.12&r2=1.13

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-fs/static-dev/ChangeLog,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- ChangeLog	15 Apr 2011 21:57:05 -0000	1.12
+++ ChangeLog	21 Jul 2011 01:56:04 -0000	1.13
@@ -1,6 +1,10 @@
 # ChangeLog for sys-fs/static-dev
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/static-dev/ChangeLog,v 1.12 2011/04/15 21:57:05 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/static-dev/ChangeLog,v 1.13 2011/07/21 01:56:04 vapier Exp $
+
+  21 Jul 2011; Mike Frysinger <vapier@gentoo.org> static-dev-0.1.ebuild:
+  Switch to newer makedev package and drop arch-specific logic #373625 by
+  Bertrand Jacquin.
 
   15 Apr 2011; Ulrich Mueller <ulm@gentoo.org> static-dev-0.1.ebuild:
   Don't PROVIDE virtual/dev-manager, it is a new-style virtual now. Bug 361133.






^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sys-fs/static-dev: static-dev-0.1.ebuild ChangeLog
@ 2013-04-27  9:51 Mike Frysinger (vapier)
  0 siblings, 0 replies; 7+ messages in thread
From: Mike Frysinger (vapier) @ 2013-04-27  9:51 UTC (permalink / raw
  To: gentoo-commits

vapier      13/04/27 09:51:06

  Modified:             static-dev-0.1.ebuild ChangeLog
  Log:
  Check for devtmpfs too #454404 by Alexander Tsoy.
  
  (Portage version: 2.2.0_alpha170/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)

Revision  Changes    Path
1.15                 sys-fs/static-dev/static-dev-0.1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild?rev=1.15&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild?rev=1.15&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild?r1=1.14&r2=1.15

Index: static-dev-0.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- static-dev-0.1.ebuild	21 Jul 2011 01:56:04 -0000	1.14
+++ static-dev-0.1.ebuild	27 Apr 2013 09:51:05 -0000	1.15
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild,v 1.14 2011/07/21 01:56:04 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild,v 1.15 2013/04/27 09:51:05 vapier Exp $
 
 DESCRIPTION="A skeleton, statically managed /dev"
 HOMEPAGE="http://bugs.gentoo.org/107875"
@@ -14,9 +14,10 @@
 RDEPEND="sys-apps/makedev"
 
 pkg_preinst() {
-	if [[ -d ${ROOT}/dev/.udev || -c ${ROOT}/dev/.devfs ]] ; then
+	if [[ -d ${ROOT}/dev/.udev || -c ${ROOT}/dev/.devfs ]] || \
+	   ! awk '$2 == "/dev" && $3 == "devtmpfs" { exit 1 }' /proc/mounts ; then
 		echo ""
-		eerror "We have detected that you currently use udev or devfs"
+		eerror "We have detected that you currently use udev or devfs or devtmpfs"
 		eerror "and this ebuild cannot install to the same mount-point."
 		eerror "Please reinstall the ebuild (as root) like follows:"
 		eerror ""



1.14                 sys-fs/static-dev/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/static-dev/ChangeLog?rev=1.14&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/static-dev/ChangeLog?rev=1.14&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/static-dev/ChangeLog?r1=1.13&r2=1.14

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-fs/static-dev/ChangeLog,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- ChangeLog	21 Jul 2011 01:56:04 -0000	1.13
+++ ChangeLog	27 Apr 2013 09:51:05 -0000	1.14
@@ -1,6 +1,9 @@
 # ChangeLog for sys-fs/static-dev
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/static-dev/ChangeLog,v 1.13 2011/07/21 01:56:04 vapier Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/static-dev/ChangeLog,v 1.14 2013/04/27 09:51:05 vapier Exp $
+
+  27 Apr 2013; Mike Frysinger <vapier@gentoo.org> static-dev-0.1.ebuild:
+  Check for devtmpfs too #454404 by Alexander Tsoy.
 
   21 Jul 2011; Mike Frysinger <vapier@gentoo.org> static-dev-0.1.ebuild:
   Switch to newer makedev package and drop arch-specific logic #373625 by
@@ -45,4 +48,3 @@
   20 Mar 2006; John Mylchreest <johnm@gentoo.org> +metadata.xml,
   +static-dev-0.1.ebuild:
   initial commit. A basic static /dev
-





^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sys-fs/static-dev: static-dev-0.1.ebuild ChangeLog
@ 2014-11-17  2:19 Mike Frysinger (vapier)
  0 siblings, 0 replies; 7+ messages in thread
From: Mike Frysinger (vapier) @ 2014-11-17  2:19 UTC (permalink / raw
  To: gentoo-commits

vapier      14/11/17 02:19:23

  Modified:             static-dev-0.1.ebuild ChangeLog
  Log:
  Only check for devtmpfs when installing into / #469620 by Roy Bamford.
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key D2E96200)

Revision  Changes    Path
1.16                 sys-fs/static-dev/static-dev-0.1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild?rev=1.16&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild?rev=1.16&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild?r1=1.15&r2=1.16

Index: static-dev-0.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- static-dev-0.1.ebuild	27 Apr 2013 09:51:05 -0000	1.15
+++ static-dev-0.1.ebuild	17 Nov 2014 02:19:23 -0000	1.16
@@ -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-fs/static-dev/static-dev-0.1.ebuild,v 1.15 2013/04/27 09:51:05 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild,v 1.16 2014/11/17 02:19:23 vapier Exp $
 
 DESCRIPTION="A skeleton, statically managed /dev"
 HOMEPAGE="http://bugs.gentoo.org/107875"
@@ -13,19 +13,20 @@
 
 RDEPEND="sys-apps/makedev"
 
+abort() {
+	echo
+	eerror "We have detected that you currently use udev or devfs or devtmpfs"
+	eerror "and this ebuild cannot install to the same mount-point."
+	die "Cannot install on udev/devfs tmpfs."
+}
+
 pkg_preinst() {
-	if [[ -d ${ROOT}/dev/.udev || -c ${ROOT}/dev/.devfs ]] || \
+	if [[ -d ${ROOT}/dev/.udev || -c ${ROOT}/dev/.devfs ]] ; then
+		abort
+	fi
+	if [[ ${ROOT} == "/" ]] && \
 	   ! awk '$2 == "/dev" && $3 == "devtmpfs" { exit 1 }' /proc/mounts ; then
-		echo ""
-		eerror "We have detected that you currently use udev or devfs or devtmpfs"
-		eerror "and this ebuild cannot install to the same mount-point."
-		eerror "Please reinstall the ebuild (as root) like follows:"
-		eerror ""
-		eerror "mkdir /tmp/newroot"
-		eerror "mount -o bind / /tmp/newroot"
-		eerror "ROOT=/tmp/newroot/ emerge sys-fs/static-dev"
-		eerror "umount /tmp/newroot"
-		die "Cannot install on udev/devfs tmpfs."
+		abort
 	fi
 }
 



1.15                 sys-fs/static-dev/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/static-dev/ChangeLog?rev=1.15&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/static-dev/ChangeLog?rev=1.15&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/static-dev/ChangeLog?r1=1.14&r2=1.15

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-fs/static-dev/ChangeLog,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- ChangeLog	27 Apr 2013 09:51:05 -0000	1.14
+++ ChangeLog	17 Nov 2014 02:19:23 -0000	1.15
@@ -1,6 +1,9 @@
 # ChangeLog for sys-fs/static-dev
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/static-dev/ChangeLog,v 1.14 2013/04/27 09:51:05 vapier Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/static-dev/ChangeLog,v 1.15 2014/11/17 02:19:23 vapier Exp $
+
+  17 Nov 2014; Mike Frysinger <vapier@gentoo.org> static-dev-0.1.ebuild:
+  Only check for devtmpfs when installing into / #469620 by Roy Bamford.
 
   27 Apr 2013; Mike Frysinger <vapier@gentoo.org> static-dev-0.1.ebuild:
   Check for devtmpfs too #454404 by Alexander Tsoy.





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-11-17  2:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-15 21:57 [gentoo-commits] gentoo-x86 commit in sys-fs/static-dev: static-dev-0.1.ebuild ChangeLog Ulrich Mueller (ulm)
  -- strict thread matches above, loose matches on Subject: below --
2014-11-17  2:19 Mike Frysinger (vapier)
2013-04-27  9:51 Mike Frysinger (vapier)
2011-07-21  1:56 Mike Frysinger (vapier)
2011-02-06 11:05 Mart Raudsepp (leio)
2009-12-05 23:59 Mike Frysinger (vapier)
2007-10-01  1:48 Mike Frysinger (vapier)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox