|
@@ -63,7 +63,7 @@ function do_rootfs() {
|
|
|
fi
|
|
|
|
|
|
# 制作其他架构,判断是否安装 binfmt-support,qemu-user-static
|
|
|
- if [ "$(dpkg --print-architecture)" = "${ARCH}" ]; then
|
|
|
+ if [ "$(dpkg --print-architecture)" != "${ARCH}" ]; then
|
|
|
if ! dpkg -l | grep binfmt-support; then
|
|
|
sudo apt install -y binfmt-support
|
|
|
fi
|