diff options
-rwxr-xr-x | rpi2-debian-stdkernel/copy-to-sdcard.py | 6 |
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) |