File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -54,9 +54,6 @@ do_install()
5454 # selinux_support && include_packages="${include_packages},selinux-basics"
5555
5656 (set -e
57- if [ -n " ${EXTRA_PACKAGES} " ]; then
58- include_packages=" ${include_packages} ,$( echo ${EXTRA_PACKAGES} | tr ' ' ' ,' ) "
59- fi
6057 DEBOOTSTRAP_DIR=" $( component_dir bootstrap/debian) /debootstrap"
6158 . " ${DEBOOTSTRAP_DIR} /debootstrap" --no-check-gpg --foreign --extractor=ar --arch=" ${ARCH} " --exclude=" ${exclude_packages} " --include=" ${include_packages} " " ${SUITE} " " ${CHROOT_DIR} " " ${SOURCE_PATH} "
6259 exit 0)
@@ -72,6 +69,12 @@ do_install()
7269 apt_repository
7370 is_ok " fail" " done"
7471
72+ if [ -n " ${EXTRA_PACKAGES} " ]; then
73+ msg " Installing extra packages: "
74+ apt_install ${EXTRA_PACKAGES}
75+ is_ok || return 1
76+ fi
77+
7578 return 0
7679}
7780
You can’t perform that action at this time.
0 commit comments