13 May
2012
13 May
'12
5:57 p.m.
Run this later in early init where we can delete the modules from the ramfs before copying the image over to /run/initramfs. Signed-off-by: Dave Reisner <dreisner@archlinux.org> --- hooks/shutdown | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hooks/shutdown b/hooks/shutdown index 7c5d9e8..5b7778c 100644 --- a/hooks/shutdown +++ b/hooks/shutdown @@ -1,6 +1,7 @@ #!/usr/bin/ash -run_hook() { +run_latehook() { + rm -rf /usr/lib/modules cp -ax / /run/initramfs } -- 1.7.10.2