+ local run_cmd + run_cmd=run_direct + shift + run_direct /usr/pkg/bin/bmake stage-package-create BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/tsm8-8.1.15.2/work.log + /usr/pkg/bin/bmake stage-package-create BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/tsm8-8.1.15.2/work.log => Creating binary package /home/pbulk/build/sysutils/tsm8/work/.packages/tsm8-8.1.17.2.tgz => Signing binary package /home/pbulk/build/sysutils/tsm8/work/.packages/tsm8-8.1.17.2.tgz (GPG) + PKG_PATH=/data/packages/NetBSD/trunk/x86_64/All /usr/tools/sbin/pkg_add -K /usr/pkg/pkgdb /home/pbulk/build/sysutils/tsm8/work/.packages/tsm8-8.1.17.2.tgz tsm8-8.1.17.2: rebuilding run-time library search paths database tsm8-8.1.17.2: copying /usr/pkg/share/examples/tsm/dsm.opt.smp to /usr/pkg/etc/tsm/dsm.opt tsm8-8.1.17.2: copying /usr/pkg/share/examples/tsm/dsm.sys.smp to /usr/pkg/etc/tsm/dsm.sys =========================================================================== $NetBSD: MESSAGE,v 1.2 2021/05/20 19:24:13 hauke Exp $ Tivoli Storage Manager Client has been installed in /usr/pkg/emul/linux/opt/tivoli with binaries in /usr/pkg/emul/linux/opt/tivoli/tsm/client/ba/bin and configuration in /usr/pkg/etc/tsm NetBSD configuration hints: - TSM expects /usr/pkg/emul/linux/etc/mtab to exist, and be meaningful. The suse_base package sets up a symlink to /usr/pkg/emul/linux/proc/mounts, which works on NetBSD 3 or newer if you mount procfs like >> procfs /usr/pkg/emul/linux/linux/proc procfs ro,linux 0 0 << in /etc/fstab. Alternatively, make /usr/pkg/emul/linux/etc/mtab a symlink to /etc/fstab. - Make sure 'passworddir' is set in tsm.sys, so that the passwd file ends up in /usr/pkg/etc/tsm instead of the shadow hierarchy. - The environment variables DSM_DIR, DSM_CONFIG, DSM_LOG need to be set properly. DSM_LOG may inadvertently end up in the emul shadow hierarchy. There is a sample start script in /usr/pkg/share/examples/tsm. - For backing up the native filesystem hierarchy, use a construct like "ln -s / /.`hostname`" to break out of the emul shadow hierarchy. ===========================================================================