aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVG <vg@devys.org>2016-11-08 00:03:56 +0100
committerVG <vg@devys.org>2016-11-08 00:03:56 +0100
commit0dcb12008ad76dce7d77e5d32a805023ce10a65a (patch)
tree9e91139786bfb7ae77f39a0dd0eaa8260838f4ad
parent668660a31b6bbe5b1593e1d4c409d0ecc577db85 (diff)
downloaddebootstrap-scripts-0dcb12008ad76dce7d77e5d32a805023ce10a65a.tar.gz
debootstrap-scripts-0dcb12008ad76dce7d77e5d32a805023ce10a65a.tar.bz2
debootstrap-scripts-0dcb12008ad76dce7d77e5d32a805023ce10a65a.zip
use full path for apt in chroot fixing path problem
-rwxr-xr-xrpi2-debian-stdkernel/make-rpi-debootstrap.py8
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():