Changes required to build CryptoNAS with Debian Live on my system, Debian 4.0r3.

This should be "good enough to play with", but see
"80-cn-run-config-script.sh".

*The build works
*The image should boot OK
*Haven't begun work on the validation scripts or hardening
*The image currently uses a DHCP-assigned address
*If you have a good idea of the best way to add separation of local/default settings the way we were doing with etc-defaults.d, etc-local.d, and so on, send me an email so we can discuss it.
This commit is contained in:
frisco 2008-06-10 02:36:38 +00:00
parent dbc620b26f
commit 652c10720d
10 changed files with 198 additions and 29 deletions

View file

@ -6,7 +6,8 @@ LH_CHROOT_FILESYSTEM="squashfs"
# $LH_UNION_FILESYSTEM: set union filesystem
# (Default: aufs)
LH_UNION_FILESYSTEM="aufs"
# Default aufs not available in Etch
LH_UNION_FILESYSTEM="unionfs"
# $LH_EXPOSED_ROOT: expose root as read only
# (Default: disabled)
@ -30,11 +31,13 @@ LH_LANGUAGE="en"
# $LH_LINUX_FLAVOURS: set kernel flavour to use
# (Default: autodetected)
LH_LINUX_FLAVOURS="486 686"
#LH_LINUX_FLAVOURS="486 686"
# $LH_LINUX_PACKAGES: set kernel packages to use
# (Default: autodetected)
LH_LINUX_PACKAGES="linux-image-2.6 aufs-modules-2.6 squashfs-modules-2.6"
LH_LINUX_PACKAGES="linux-image-2.6 ${LH_UNION_FILESYSTEM}-modules-2.6 squashfs-modules-2.6"
#LH_LINUX_PACKAGES=""
# $LH_PACKAGES: set packages to install
# (Default: empty)
@ -42,7 +45,8 @@ LH_PACKAGES=""
# $LH_PACKAGES_LISTS: set package list to install
# (Default: standard)
LH_PACKAGES_LISTS="standard"
# FIXME: Use "minimal cryptonas" for CryptoNAS releases
LH_PACKAGES_LISTS="standard cryptonas-devel"
# $LH_TASKS: set tasks to install
# (Default: empty)
@ -59,3 +63,26 @@ LH_SYMLINKS="disabled"
# $LH_SYSVINIT: enable sysvinit
# (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=""