Make default-config an overlay

This allows the root image to remain a [mostly] pristine
image, and turns default liveCD configurations into an
overlay, rather than copying them into the root image.

Signed-off-by: Simo Leone <simo@archlinux.org>
This commit is contained in:
Simo Leone 2007-10-23 23:22:17 -05:00
parent 0dfc0a36ca
commit 34e1d6b5dc
2 changed files with 18 additions and 3 deletions

View file

@ -58,6 +58,10 @@ run_hook ()
export LOOP_NUM="1"
addon_dir="${BOOT_MOUNT}/addons"
# always layer default configuration
_mnt_squashfs "default-config.sqfs"
if [ -e "${addon_dir}/config" ]; then
msg ":: Mounting addons"
while read img mountpoint type; do