summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rwxr-xr-xbuild-docker.sh8
-rw-r--r--scripts/dependencies_check2
3 files changed, 6 insertions, 6 deletions
diff --git a/README.md b/README.md
index 5fa13b5..9c4e550 100644
--- a/README.md
+++ b/README.md
@@ -20,7 +20,7 @@ below.
To install the required dependencies for `pi-gen` you should run:
```bash
-apt install coreutils quilt parted qemu-user-static debootstrap zerofree zip \
+apt install coreutils quilt parted qemu-user-binfmt debootstrap zerofree zip \
dosfstools e2fsprogs libarchive-tools libcap2-bin grep rsync xz-utils file git curl bc \
gpg pigz xxd arch-test bmap-tools kmod
```
diff --git a/build-docker.sh b/build-docker.sh
index 9c04651..14715d2 100755
--- a/build-docker.sh
+++ b/build-docker.sh
@@ -114,10 +114,10 @@ case $(uname -m) in
;;
esac
-# Check if qemu-arm-static and /proc/sys/fs/binfmt_misc are present
+# Check if qemu-arm and /proc/sys/fs/binfmt_misc are present
if [[ "${binfmt_misc_required}" == "1" ]]; then
- if ! qemu_arm=$(which qemu-arm-static) ; then
- echo "qemu-arm-static not found (please install qemu-user-static)"
+ if ! qemu_arm=$(which qemu-arm) ; then
+ echo "qemu-arm not found (please install qemu-user-binfmt)"
exit 1
fi
if [ ! -f /proc/sys/fs/binfmt_misc/register ]; then
@@ -150,7 +150,7 @@ time ${DOCKER} run \
$DOCKER_CMDLINE_POST \
pi-gen \
bash -e -o pipefail -c "
- dpkg-reconfigure qemu-user-static &&
+ dpkg-reconfigure qemu-user-binfmt &&
# binfmt_misc is sometimes not mounted with debian trixie image
(mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc || true) &&
cd /pi-gen; ./build.sh ${BUILD_OPTS} &&
diff --git a/scripts/dependencies_check b/scripts/dependencies_check
index 32c42ef..fb709e4 100644
--- a/scripts/dependencies_check
+++ b/scripts/dependencies_check
@@ -3,7 +3,7 @@
#
# Each dependency is in the form of a tool to test for, optionally followed by
# a : and the name of a package if the package on a Debian-ish system is not
-# named for the tool (i.e., qemu-user-static).
+# named for the tool (i.e., qemu-user-binfmt).
dependencies_check()
{
local depfile deps missing