From 3ca948088791131e23b7bc8df819e1fd55fa2aec Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 16 Jan 2021 09:17:40 -0500 Subject: profile_make_initramfs(): Remove all but /boot --- diff --git a/src/profile/proteanos.sh b/src/profile/proteanos.sh index 761f9b5..f322adf 100644 --- a/src/profile/proteanos.sh +++ b/src/profile/proteanos.sh @@ -436,10 +436,16 @@ prof_proteanos_make_initramfs() fi ;; esac + # Hack to rerun install-lilo: session_begin . . true session_exec run-parts /etc/kernel/postinst.d session_end + + find . -xdev -a \! -path './boot/*' -a \ + \! -path './prokit/*' -a \! -type d | \ + xargs rm -f + return 0 } -- cgit v0.9.1