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:
@@ -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
|
||||
|
||||
|
||||
@@ -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}" "$@"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user