summaryrefslogtreecommitdiff
path: root/helpers/lh_config
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-02-25 09:51:28 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:09:42 +0100
commitf73041f2f0905a2bb6ee3b938a9e1fa0fc53a3e6 (patch)
tree517c37c1229fa05947a3515117c1bbdfd566f3a0 /helpers/lh_config
parentef9121fc23c6eae86ff359cf429af3b096360075 (diff)
downloadvyos-live-build-f73041f2f0905a2bb6ee3b938a9e1fa0fc53a3e6.tar.gz
vyos-live-build-f73041f2f0905a2bb6ee3b938a9e1fa0fc53a3e6.zip
Adding initial support for virtual-hdd binary image type.
Diffstat (limited to 'helpers/lh_config')
-rwxr-xr-xhelpers/lh_config12
1 files changed, 11 insertions, 1 deletions
diff --git a/helpers/lh_config b/helpers/lh_config
index 6e6a330a6..f91f02636 100755
--- a/helpers/lh_config
+++ b/helpers/lh_config
@@ -120,6 +120,7 @@ USAGE="${PROGRAM} [--apt apt|aptitude]\n\
\t [--tasks TASK]\n\
\t [--templates PATH]\n\
\t [--union-filesystem aufs|unionfs]\n\
+\t [--virtual-root-size MB]\n\
\t [--exposed-root enabled|disabled]\n\
\t [--username NAME]\n\
\t [--verbose]\n\
@@ -133,7 +134,7 @@ Local_arguments ()
initramfs:,fdisk:,losetup:,mode:,root-command:,use-fakeroot:,tasksel:,includes:,
templates:,architecture:,bootstrap-config:,bootstrap-flavour:,bootstrap-keyring:,clean,
distribution:,mirror-bootstrap:,mirror-chroot:,mirror-chroot-security:,mirror-binary:,
- mirror-binary-security:,categories:,chroot-filesystem:,union-filesystem:,exposed-root:,
+ mirror-binary-security:,categories:,chroot-filesystem:,union-filesystem:,exposed-root:,virtual-root-size:,
hooks:,interactive:,keyring-packages:,language:,linux-flavours:,linux-packages:,
packages:,packages-lists:,tasks:,security:,symlinks:,sysvinit:,binary-filesystem:,binary-images:,
binary-indices:,bootappend-install:,bootappend-live:,bootloader:,checksums:,chroot-build:,
@@ -410,6 +411,11 @@ Local_arguments ()
shift 2
;;
+ --virtual-root-size)
+ LH_VIRTUAL_ROOT_SIZE="${2}"
+ shift 2
+ ;;
+
--exposed-root)
LH_EXPOSED_ROOT="${2}"
shift 2
@@ -962,6 +968,10 @@ LH_CHROOT_FILESYSTEM="${LH_CHROOT_FILESYSTEM}"
# (Default: ${LH_UNION_FILESYSTEM})
LH_UNION_FILESYSTEM="${LH_UNION_FILESYSTEM}"
+# \$LH_VIRTUAL_ROOT_SIZE: set virtual-hdd filesystem size
+# (Default: ${LH_VIRTUAL_ROOT_SIZE})
+LH_VIRTUAL_ROOT_SIZE="${LH_VIRTUAL_ROOT_SIZE}"
+
# \$LH_EXPOSED_ROOT: expose root as read only
# (Default: ${LH_EXPOSED_ROOT})
LH_EXPOSED_ROOT="${LH_EXPOSED_ROOT}"