Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archiso/initcpio/hooks/archiso_shutdown
diff options
context:
space:
mode:
Diffstat (limited to 'archiso/initcpio/hooks/archiso_shutdown')
-rw-r--r--archiso/initcpio/hooks/archiso_shutdown6
1 files changed, 6 insertions, 0 deletions
diff --git a/archiso/initcpio/hooks/archiso_shutdown b/archiso/initcpio/hooks/archiso_shutdown
new file mode 100644
index 0000000..e50dedb
--- /dev/null
+++ b/archiso/initcpio/hooks/archiso_shutdown
@@ -0,0 +1,6 @@
+run_cleanuphook() {
+ rm -rf /usr/lib/modules
+ cp -ax / /run/initramfs
+}
+
+# vim: set ft=sh ts=4 sw=4 et: