summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjonas <jonas@8f53b18a-e215-0410-8885-9f593d34873e>2006-06-10 18:22:42 +0000
committerjonas <jonas@8f53b18a-e215-0410-8885-9f593d34873e>2006-06-10 18:22:42 +0000
commit0f67c01766de74bee35344a5ff3b17ad82ec5659 (patch)
tree1b3ce5bd90aad5105472eb5a199acc282f57beb7
parentb6d85b04286d30498a11aaac36e75032b1e72801 (diff)
Add support for per-addon copying a complete subdir.
git-svn-id: svn+ssh://xayide/home/jonas/private_svn/fleshybrid/trunk@3 8f53b18a-e215-0410-8885-9f593d34873e
-rwxr-xr-x2_install.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/2_install.sh b/2_install.sh
index 3d63ba3..879e171 100755
--- a/2_install.sh
+++ b/2_install.sh
@@ -33,6 +33,9 @@ if [ "$ROOTFS" = "isofs" ]; then
else
mount "$rootdev_host" "$mountpoint"
rsync -aH "$targettemp/" "${mountpoint%/}"
+ for addon in $addons; do
+ rsync -aH "./addons/$addon/" "${mountpoint%/}"
+ done
umount "$mountpoint"
# [ -n "$bootdev_host" ] && umount "$mountpoint/boot" || true
fi