109
109
\t [-p|--packages-lists FILE]\n\
110
110
\t [--packages PACKAGE|\"PACKAGES\"]\n\
112
\t [-r|--repositories REPOSITORY|\"REPOSITORIES\"]\n\
112
113
\t [--root-command sudo]\n\
113
114
\t [--use-fakeroot true|false]\n\
114
115
\t [--archive-areas ARCHIVE_AREA|\"ARCHIVE_AREAS\"]\n\
135
136
LONG_OPTIONS="apt:,apt-ftp-proxy:,apt-http-proxy:,apt-pdiffs:,apt-options:,aptitute-options:,
136
137
apt-pipeline:,apt-recommends:,apt-secure:,bootstrap:,cache:,cache-indices:,cache-packages:,
137
138
cache-stages:,debconf-frontend:,debconf-nowarnings:,debconf-priority:,dump,
138
initramfs:,fdisk:,losetup:,mode:,root-command:,use-fakeroot:,tasksel:,includes:,
139
initramfs:,fdisk:,losetup:,mode:,repositories:,root-command:,use-fakeroot:,tasksel:,includes:,
139
140
templates:,architecture:,bootstrap-config:,bootstrap-flavour:,bootstrap-keyring:,clean,
140
141
distribution:,mirror-bootstrap:,mirror-chroot:,mirror-chroot-security:,mirror-chroot-volatile:,mirror-binary:,
141
142
mirror-binary-security:,mirror-binary-volatile:,mirror-debian-installer:,archive-areas:,chroot-filesystem:,exposed-root:,virtual-root-size:,
151
152
help,ignore-system-defaults,quiet,usage,verbose,version"
152
153
# Remove spaces added by indentation
153
154
LONG_OPTIONS="$(echo ${LONG_OPTIONS} | tr -d ' ')"
154
ARGUMENTS="$(getopt --longoptions ${LONG_OPTIONS} --name=${PROGRAM} --options a:f:d:m:l:k:p:b:e:s:c:huv --shell sh -- "${@}")"
155
ARGUMENTS="$(getopt --longoptions ${LONG_OPTIONS} --name=${PROGRAM} --options a:f:d:m:l:k:p:b:e:r:s:c:huv --shell sh -- "${@}")"
156
157
if [ "${?}" != "0" ]
1072
1078
# (Default: autodetected)
1073
1079
LH_LINUX_PACKAGES="${LH_LINUX_PACKAGES}"
1081
# \$LH_REPOSITORIES: enable available third-party repositories
1083
LH_REPOSITORIES="${LH_REPOSITORIES}"
1075
1085
# \$LH_PACKAGES: set packages to install
1076
1086
# (Default: empty)
1077
1087
LH_PACKAGES="${LH_PACKAGES}"