1 |
On Fri, Apr 12, 2013 at 7:22 PM, Mike Frysinger <vapier@g.o> wrote: |
2 |
> i don't know what you mean. if the ebuild detects devpts being mounted and |
3 |
> the mount is incorrect, it will die. if you don't have devpts mounted at all, |
4 |
> then it assumes you know what you're doing. |
5 |
|
6 |
What I am saying is that you make no distinction between build |
7 |
environment and deployment environment. Quite a few users build their |
8 |
Gentoo systems in a chroot. In that case, whole /dev, or its portions |
9 |
(including /dev/pts) can be bind-mounts from the host filesystem, and |
10 |
/dev/pts does not need to have the correct permissions. However, you |
11 |
*would* see such a bind-mount as a devpts mount in /proc/mounts. So |
12 |
why not print a warning — what's the point of dying in pkg_preinst? |
13 |
|
14 |
-- |
15 |
Maxim Kammerer |
16 |
Liberté Linux: http://dee.su/liberte |