Hi,

I'm trying to create a pfSense appliance with pre-installed FreeBSD ports like 
Django.
I don't find the equivalent of "custom_package_list" for the ports.

So I have tried to add some ports into a personalized PFSPORTSFILE file. I 
copy buildports.RELENG_2_0 into my appliance and add the following line into 
the PORTSTOBUILD variable :
python26                                /usr/ports/lang/python26                
               
/usr/local/bin/python2.6

Unfortunately I have the following error during the ISO build (look my 
pfsense-build.conf underneath) :
>>> Installing custom packages to: /usr/local/pfsense-fs ...
cp: /usr/local/pfsense-fs/usr/local/lib/php.ini: No such file or directory
>>> Installing custom pfSense-XML packages inside chroot ...
PHP Fatal error:  Unable to start pfSense module in Unknown on line 0
PHP Fatal error:  Unable to start pfSense module in Unknown on line 0

It's strange because I have this file :
-rw-r--r--  1 root  wheel  515 Dec 19 20:47 /usr/local/pfsense-
fs/usr/local/lib/php.ini

What is the best way to add installed FreeBSD ports into my iso ?

Regards,


pfsense-build.conf :

# set_version.sh generated defaults
export PFSENSE_VERSION=2.0-BETA4
export FREEBSD_VERSION=8
export FREEBSD_BRANCH=RELENG_8_1
export PFSENSETAG=HEAD
export 
PFSPATCHFILE=/home/pfsense/tools/builder_scripts/../builder_scripts/patches.RELENG_8_1
export PFSPATCHDIR=/home/pfsense/tools/builder_scripts/../patches/RELENG_8_1
export 
SUPFILE=/home/pfsense/tools/builder_scripts/../builder_scripts/RELENG_8_1-
supfile
export 
CUSTOM_COPY_LIST=/home/pfsense/tools/builder_scripts/../builder_scripts/copy.list.RELENG_8_0

export BASE_DIR=/home/pfsense/tools/builder_scripts/../..
export BUILDER_TOOLS=/home/pfsense/tools/builder_scripts/..
export BUILDER_SCRIPTS=/home/pfsense/tools/builder_scripts
#PFSENSE_WITH_FULL_GIT_CHECKOUT="true"

# Univnaute customisations
export 
PFSPORTSFILE=/home/pfsense/tools/builder_scripts/builder_profiles/univnautes/buildports.RELENG_2_0
export 
custom_overlay="/home/pfsense/tools/builder_scripts/builder_profiles/univnautes/copy_overlay/"
export custom_package_list="squid"
export 
USE_CONFIG_XML="/home/pfsense/tools/builder_scripts/builder_profiles/univnautes/config/config.xml"
export 
CUSTOM_REMOVE_LIST="/home/pfsense/tools/builder_scripts/builder_profiles/univnautes/remove.list"
export 
CUSTOM_COPY_LIST="/home/pfsense/tools/builder_scripts/builder_profiles/univnautes/copy.list"
export 
ISOPATH="/home/pfsense/tools/builder_scripts/builder_profiles/univnautes.iso"


-- 
Jérôme Schneider

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Commercial support available - https://portal.pfsense.org

Reply via email to