Adapted Live CD/Live USB-HDD build configuration for Debian "Lenny"
This commit is contained in:
parent
91faa84678
commit
31c60e8767
7 changed files with 11 additions and 34 deletions
|
@ -19,7 +19,6 @@ LH_BOOTSTRAP_EXCLUDE=""
|
||||||
|
|
||||||
# $LH_BOOTSTRAP_FLAVOUR: select flavour to use
|
# $LH_BOOTSTRAP_FLAVOUR: select flavour to use
|
||||||
# (Default: standard)
|
# (Default: standard)
|
||||||
# FIXME: Set to "minimal" for CryptoNAS releases
|
|
||||||
LH_BOOTSTRAP_FLAVOUR="standard"
|
LH_BOOTSTRAP_FLAVOUR="standard"
|
||||||
|
|
||||||
# $LH_BOOTSTRAP_KEYRING: set distribution keyring
|
# $LH_BOOTSTRAP_KEYRING: set distribution keyring
|
||||||
|
@ -28,7 +27,7 @@ LH_BOOTSTRAP_KEYRING=""
|
||||||
|
|
||||||
# $LH_DISTRIBUTION: select distribution to use
|
# $LH_DISTRIBUTION: select distribution to use
|
||||||
# (Default: lenny)
|
# (Default: lenny)
|
||||||
LH_DISTRIBUTION="etch"
|
LH_DISTRIBUTION="lenny"
|
||||||
|
|
||||||
# $LH_MIRROR_BOOTSTRAP: set mirror to bootstrap from
|
# $LH_MIRROR_BOOTSTRAP: set mirror to bootstrap from
|
||||||
# (Default: http://ftp.us.debian.org/debian/)
|
# (Default: http://ftp.us.debian.org/debian/)
|
||||||
|
|
|
@ -6,8 +6,7 @@ LH_CHROOT_FILESYSTEM="squashfs"
|
||||||
|
|
||||||
# $LH_UNION_FILESYSTEM: set union filesystem
|
# $LH_UNION_FILESYSTEM: set union filesystem
|
||||||
# (Default: aufs)
|
# (Default: aufs)
|
||||||
# Default aufs not available in Etch
|
LH_UNION_FILESYSTEM="aufs"
|
||||||
LH_UNION_FILESYSTEM="unionfs"
|
|
||||||
|
|
||||||
# $LH_EXPOSED_ROOT: expose root as read only
|
# $LH_EXPOSED_ROOT: expose root as read only
|
||||||
# (Default: disabled)
|
# (Default: disabled)
|
||||||
|
|
|
@ -1,25 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
#
|
|
||||||
# License: This script is distributed under the terms of version 2
|
|
||||||
# of the GNU GPL. See the LICENSE file included with the package.
|
|
||||||
#
|
|
||||||
# $Id: $
|
|
||||||
#
|
|
||||||
# this script is part of the build process of CryptoNAS
|
|
||||||
#
|
|
||||||
# 2008-11-27 James Crofts backported workaround from CherryPy src repository.
|
|
||||||
# See http://www.cherrypy.org/ticket/686 and
|
|
||||||
# http://devel.cryptobox.org/ticket/216.
|
|
||||||
#
|
|
||||||
|
|
||||||
## Stop the build process if any of the following steps fail
|
|
||||||
set -e
|
|
||||||
|
|
||||||
##Hack to prevent intermittent cherrypy crashes at startup
|
|
||||||
DIFF="/usr/share/cryptonas-live/_cpwsgiserver.py.diff"
|
|
||||||
##These two files are identical before the patch and must be identical
|
|
||||||
##afterward as well:
|
|
||||||
patch /var/lib/python-support/python2.4/cherrypy/_cpwsgiserver.py < ${DIFF}
|
|
||||||
patch /usr/share/python-support/python-cherrypy/cherrypy/_cpwsgiserver.py < ${DIFF}
|
|
||||||
##Remove the now-obsolete "compiled" Python file.
|
|
||||||
rm -f /var/lib/python-support/python2.4/cherrypy/_cpwsgiserver.pyc
|
|
|
@ -17,7 +17,6 @@ discover
|
||||||
hdparm
|
hdparm
|
||||||
binutils
|
binutils
|
||||||
debconf
|
debconf
|
||||||
sysutils
|
|
||||||
stunnel4
|
stunnel4
|
||||||
samba
|
samba
|
||||||
#Apache was breaking the build before work started on the Debian Live changeover. FIXME: re-integrate
|
#Apache was breaking the build before work started on the Debian Live changeover. FIXME: re-integrate
|
||||||
|
|
|
@ -30,6 +30,11 @@
|
||||||
# recognize and use all the relevant GPG keys. `--yes' can stay.
|
# recognize and use all the relevant GPG keys. `--yes' can stay.
|
||||||
APT_OPTIONS="--yes"
|
APT_OPTIONS="--yes"
|
||||||
|
|
||||||
|
# $LH_BOOTSTRAP_FLAVOUR: Choose a predefined set of programs to include
|
||||||
|
# in the Live CD build. Set to "minimal" for release or, if you wish,
|
||||||
|
# "standard" for debugging.
|
||||||
|
#LH_BOOTSTRAP_FLAVOUR="standard"
|
||||||
|
LH_BOOTSTRAP_FLAVOUR="minimal"
|
||||||
|
|
||||||
# $LH_ARCHITECTURE: select chroot architecture
|
# $LH_ARCHITECTURE: select chroot architecture
|
||||||
# (Default: autodetected)
|
# (Default: autodetected)
|
||||||
|
|
|
@ -30,8 +30,7 @@ LH_APT_SECURE="enabled"
|
||||||
|
|
||||||
# $LH_BOOTSTRAP: set bootstrap program
|
# $LH_BOOTSTRAP: set bootstrap program
|
||||||
# (Default: cdebootstrap)
|
# (Default: cdebootstrap)
|
||||||
#LH_BOOTSTRAP="cdebootstrap"
|
LH_BOOTSTRAP="debootstrap"
|
||||||
LH_BOOTSTRAP="cdebootstrap"
|
|
||||||
|
|
||||||
# $LH_CACHE: control cache
|
# $LH_CACHE: control cache
|
||||||
# (Default: enabled)
|
# (Default: enabled)
|
||||||
|
@ -63,8 +62,7 @@ LH_DEBCONF_PRIORITY="critical"
|
||||||
|
|
||||||
# $LH_INITRAMFS: set initramfs hook
|
# $LH_INITRAMFS: set initramfs hook
|
||||||
# (Default: live-initramfs)
|
# (Default: live-initramfs)
|
||||||
# Building under Debian `etch' requires this set to `casper'
|
LH_INITRAMFS="live-initramfs"
|
||||||
LH_INITRAMFS="casper"
|
|
||||||
|
|
||||||
# $LH_FDISK: set fdisk program
|
# $LH_FDISK: set fdisk program
|
||||||
# (Default: autodetected)
|
# (Default: autodetected)
|
||||||
|
|
|
@ -20,3 +20,5 @@ LH_SOURCE_IMAGES="tar"
|
||||||
#Disable console login and enable other security measures
|
#Disable console login and enable other security measures
|
||||||
CNAS_HARDNESS="secure"
|
CNAS_HARDNESS="secure"
|
||||||
|
|
||||||
|
#Set to "minimal" for CryptoNAS releases, can be "standard" for debugging
|
||||||
|
LH_BOOTSTRAP_FLAVOUR="minimal"
|
Loading…
Reference in a new issue