From 0dcb12008ad76dce7d77e5d32a805023ce10a65a Mon Sep 17 00:00:00 2001 From: VG Date: Tue, 8 Nov 2016 00:03:56 +0100 Subject: use full path for apt in chroot fixing path problem --- rpi2-debian-stdkernel/make-rpi-debootstrap.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rpi2-debian-stdkernel/make-rpi-debootstrap.py b/rpi2-debian-stdkernel/make-rpi-debootstrap.py index ca0e65e..ce26727 100755 --- a/rpi2-debian-stdkernel/make-rpi-debootstrap.py +++ b/rpi2-debian-stdkernel/make-rpi-debootstrap.py @@ -151,10 +151,10 @@ def system_customization(rootdir): '{}.UTF-8'.format(locale) ], check=True) - run(['chroot', rootdir, '/usr/bin/qemu-arm-static', 'apt', 'update'], - check=True) - run(['chroot', rootdir, '/usr/bin/qemu-arm-static', 'apt', 'install' - 'linux-image-raspi2'], check=True) + run(['chroot', rootdir, '/usr/bin/qemu-arm-static', + '/usr/bin/apt', 'update'], check=True) + run(['chroot', rootdir, '/usr/bin/qemu-arm-static', + '/usr/bin/apt', 'install' 'linux-image-raspi2'], check=True) def main(): -- cgit v1.2.3