aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVG <vg@devys.org>2016-11-07 21:35:05 +0100
committerVG <vg@devys.org>2016-11-07 21:35:05 +0100
commitf9d9418596612bbb2ea2b406d75a075815251e52 (patch)
tree42d2c1f2d3e29f6e35921c4b27d1a168d77dbfcc
parent3a4ca058a6c2fbbfa5b03c0188e06cfe2c3d018f (diff)
downloaddebootstrap-scripts-f9d9418596612bbb2ea2b406d75a075815251e52.tar.gz
debootstrap-scripts-f9d9418596612bbb2ea2b406d75a075815251e52.tar.bz2
debootstrap-scripts-f9d9418596612bbb2ea2b406d75a075815251e52.zip
fix os.symlink invocation by giving destination filename
-rwxr-xr-xrpi2-debian-stdkernel/make-rpi-debootstrap.py3
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(
'''\