6 NANO_SRC=${NANO_SRC%/tools/tools/nanobsd/pcengines}
7 NANO_OBJ=${NANO_SRC}/../${NANO_NAME}/obj
9 NANO_PACKAGE_DIR=$(pwd)/Pkg
10 #NANO_RAM_TMPVARSIZE=20480
11 #NANO_RAM_TMPVARSIZE=30720
12 NANO_RAM_TMPVARSIZE=40960
13 NANO_PMAKE="make -j 8"
15 NANO_MD_BACKING="swap"
17 # Options to put in make.conf during buildworld only
21 # Options to put in make.conf during installworld only
24 # Options to put in make.conf during both build- & installworld.
29 MODULES_OVERRIDE=netgraph rc4
30 BOOT_PXELDR_PROBE_KEYBOARD=1
31 BOOT_PXELDR_ALWAYS_SERIAL=1
32 BOOT_COMCONSOLE_SPEED=9600
35 customize_cmd cust_comconsole
36 customize_cmd cust_allow_ssh_root
37 customize_cmd cust_install_files
38 cust_install_machine_files() (
39 MACHINE_DIR="${NANO_TOOLS}/Files.${NANO_NAME}"
40 if [ -d "${MACHINE_DIR}" ]; then
42 find . -print | grep -Ev '/(CVS|\.svn)' | cpio -dumpv ${NANO_WORLDDIR}
44 echo "${MACHINE_DIR} not found, skipping step"
47 customize_cmd cust_install_machine_files
50 cd ${NANO_WORLDDIR}/libexec
51 if [ \! -f ld-elf32.so.1 ]; then
52 ln -s ld-elf.so.1 ld-elf32.so.1
55 customize_cmd cust_ld32_cfg
59 echo "-S9600 -h" > boot.config
60 echo "console=\"comconsole\"" > boot/loader.conf
61 echo "comconsole_speed=\"9600\"" >> boot/loader.conf
62 echo "hint.acpi.0.disabled=\"1\"" >> boot/loader.conf
64 customize_cmd cust_boot_cfg
65 customize_cmd cust_pkgng
69 echo "fs:/usr/ports /usr/ports nfs rw,noauto,noatime,bg,soft,intr,nfsv3 0 0" >> etc/fstab
70 echo "fs:/mnt/Backup /mnt/Backup nfs rw,noauto,noatime,bg,soft,intr,nfsv3 0 0" >> etc/fstab
71 echo "fs:/mnt/Ablage /mnt/Ablage nfs rw,noauto,noatime,bg,soft,intr,nfsv3 0 0" >> etc/fstab
72 echo "/dev/ad1s1a /z/scratch ufs rw,noauto,noatime 0 0" >> etc/fstab
74 customize_cmd cust_etc_cfg
77 pprint 2 "last orders"
80 touch conf/default/etc/.keepme
81 touch conf/default/var/.keepme