aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVG <vg@devys.org>2016-11-10 00:22:19 +0100
committerVG <vg@devys.org>2016-11-10 00:22:19 +0100
commitd6833ec9ee2be3a94970bdf3bfbcaf3c610effa9 (patch)
tree3e0d377cb762368f8b3fd78106f959119a149f40
parent094be58d27bd7258f17413a025dcfd1176d279da (diff)
downloaddebootstrap-scripts-d6833ec9ee2be3a94970bdf3bfbcaf3c610effa9.tar.gz
debootstrap-scripts-d6833ec9ee2be3a94970bdf3bfbcaf3c610effa9.tar.bz2
debootstrap-scripts-d6833ec9ee2be3a94970bdf3bfbcaf3c610effa9.zip
fix debootstrap directory path
-rwxr-xr-xrpi2-debian-stdkernel/copy-to-sdcard.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/rpi2-debian-stdkernel/copy-to-sdcard.py b/rpi2-debian-stdkernel/copy-to-sdcard.py
index 921982d..bb2c652 100755
--- a/rpi2-debian-stdkernel/copy-to-sdcard.py
+++ b/rpi2-debian-stdkernel/copy-to-sdcard.py
@@ -48,12 +48,12 @@ def copy_to_boot(firmware_dir, boot_mountpoint):
+ os.path.basename(path.rstrip('/')))
shutil.copy('files/cmdline.txt', boot_mountpoint)
shutil.copy('files/config.txt', boot_mountpoint)
- shutil.copy('debootstrap/vmlinuz', join(boot_mountpoint, 'vmlinuz'),
+ shutil.copy('debootstrapdir/vmlinuz', join(boot_mountpoint, 'vmlinuz'),
follow_symlinks=True)
- shutil.copy('debootstrap/initrd.img', join(boot_mountpoint, 'initrd.img'),
+ shutil.copy('debootstrapdir/initrd.img',join(boot_mountpoint, 'initrd.img'),
follow_symlinks=True)
content = run(['ls', '-lah',
- 'debootstrap/vmlinuz', 'debootstrap/initrd.img'])
+ 'debootstrapdir/vmlinuz', 'debootstrapdir/initrd.img'])
with open(join(boot_mountpoint, 'versions.txt'), 'wb') as f:
f.write(content)