summaryrefslogtreecommitdiff
path: root/sys-fs/static-dev
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-05-22 07:31:18 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-05-22 07:31:18 +0100
commit908778078736bd36f7a60a2d576d415cb8e000fa (patch)
treec6a4796c48b608c14dc7e9674cdbd38f905e3c15 /sys-fs/static-dev
parent185fa19bbf68a4d4dca534d2b46729207a177f16 (diff)
gentoo resync : 22.05.2021
Diffstat (limited to 'sys-fs/static-dev')
-rw-r--r--sys-fs/static-dev/Manifest2
-rw-r--r--sys-fs/static-dev/static-dev-0.1-r1.ebuild (renamed from sys-fs/static-dev/static-dev-0.1.ebuild)19
2 files changed, 9 insertions, 12 deletions
diff --git a/sys-fs/static-dev/Manifest b/sys-fs/static-dev/Manifest
index 443f25e88ece..501830426d8c 100644
--- a/sys-fs/static-dev/Manifest
+++ b/sys-fs/static-dev/Manifest
@@ -1,2 +1,2 @@
-EBUILD static-dev-0.1.ebuild 1144 BLAKE2B 82122b25e84a1a130b3b00afa45350d4d32b7dd2cc6211b7878dfe147ba00bc3e9cd3fccc75d4c2d881ba572fd4f51c8ae434e052fba869f788e3b020e1a4da7 SHA512 ae26f2c302bea959dbae7ff59bd3e30931f7b871e130aff0f40111a829a7fe972dfb91d4ad810ffa96c1dcaad404af202cc1cc309b92f50fe10c0ce7bf130dcf
+EBUILD static-dev-0.1-r1.ebuild 1103 BLAKE2B ee9a36d0bc1fd9b9c6d3f608b8fff157266f91c0e5283085a51136804d998c72fe010fa097b775cc13e71d6cfabddd6e202e4a55a1eb47f3f256776d9cac396b SHA512 9c6d4f600407f487f537de931aa2371807b9c5ed0c1030d3eeec087fbcb10ca1512fc4490858216a0b08d9db99197f86b4e0a86669c03a36795933d6cc4caaf9
MISC metadata.xml 253 BLAKE2B 295e9d6d93aaa12af413972e1590c67087801cc09c9aa6b59d4606c0f4106d1dacf2baa9858559083b4c6d91beeef218d0729e8593a33788958da6d2897e8ce2 SHA512 54a9069aeb4165d2dff3d473c8001bc51613aac9dff3f7f5e9971a9891a737a31511ffa11cbd523febe581ac1d9de2bdf2f40410f0c4239138f2ccca3ef15555
diff --git a/sys-fs/static-dev/static-dev-0.1.ebuild b/sys-fs/static-dev/static-dev-0.1-r1.ebuild
index c1a62712d168..42c60e497de4 100644
--- a/sys-fs/static-dev/static-dev-0.1.ebuild
+++ b/sys-fs/static-dev/static-dev-0.1-r1.ebuild
@@ -1,28 +1,24 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="5"
+EAPI=7
DESCRIPTION="A skeleton, statically managed /dev"
HOMEPAGE="https://bugs.gentoo.org/107875"
-SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86"
-IUSE=""
RDEPEND="sys-apps/makedev"
-DEPEND="${RDEPEND}"
-
-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_pretend() {
+ abort() {
+ 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."
+ }
+
if [[ ${MERGE_TYPE} == "buildonly" ]] ; then
# User is just compiling which is fine -- all our checks are merge-time.
return
@@ -32,6 +28,7 @@ pkg_pretend() {
if [[ -d ${ROOT}/dev/.udev || -c ${ROOT}/dev/.devfs ]] ; then
abort
fi
+
# We also want to not clobber newer devtmpfs setups.
if [[ ${ROOT} == "/" ]] && \
! awk '$2 == "/dev" && $3 == "devtmpfs" { exit 1 }' /proc/mounts ; then