Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/hooks/archiso
diff options
context:
space:
mode:
authorSimo Leone <simo@archlinux.org>2007-10-23 23:22:17 -0500
committerSimo Leone <simo@archlinux.org>2007-10-24 02:05:32 -0500
commit34e1d6b5dc00f174b8e4ef41c46960ccdf2a8a0c (patch)
tree6da8f2897cdf3531aef4d64e10539d8faa95d8cd /hooks/archiso
parent0dfc0a36ca5f90bd824ad2abbff5b987d8bed563 (diff)
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>
Diffstat (limited to 'hooks/archiso')
-rw-r--r--hooks/archiso4
1 files changed, 4 insertions, 0 deletions
diff --git a/hooks/archiso b/hooks/archiso
index fc19d89..86c5885 100644
--- a/hooks/archiso
+++ b/hooks/archiso
@@ -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