Re: which ports require dialog during update

看板FB_questions作者時間14年前 (2011/10/21 19:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串5/14 (看更多)
On 2011/10/21 11:21, Damien Fleuriot wrote: > > > On 10/21/11 11:14 AM, Paul Macdonald wrote: >>> Hi, Is there a way to tell which ports might require dialog input >> during update, i have some auto update scripts >>> Stop doing this. >>> >>> Your update scripts do not read /usr/ports/UPDATING. >>> Your update scripts do not read package changelogs. >>> >>> What you're doing is irresponsible, and potentially dangerous/harmful if >>> your server is in production. >>> >>> You should really be very careful about this. >> i do of course read those files (which require daily checking to confirm >> usually no relevant changes, but thats another issue!).. >> >> however i don't need to read UPDATING on every box, (this tool is an >> assistent, not a replacement, for monitored updates.) >> >> i do need to check that an update that went fine on the initial test box >> will behave the same on other boxes, which is my question, >> >> can i tell if the options dialog is going to be invoked? >> >> thanks >> Paul. > > I'm afraid I can't see an option in portmanager that would handle this. > > I think you portupgrade's --batch mode might be the answer to your > question though. I use portupgrade's --batch or portmaster's PM_MAKE_ARGS='BATCH=true'. The BATCH variable is recognized in ports' makefiles so there should be a way in portmanager too. OP may want to look on 'make config-recursive'. BR Oli _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
文章代碼(AID): #1EeLWpzh (FB_questions)
討論串 (同標題文章)
文章代碼(AID): #1EeLWpzh (FB_questions)