Hi! I’m clsung

Hi! I’m clsung

clsung’s blog site

Hi! I’m clsung RSS Feed
 
 
 
 

[TinderBox] Building a 6.X or 5.X Jail on -CURRENT

Quick note: refer to HEADS UP: Building a 6.X or 5.X Jail on -CURRENT

Get the patch: http://www.marcuscom.com/downloads/binutils.diff

Save the following code to 6.hook.sh:

#!/bin/sh

major_version=$(echo ${JAIL} | sed -E -e ’s|(^.).*$|1|’)
if [ ${major_version} -le 6 ]; then
    cd ${SRCBASE}
    patch -p1 < /path/to/binutils.diff
fi
exit 0

and execute the command:

% `./tc updateHookCmd -h preJailBuild -c 6.hook.sh

Remember chmod u+x for 6.hook.sh.

Leave a Reply

噗浪:

  • clsung 說 該來休息了 9 小時 之前
  • clsung 說 本週最後一個上班日囉 18 小時 之前
  • clsung 說 今天 2940, 看來昨天有量錯, 因為前天 2830, 昨天竟然報 2760 .... 2010-03-18

分類

Flickr

    clsung. Get yours at bighugelabs.com/flickr

Blogroll

    馬的警總回來了