3 ## live-build(7) - System Build Scripts
4 ## Copyright (C) 2006-2014 Daniel Baumann <mail@daniel-baumann.ch>
6 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
7 ## This is free software, and you are welcome to redistribute it
8 ## under certain conditions; see COPYING for details.
13 # Including common functions
14 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && .
"${LIVE_BUILD}/scripts/build.sh" || .
/usr
/lib
/live
/build.sh
16 # Setting static variables
17 DESCRIPTION
="$(Echo 'copy live config into source')"
19 USAGE
="${PROGRAM} [--force]"
23 # Reading configuration files
24 Read_conffiles config
/all config
/common config
/bootstrap config
/chroot config
/binary config
/source
27 if [ "${LB_SOURCE}" != "true" ]
32 Echo_message
"Begin copying live-build configuration..."
34 # Requiring stage file
35 Require_stagefile .build
/config .build
/bootstrap
38 Check_stagefile .build
/source_live
52 # Copy system configuration
54 cp -a config source
/live
58 cp -a auto source
/live
62 Create_stagefile .build
/source_live