installworld fails in usr.bin/tip/tip

看板DFBSD_bugs作者時間21年前 (2004/09/09 14:02), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/2 (看更多)
[This problem has originally been pointed out in Miyamoto-san's (Cc:'ed) web diary, but he seemed to have no time to track this down or submit the report to bugs@] Recently, cu(1) has been replaced by tip(1). However, since cu is installed with schg set on older system, creating a hard link from tip to cu is refused and install fails. Looking at other Makefile's, removing schg in beforeinstall target seems to solve the problem. Index: usr.bin/tip/tip/Makefile =================================================================== RCS file: /home/source/dragonfly/cvs/src/usr.bin/tip/tip/Makefile,v retrieving revision 1.3 diff -u -r1.3 Makefile --- usr.bin/tip/tip/Makefile 3 Sep 2004 20:48:16 -0000 1.3 +++ usr.bin/tip/tip/Makefile 9 Sep 2004 05:25:04 -0000 @@ -33,4 +33,7 @@ # XXX: there is some concern that `tip' in its current state shouldn't run # SUID. If it believed it should, the mode above may still no be proper. +beforeinstall: + chflags noschg ${DESTDIR}${BINDIR}/cu || true + .include <bsd.prog.mk>
文章代碼(AID): #11F_7U00 (DFBSD_bugs)
文章代碼(AID): #11F_7U00 (DFBSD_bugs)