=== modified file 'sys-fs/minimal-dev/Manifest' --- sys-fs/minimal-dev/Manifest 2016-04-12 12:49:17 +0000 +++ sys-fs/minimal-dev/Manifest 2014-10-28 04:10:22 +0000 @@ -1,1 +1,1 @@ -EBUILD minimal-dev-0.1.ebuild 1692 SHA256 cdbcf732781c26bf3730c1a6dd4ade911df3f40f4f9a162e793252ab44361181 SHA512 f61ec4f2c433c606cb5215c97ed61255dba742425c0adaeaa859c495c8af8d743a57a4a114ce3b56bf3ba61c689c67f60e29045173f84b5fc3068f46fb9d7fce WHIRLPOOL fe4e71abf8e5df02e9a12b98df561559ece1d1566aaf0b94dd05369fc9ddb36652b504be69631b9aa581b125dd5f7aadb21054551fa9ca118555e34806a5e38c +EBUILD minimal-dev-0.1.ebuild 1434 SHA256 629c30100a36abd557a9d77be760889cf6cfe8c08b326a884903102638aec5de SHA512 068fe5598e0eb00f2c55cf9cc39c2796405b6b316388e0360ef0754df430da446bb021ce0b40883f66935eb086420b62e5897059dbe86c6225c7f5b399c1ae13 WHIRLPOOL a4bde08e827043589767d318750659c58f5df2081e0bb393287b36bda5c4e92d67d072f3916e611ea8cbdda15b9487a80a87810c68d97c7fe04b9e9df47932c9 === modified file 'sys-fs/minimal-dev/minimal-dev-0.1.ebuild' --- sys-fs/minimal-dev/minimal-dev-0.1.ebuild 2016-04-12 12:49:17 +0000 +++ sys-fs/minimal-dev/minimal-dev-0.1.ebuild 2014-10-28 04:10:22 +0000 @@ -14,11 +14,7 @@ pkg_preinst() { if [[ -d ${ROOT}/dev/.udev || -c ${ROOT}/dev/.devfs ]] || \ - ! awk '{for(n=7;n<=NF;n++){if($n=="-"){n++;break}};if($5 == "/dev" && $n ~ /tmpfs/) exit 1}' /proc/self/mountinfo; then - # We need to use mountinfo which works well inside chroot, - # unlike mtab or /proc/mounts. - # Unfortunately, the format of mountinfo has optional fields - # in the middle and requires rather complex parsing. + ! 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."