config root man

Current Path : /usr/src/tools/tools/nanobsd/pcengines/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/src/tools/tools/nanobsd/pcengines/common.conf

#
# $FreeBSD: release/9.1.0/tools/tools/nanobsd/pcengines/common.conf 199536 2009-11-19 16:27:51Z mr $
#

NANO_TOOLS=`pwd`
NANO_PACKAGE_DIR=`pwd`/Pkg
#NANO_RAM_TMPVARSIZE=20480
#NANO_RAM_TMPVARSIZE=30720
NANO_RAM_TMPVARSIZE=40960
NANO_PMAKE="make -j 8"

NANO_MD_BACKING="swap"
#NANO_MAKEFS="makefs \
#	-o bsize=4096,fsize=512,density=8192,optimization=space"
#export NANO_MAKEFS

# Options to put in make.conf during buildworld only
CONF_BUILD='
NO_CLEAN=YES
'
# Options to put in make.conf during installworld only                          
CONF_INSTALL='
'
# Options to put in make.conf during both build- & installworld.                
CONF_WORLD='                                                                    
#TARGET_ARCH=i386
CFLAGS=-O -pipe                                                                
WITHOUT_ACPI=
MODULES_OVERRIDE=netgraph rc4
BOOT_PXELDR_PROBE_KEYBOARD=1
BOOT_PXELDR_ALWAYS_SERIAL=1
BOOT_COMCONSOLE_SPEED=9600
'

customize_cmd cust_comconsole
customize_cmd cust_allow_ssh_root
customize_cmd cust_install_files
cust_install_machine_files() (
  MACHINE_DIR="${NANO_TOOLS}/Files.${NANO_NAME}"
  if [ -d "${MACHINE_DIR}" ]; then
    cd ${MACHINE_DIR}
    find . -print | grep -Ev '/(CVS|\.svn)' | cpio -dumpv ${NANO_WORLDDIR}
  else
    echo "${MACHINE_DIR} not found, skipping step"
  fi
)
customize_cmd cust_install_machine_files

cust_ld32_cfg () (
  cd ${NANO_WORLDDIR}/libexec
  if [ \! -f ld-elf32.so.1 ]; then
    ln -s ld-elf.so.1 ld-elf32.so.1
  fi
)
customize_cmd cust_ld32_cfg

cust_boot_cfg () (
  cd ${NANO_WORLDDIR}
  echo "-S9600 -h" > boot.config
  echo "console=\"comconsole\"" > boot/loader.conf
  echo "comconsole_speed=\"9600\"" >> boot/loader.conf
  echo "hint.acpi.0.disabled=\"1\"" >> boot/loader.conf
)
customize_cmd cust_boot_cfg
customize_cmd cust_pkg
cust_etc_cfg () (
  cd ${NANO_WORLDDIR}
  mkdir -pv z/scratch
  echo "fs:/usr/ports /usr/ports nfs rw,noauto,noatime,bg,soft,intr,nfsv3 0 0" >> etc/fstab
  echo "fs:/mnt/Backup /mnt/Backup nfs rw,noauto,noatime,bg,soft,intr,nfsv3 0 0" >> etc/fstab
  echo "fs:/mnt/Ablage /mnt/Ablage nfs rw,noauto,noatime,bg,soft,intr,nfsv3 0 0" >> etc/fstab
  echo "/dev/ad1s1a /z/scratch ufs rw,noauto,noatime 0 0" >> etc/fstab
)
customize_cmd cust_etc_cfg

last_orders () (
        pprint 2 "last orders"
        (
        cd ${NANO_WORLDDIR}
        touch conf/default/etc/.keepme
        touch conf/default/var/.keepme
        )
)

Man Man