[jail] [ports] fetch-recursive

弄了個 jail ,又不想它和 Internet 有直接聯繫,所以用 mount_nullfs 將 /usr/ports 連進 jail 裡就發生問題了。不是所有的 distfiles 都準備好了,按照 FreeBSD ports 流程,它檢查 distfiles/ 下沒有檔案之後會試圖由網路抓取。要是一個一個由 host 打 make fetch,一但又有新的 depend 出現,不累死才怪。那怎麼辦咧?

在 host 下,先到要 build 的某 package 下(如這裡因為要用 lighttpd,就在 lighttpd 下)打:

  • % make fetch-recursive

如此一來,就可以解決啦。

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • funp
  • Haohao
  • Hemidemi
  • Live
  • MisterWong
  • TwitThis
  • udn
 

Other posts

2 replies


  1. po-po-po-portinstall -R 的話呢? XD


  2. 那不是差不多嗎? :p

Leave a reply

Creative Commons Attribution-NonCommercial-ShareAlike 2.5 Taiwan
Creative Commons Attribution-NonCommercial-ShareAlike 2.5 Taiwan