diff options
author | VG <vg@devys.org> | 2016-11-07 21:35:05 +0100 |
---|---|---|
committer | VG <vg@devys.org> | 2016-11-07 21:35:05 +0100 |
commit | f9d9418596612bbb2ea2b406d75a075815251e52 (patch) | |
tree | 42d2c1f2d3e29f6e35921c4b27d1a168d77dbfcc | |
parent | 3a4ca058a6c2fbbfa5b03c0188e06cfe2c3d018f (diff) | |
download | debootstrap-scripts-f9d9418596612bbb2ea2b406d75a075815251e52.tar.gz debootstrap-scripts-f9d9418596612bbb2ea2b406d75a075815251e52.tar.bz2 debootstrap-scripts-f9d9418596612bbb2ea2b406d75a075815251e52.zip |
fix os.symlink invocation by giving destination filename
-rwxr-xr-x | rpi2-debian-stdkernel/make-rpi-debootstrap.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rpi2-debian-stdkernel/make-rpi-debootstrap.py b/rpi2-debian-stdkernel/make-rpi-debootstrap.py index 968a12e..e129027 100755 --- a/rpi2-debian-stdkernel/make-rpi-debootstrap.py +++ b/rpi2-debian-stdkernel/make-rpi-debootstrap.py @@ -114,7 +114,8 @@ def system_customization(rootdir): shutil.copy('files/main.sources', join(rootdir, 'etc/apt/sources.list.d')) os.unlink(join(rootdir, 'etc/apt/sources.list')) shutil.copy('files/vg-copy-rpi', join(rootdir, 'etc/kernel/postinst.d')) - os.symlink('../postinst.d/vg-copy-rpi', join(rootdir, 'etc/kernel/postrm.d')) + os.symlink('../postinst.d/vg-copy-rpi', + join(rootdir, 'etc/kernel/postrm.d/vg-copy-rpi')) open8(rootdir + '/etc/bash.bashrc', 'a').write(mlstrip( '''\ |