diff options
author | John Mylchreest <johnm@gentoo.org> | 2006-04-15 08:02:21 +0000 |
---|---|---|
committer | John Mylchreest <johnm@gentoo.org> | 2006-04-15 08:02:21 +0000 |
commit | 8b7ae5c098fbba0aea2f4e47fb589848fea8a1b7 (patch) | |
tree | d2eedc2451f281bf45f7401f14f52d403a1eca5f /sys-fs | |
parent | arm/hppa/ia64/s390/sh stable (diff) | |
download | historical-8b7ae5c098fbba0aea2f4e47fb589848fea8a1b7.tar.gz historical-8b7ae5c098fbba0aea2f4e47fb589848fea8a1b7.tar.bz2 historical-8b7ae5c098fbba0aea2f4e47fb589848fea8a1b7.zip |
bail if trying to install on devfs or udev
Package-Manager: portage-2.1_pre8-r5
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/static-dev/ChangeLog | 5 | ||||
-rw-r--r-- | sys-fs/static-dev/Manifest | 32 | ||||
-rw-r--r-- | sys-fs/static-dev/files/digest-static-dev-0.1 | 1 | ||||
-rw-r--r-- | sys-fs/static-dev/static-dev-0.1.ebuild | 19 |
4 files changed, 45 insertions, 12 deletions
diff --git a/sys-fs/static-dev/ChangeLog b/sys-fs/static-dev/ChangeLog index 02de13cffe03..919af48c86f3 100644 --- a/sys-fs/static-dev/ChangeLog +++ b/sys-fs/static-dev/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-fs/static-dev # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/static-dev/ChangeLog,v 1.1 2006/03/20 22:01:10 johnm Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/static-dev/ChangeLog,v 1.2 2006/04/15 08:02:21 johnm Exp $ + + 15 Apr 2006; John Mylchreest <johnm@gentoo.org> static-dev-0.1.ebuild: + Exit if trying to install over udev or devfs *static-dev-0.1 (20 Mar 2006) diff --git a/sys-fs/static-dev/Manifest b/sys-fs/static-dev/Manifest index 9bc43393c8c9..95efb4dc03d7 100644 --- a/sys-fs/static-dev/Manifest +++ b/sys-fs/static-dev/Manifest @@ -1,12 +1,26 @@ -MD5 c6153bf250be2751dd2ee57cf6c085cf ChangeLog 367 -RMD160 93b4ed200e83c116134a239ecad123f9cac42c6a ChangeLog 367 -SHA256 00e4a54c77f09e27c9aa9d523fd2376ea33cd51a5d1703b06bfcbe46019bca11 ChangeLog 367 -MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-static-dev-0.1 0 -RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-static-dev-0.1 0 -SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-static-dev-0.1 0 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +EBUILD static-dev-0.1.ebuild 1601 RMD160 ea45fbc3883f7a2640f0155532efa75cb2ad578f SHA1 859f9ceb8c02be7df2b3cbc2d7bf2ddf60404912 SHA256 7fa552c4af449dfa2e72c6acc67d72b7d3ad3b9e58eba9c5ad2df5ba2d16b174 +MD5 7ad5412f0c2e772bedfc6e47daea6394 static-dev-0.1.ebuild 1601 +RMD160 ea45fbc3883f7a2640f0155532efa75cb2ad578f static-dev-0.1.ebuild 1601 +SHA256 7fa552c4af449dfa2e72c6acc67d72b7d3ad3b9e58eba9c5ad2df5ba2d16b174 static-dev-0.1.ebuild 1601 +MISC ChangeLog 488 RMD160 30cb661cfee300997fe337c2635b6d4a77279e35 SHA1 c633451057d245e6242246fa71e8bc8c6c9d81b6 SHA256 70072a1fc64731d1be49b3d8c79012ac76d5256da448945c908522921ecae381 +MD5 75ebece342b341c31104e0e72956fcd5 ChangeLog 488 +RMD160 30cb661cfee300997fe337c2635b6d4a77279e35 ChangeLog 488 +SHA256 70072a1fc64731d1be49b3d8c79012ac76d5256da448945c908522921ecae381 ChangeLog 488 +MISC metadata.xml 220 RMD160 39d431ba4652ec43cc0c27b6451798a86fa67ead SHA1 192f3c7c8eafd2fd210a7ba32745753989c2bdea SHA256 b5957b27c9ff24c7903f43253d761db2c5613c196472cfc5ddcdf0e141ca3543 MD5 14b00ae337e232ec8a4a5d44f60ccf97 metadata.xml 220 RMD160 39d431ba4652ec43cc0c27b6451798a86fa67ead metadata.xml 220 SHA256 b5957b27c9ff24c7903f43253d761db2c5613c196472cfc5ddcdf0e141ca3543 metadata.xml 220 -MD5 f2774e5f4f98bef72ed2291808b37d79 static-dev-0.1.ebuild 1113 -RMD160 ce4148828110f1ab85af79d96564f04ac45e774c static-dev-0.1.ebuild 1113 -SHA256 7a6a145c419e0323c4f1961ead9d2d9d8f0ddd33bf4f7c733767582ba53b9795 static-dev-0.1.ebuild 1113 +size 1 files/digest-static-dev-0.1 1 +RMD160 c0da025038ed83c687ddc430da9846ecb97f3998 files/digest-static-dev-0.1 1 +SHA256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b files/digest-static-dev-0.1 1 +MD5 68b329da9893e34099c7d8ad5cb9c940 files/digest-static-dev-0.1 1 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.2.2 (GNU/Linux) + +iD8DBQFEQKicNzVYcyGvtWURAubBAJwIAt4UYc1pqpSzHZ24s5UX7ZbygwCguKro +A4MJfQ/T2z8hyjk07PJfIfQ= +=M7K0 +-----END PGP SIGNATURE----- diff --git a/sys-fs/static-dev/files/digest-static-dev-0.1 b/sys-fs/static-dev/files/digest-static-dev-0.1 index e69de29bb2d1..8b137891791f 100644 --- a/sys-fs/static-dev/files/digest-static-dev-0.1 +++ b/sys-fs/static-dev/files/digest-static-dev-0.1 @@ -0,0 +1 @@ + diff --git a/sys-fs/static-dev/static-dev-0.1.ebuild b/sys-fs/static-dev/static-dev-0.1.ebuild index 0ee900b47e72..775839e41e17 100644 --- a/sys-fs/static-dev/static-dev-0.1.ebuild +++ b/sys-fs/static-dev/static-dev-0.1.ebuild @@ -1,17 +1,32 @@ # Copyright 2005-2006 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.1 2006/03/20 22:01:10 johnm Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild,v 1.2 2006/04/15 08:02:21 johnm Exp $ DESCRIPTION="A skeleton, statically managed /dev" HOMEPAGE="http://bugs.gentoo.org/show_bug.cgi?id=107875" SRC_URI="" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86 ~ppc ~alpha ~arm ~hppa ~ia64 ~m68k ~mips ~s390 ~sparc" +KEYWORDS="x86 ~ppc ~alpha ~arm ~hppa ~ia64 ~m68k ~mips ~s390 ~sparc" IUSE="" RDEPEND="virtual/baselayout" PROVIDE="virtual/dev-manager" +pkg_setup() { + if [[ -d /dev/.udev/ || ! -c /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." + 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." + fi +} + pkg_postinst() { local x="generic" local makedev |