@@ -7,7 +7,6 | |||||
7 |
|
7 | |||
8 | VARIANT="" |
|
8 | VARIANT="" | |
9 | COMPONENTS="main" |
|
9 | COMPONENTS="main" | |
10 | EXCLUDES="" |
|
|||
11 |
|
10 | |||
12 | # Use non-free Debian packages if needed |
|
11 | # Use non-free Debian packages if needed | |
13 | if [ "$ENABLE_NONFREE" = true ] ; then |
|
12 | if [ "$ENABLE_NONFREE" = true ] ; then | |
@@ -19,13 +18,8 if [ "$ENABLE_MINBASE" = true ] ; then | |||||
19 | VARIANT="--variant=minbase" |
|
18 | VARIANT="--variant=minbase" | |
20 | fi |
|
19 | fi | |
21 |
|
20 | |||
22 | # Exclude packages if required by Debian release |
|
|||
23 | if [ "$RELEASE" = "stretch" ] || [ "$RELEASE" = "buster" ] ; then |
|
|||
24 | EXCLUDES="--exclude=init,systemd-sysv" |
|
|||
25 | fi |
|
|||
26 |
|
||||
27 | # Base debootstrap (unpack only) |
|
21 | # Base debootstrap (unpack only) | |
28 | http_proxy=${APT_PROXY} debootstrap ${EXCLUDES} --arch="${RELEASE_ARCH}" --foreign ${VARIANT} --components="${COMPONENTS}" --include="${APT_INCLUDES}" "${RELEASE}" "${R}" "http://${APT_SERVER}/debian" |
|
22 | http_proxy=${APT_PROXY} debootstrap ${APT_EXCLUDES} --arch="${RELEASE_ARCH}" --foreign ${VARIANT} --components="${COMPONENTS}" --include="${APT_INCLUDES}" "${RELEASE}" "${R}" "http://${APT_SERVER}/debian" | |
29 |
|
23 | |||
30 | # Copy qemu emulator binary to chroot |
|
24 | # Copy qemu emulator binary to chroot | |
31 | install -m 755 -o root -g root "${QEMU_BINARY}" "${R}${QEMU_BINARY}" |
|
25 | install -m 755 -o root -g root "${QEMU_BINARY}" "${R}${QEMU_BINARY}" |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant