diff options
author | VG <vg@devys.org> | 2016-11-08 00:03:56 +0100 |
---|---|---|
committer | VG <vg@devys.org> | 2016-11-08 00:03:56 +0100 |
commit | 0dcb12008ad76dce7d77e5d32a805023ce10a65a (patch) | |
tree | 9e91139786bfb7ae77f39a0dd0eaa8260838f4ad /rpi2-debian-stdkernel | |
parent | 668660a31b6bbe5b1593e1d4c409d0ecc577db85 (diff) | |
download | debootstrap-scripts-0dcb12008ad76dce7d77e5d32a805023ce10a65a.tar.gz debootstrap-scripts-0dcb12008ad76dce7d77e5d32a805023ce10a65a.tar.bz2 debootstrap-scripts-0dcb12008ad76dce7d77e5d32a805023ce10a65a.zip |
use full path for apt in chroot fixing path problem
Diffstat (limited to 'rpi2-debian-stdkernel')
-rwxr-xr-x | rpi2-debian-stdkernel/make-rpi-debootstrap.py | 8 |
1 files 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(): |