summaryrefslogtreecommitdiff
path: root/mkinitramfs
diff options
context:
space:
mode:
Diffstat (limited to 'mkinitramfs')
-rwxr-xr-xmkinitramfs8
1 files changed, 4 insertions, 4 deletions
diff --git a/mkinitramfs b/mkinitramfs
index 70802a2..d38111d 100755
--- a/mkinitramfs
+++ b/mkinitramfs
@@ -131,9 +131,9 @@ function cache_dir_setup {
mkdir -p ${cache}/${i}
done
- # Copy in terminals database
- mkdir -p "${cache}/usr/share"
- cp -r /usr/share/terminfo "${cache}/usr/share/terminfo"
+ # Copy in terminals database for `l` (linux - stock tty)
+ mkdir -p "${cache}/usr/share/terminfo"
+ cp -r /usr/share/terminfo/l "${cache}/usr/share/terminfo/l"
}
@@ -154,7 +154,7 @@ function check_crypto_support {
cp -vr "/lib/modules/${version}/" "${cache}/lib/modules/${version}"
# Strip out kernel modules not required for bootstrapping
- for i in virt net sound drivers/gpu drivers/bluetooth drivers/video; do
+ for i in virt sound drivers/{bluetooth,gpu,hid,media,mmc,net,video,virtio}; do
buf="${cache}/lib/modules/${version}/kernel/${i}"
if [ -d "${buf}" ]; then
printf 'Stripping %s from initramfs\n' "${buf}"

Generated by cgit