From: Maximilian Friedersdorff Date: Sat, 13 Apr 2019 14:53:12 +0000 (+0100) Subject: Add more content to rootfs X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=c5508e3f92cc6ede2dac9baed1b92960181aa6da;p=max%2Fnotes.git Add more content to rootfs --- diff --git a/content/minimal_boot_initfs.rst b/content/minimal_boot_initfs.rst index db1edd8..1576ea2 100644 --- a/content/minimal_boot_initfs.rst +++ b/content/minimal_boot_initfs.rst @@ -231,7 +231,7 @@ my own init script anyway, I can remove the installed init system:: (chroot) # echo 'virtual/service-manager' >> /etc/portage/package.mask (chroot) # emerge -av --depclean -Replacing openssh with dropbear:: +Replacing ``openssh`` with ``dropbear``:: (chroot) # emerge -C openssh (chroot) # emerge -av dropbear @@ -240,6 +240,13 @@ Updating the whole system:: (chroot) # emerge -avuDN --with-bdeps y world +And finally installing the software required for booting the encrypted drive:: + + (chroot) # emerge -av cryptsetup lvm2 pcsc-lite gnupg ccid + +Unfortunately ``pcsc-lite`` requires boost, which does inflate the size of the +whole thing a fair bit. +