Commit b0eab07c authored by Markus Frosch's avatar Markus Frosch
Browse files

debootstrap: Pass qemu-arm-static into debootstrap chroot

And remove it afterwards.
parent b50e2050
Pipeline #2989 failed with stage
in 3 minutes and 28 seconds
......@@ -72,6 +72,10 @@ first_stage_install () {
second_stage_install () {
if [ -x /usr/bin/qemu-arm-static ]; then
cp -a /usr/bin/qemu-arm-static "$TARGET/usr/bin/qemu-arm-static"
x_feign_install () {
local pkg="$1"
local deb="$(debfor $pkg)"
......@@ -214,6 +218,9 @@ echo \"Warning: Fake start-stop-daemon called, doing nothing\"" > "$TARGET/sbin/
mv "$TARGET/sbin/start-stop-daemon.REAL" "$TARGET/sbin/start-stop-daemon"
rm -f "$TARGET/usr/sbin/policy-rc.d"
# cleanup ARM virt
rm -f "$TARGET/usr/bin/qemu-arm-static"
progress $bases $bases CONFBASE "Configuring base system"
info BASESUCCESS "Base system installed successfully."
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment