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:
parent
dbc620b26f
commit
652c10720d
10 changed files with 198 additions and 29 deletions
33
Makefile
Normal file
33
Makefile
Normal file
|
@ -0,0 +1,33 @@
|
|||
|
||||
|
||||
|
||||
# make-mode emacs thingamajig -*- makefile -*-
|
||||
|
||||
|
||||
#manually configured directories
|
||||
config_dirs := config binary_local-hooks chroot_local-hooks \
|
||||
chroot_local-includes chroot_local-packageslists \
|
||||
binary_syslinux
|
||||
|
||||
emacs_files := $(wildcard *~ config/*~ config/*/*~ config/*/*/*~)
|
||||
|
||||
#This is just a helper file, since emacs "foo~" files can sometimes break a
|
||||
#build (files ending in ~ are considered valid shell scripts).
|
||||
#If you want to build the disk image, use "lh_build" as documented at
|
||||
# http://devel.cryptobox.org/wiki/DebianLiveBuild
|
||||
|
||||
#Using a makefile for this is a bit of a drawback, since live-helper
|
||||
#doesn't really require `make'.
|
||||
|
||||
|
||||
# this makefile could eventually call the live-helper build system
|
||||
|
||||
clean-config :
|
||||
-rm -f $(emacs_files)
|
||||
# -rm -f $(addsuffix /*~, $(config_dirs))
|
||||
|
||||
clean-all :
|
||||
lh_clean --purge
|
||||
|
||||
.PHONY : clean-all clean-config
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue