Re: Some ideas and concerns regarding fakeroot
I would say always check in the real root as well for a stat.
IF the package modifies its behaviour then the maintainer needs to edit the
Makefiles and simply comment the check out.
: I like the idea. There's one thing I'm not sure about, though: stat().
: Suppose we've got two packages, foo and bar. One does, in the make install:
: if test -f /etc/foo-info; then
: process /ect/foo-info, do things with info,
: and install the foo accordingly;
: else
: echo /etc/foo-info missing. Please create this file and re-run make info.
: fi
: So, surely, for foo we want
: stat(file that lives in /, but not in VIRTUAL_ROOT/etc)
: to give the stat of / anyway.
: But now take bar, that does:
: if test -f /etc/bar-info; then
: echo /etc/bar-info doesn't exist yet. Creating it.
: echo "bartender=" `hostname` > /etc/bar-info
: else
: echo /etc/bar-info already exist, good. Not creating it.
: fi
: So, surely, for bar we want
: stat(file that lives in /, but not in VIRTUAL_ROOT/etc)
: _not_ to give the stat of /.
: How is fakeroot going to distinguish between the two?
: --
: joost witteveen, joostje@debian.org
: #!/usr/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
: $/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
: lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)
: #what's this? see http://www.dcs.ex.ac.uk/~aba/rsa/
: --
: TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
: debian-devel-request@lists.debian.org .
: Trouble? e-mail to templin@bucknell.edu .
--
--- +++ --- +++ --- +++ --- +++ --- +++ --- +++ --- +++ ---
Please always CC me when replying to posts on mailing lists.
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: