Did some cleanup. Builds and (unlike revision 1110) boots. See

"README.devel" for some additional notes.
This commit is contained in:
frisco 2008-06-19 07:35:37 +00:00
parent 652c10720d
commit 443dd1f163
8 changed files with 69 additions and 89 deletions

View file

@ -120,8 +120,8 @@ LH_SYSLINUX_SPLASH=""
# $LH_SYSLINUX_TIMEOUT: set custom syslinux timeout in seconds
# (Default: 0)
# "0" does NOT appear to boot immediately
LH_SYSLINUX_TIMEOUT="3"
# "0" apparently means "wait forever"
LH_SYSLINUX_TIMEOUT="5"
# $LH_SYSLINUX_CFG: set custom syslinux configuration file
# (Default: empty)

View file

@ -64,25 +64,3 @@ LH_SYMLINKS="disabled"
# (Default: disabled)
LH_SYSVINIT="disabled"
#FIXME: Note: Everything below represents brainstorming on the part of developer
#"frisco" and is not official.
###############################################################
# This is the CryptoNAS-specific part of the file. Default
# values are defined below. Since this config file is included
# as part of various shell scripts, any definitions present
# in the files we include below will override those defined
# in the present file.
#
# It is recommended that CryptoNAS-specific variable
# definitions follow the CN_FOO or _CN_FOO conventions to
# avoid polluting the shared live-helper namespace.
###############################################################
#CN_DELETEFILES="/etc/rcS.d/*discover \
#/etc/rcS.d/*lvm \
#/var/log/dpkg.log \
#/var/log/bootstrap.log"
#CN_MAKEDIRS=""

View file

@ -1,32 +0,0 @@
#!/bin/sh
##run /usr/lib/cryptobox-cd/configure-cryptobox.sh
##The contents of this script are commented out because this part
##isn't yet working. Running the script AFTER startup is complete
## seems to result in a working CryptoNAS, but I haven't yet
## made the changes necessary to get "configure-cryptobox.sh"
## to run in the initramfs context.
##
## To get an NAS "good enough to play with", uncomment everything with
## a single '#' after this point and run it once you get to the root
## prompt (use "sudo -s" to get to the root prompt).
##
echo "Boot-time configuration not implemented; run"
echo "/usr/lib/cryptobox-cd/configure-cryptobox.sh as root"
#echo "Configuring the CryptoNAS live system..."
##if we're doing a release version, call it with "normal, then secure"
##disable for now to isolate smbd/nmbd other problems
#/usr/lib/cryptobox-cd/configure-cryptobox.sh normal
## call it again with argument "secure" if we're building a release
#/sbin/telinit 3
#/etc/init.d/cryptobox-server restart
#/etc/init.d/samba restart

View file

@ -0,0 +1,21 @@
#CryptoNAS Live include file
#$BUILD_DIR/config/cnas-active-settings
# -*- bash -*- #configure Emacs for bash mode
#This file includes the config files in the correct order.
#It can be included by scripts both in the bootstrap and
#chroot environments. Variable assignments in later
#includes override earlier ones.
. ./cnas-default-settings
#May be necessary to include this file in the below files instead...
#. ./common
#. ./bootstrap
#. ./chroot
#. ./binary
#. ./source
#Include cnas-custom-settings IFF this file exists
#. ./cnas-custom-settings
[ -f ./cnas-custom-settings ] && . ./cnas-custom-settings

View file

@ -0,0 +1,20 @@
#include file for CryptoNAS Live
#FIXME: move this somewhere else, such as "default settings"
#Set this to "devel" or "normal" for development, or
#set it to "hard" or "secure" for releases.
CNAS_HARDNESS="devel"
# It is recommended that CryptoNAS-specific variable
# definitions follow the CNAS_FOO or _CNAS_FOO conventions to
# avoid polluting the shared live-helper namespace.
###############################################################
#CNAS_DELETEFILES="/etc/rcS.d/*discover \
#/etc/rcS.d/*lvm \
#/var/log/dpkg.log \
#/var/log/bootstrap.log"
#CNAS_MAKEDIRS=""