[Pkg-mc-devel] Bug#582078: mc: postin runs dpkg-architecture from dpkg-dev but not depend on dpkg-dev

Yury V. Zaytsev yury at shurup.com
Tue May 18 08:59:44 UTC 2010

On Tue, 2010-05-18 at 10:54 +0200, Sven Joachim wrote:

> If checking for Linux is all you need to do, "uname -s" should be
> sufficient.

What does uname -s show on kfreebsd/hurd? I can't check this.

> However, it would be better to check DEB_HOST_GNU_SYSTEM at
> build time and set the permissions of /usr/lib/mc/cons.saver in the
> package instead of using dpkg-statoverride in the postinst.

Well, I can't really do this, because helpful debhelper will revert my
changes, unless I override the permission normalization procedure in
rules, which I don't want to do, because there are often permission
issues with the tarballs.

As I mentioned in the previous email, the file only gets packaged if
arch is Linux via mc.install.linux, so do you think it's a good idea to
chgrp || true in such a case unconditionally?
Sincerely yours,
Yury V. Zaytsev

More information about the Pkg-mc-devel mailing list