From f9d9418596612bbb2ea2b406d75a075815251e52 Mon Sep 17 00:00:00 2001 From: VG Date: Mon, 7 Nov 2016 21:35:05 +0100 Subject: fix os.symlink invocation by giving destination filename --- rpi2-debian-stdkernel/make-rpi-debootstrap.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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( '''\ -- cgit v1.2.3