common: don't use --foreign with debootstrap

Now that the build server is updated to bullseye, we don't need to pass
--foreign to cross build anymore.
This commit is contained in:
Steev Klimaszewski
2022-08-16 13:36:05 -05:00
parent 1281bbf99d
commit bcc02bcd43
2 changed files with 1 additions and 7 deletions

View File

@@ -33,12 +33,6 @@ include packages
# Execute initial debootstrap
debootstrap_exec http://http.kali.org/kali
# Enable eatmydata in compilation
include eatmydata
# debootstrap second stage
systemd-nspawn_exec eatmydata /debootstrap/debootstrap --second-stage
# Define sources.list
sources_list

View File

@@ -138,7 +138,7 @@ function systemd-nspawn_exec() {
# Create the rootfs - not much to modify here, except maybe throw in some more packages if you want.
function debootstrap_exec() {
status " debootstrap ${suite} $*"
eatmydata debootstrap --foreign --keyring=/usr/share/keyrings/kali-archive-keyring.gpg --components="${components}" \
eatmydata debootstrap --merged-usr --keyring=/usr/share/keyrings/kali-archive-keyring.gpg --components="${components}" \
--include="${debootstrap_base}" --arch "${architecture}" "${suite}" "${work_dir}" "$@"
}