aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrpi2-debian-stdkernel/make-rpi-debootstrap.py1
1 files changed, 1 insertions, 0 deletions
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'))