From 668660a31b6bbe5b1593e1d4c409d0ecc577db85 Mon Sep 17 00:00:00 2001 From: VG Date: Mon, 7 Nov 2016 22:35:43 +0100 Subject: makedir before creating a symlink in etc/kernel/postrm.d --- rpi2-debian-stdkernel/make-rpi-debootstrap.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rpi2-debian-stdkernel/make-rpi-debootstrap.py b/rpi2-debian-stdkernel/make-rpi-debootstrap.py index e129027..ca0e65e 100755 --- a/rpi2-debian-stdkernel/make-rpi-debootstrap.py +++ b/rpi2-debian-stdkernel/make-rpi-debootstrap.py @@ -114,6 +114,7 @@ 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.makedirs(join(rootdir, 'etc/kernel/postrm.d'), mode=0o755) os.symlink('../postinst.d/vg-copy-rpi', join(rootdir, 'etc/kernel/postrm.d/vg-copy-rpi')) -- cgit v1.2.3