summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmake-boot-image.sh18
1 files changed, 9 insertions, 9 deletions
diff --git a/make-boot-image.sh b/make-boot-image.sh
index d16c9a0..a5712a3 100755
--- a/make-boot-image.sh
+++ b/make-boot-image.sh
@@ -288,13 +288,14 @@ then (
fi
if [ ! -d "$WORKDIR/initrd/usr/man" ]
-then mkdir -p "$WORKDIR"/initrd/usr/man/man{1,8} "$WORKDIR"/initrd/usr/share/groff/1.22.2/font "$WORKDIR/initrd/etc/groff/"
- cp -a /usr/share/man/man1/{iostat,mpstat,strace,udp-receiver,tmux}* "$WORKDIR/initrd/usr/man/man1/"
- cp -a /usr/share/man/man8/{dmidecode,partclone,efibootmgr,ntfs,mkntfs,fdisk,gdisk,iftop,tcpdump}* "$WORKDIR/initrd/usr/man/man8/"
- # TODO add missing man pages
- cp -ra /usr/share/groff/1.22.2/font/devascii "$WORKDIR/initrd/usr/share/groff/1.22.2/font/"
- cp -ra /usr/share/groff/1.22.2/tmac "$WORKDIR/initrd/usr/share/groff/1.22.2/"
- cp -a /etc/groff/man.local "$WORKDIR/initrd/usr/share/groff/1.22.2/"
+then mkdir -p "$WORKDIR"/initrd/usr/man/man{1,8} "$WORKDIR"/initrd/usr/share/groff/current/font "$WORKDIR/initrd/etc/groff/"
+ cp -a /usr/share/man/man1/{iostat,lshw,mpstat,setterm,pv,strace,tmux,pigz,udp-receiver}* "$WORKDIR/initrd/usr/man/man1/"
+ cp -a /usr/share/man/man8/{dmidecode,iftop,lspci,lsblk,lsusb,partclone,efibootmgr,mkfs,\
+ ntfs,mkntfs,mkexfatfs,mount.ntfs,mount.fuse,mount.exfat-fuse,mount.exfat,fdisk,gdisk,sfdisk,\
+ sgdisk,tcpdump}* "$WORKDIR/initrd/usr/man/man8/"
+ cp -ra /usr/share/groff/current/font/devascii "$WORKDIR/initrd/usr/share/groff/current/font/"
+ cp -ra /usr/share/groff/current/tmac "$WORKDIR/initrd/usr/share/groff/current/"
+ cp -a /etc/groff/man.local "$WORKDIR/initrd/usr/share/groff/current/"
fi
p="$WORKDIR/kernel/tools/perf/perf"
@@ -387,7 +388,6 @@ nfs_autorun() {
}
EOF
-# XXX Useful ?
cat > "$WORKDIR/initrd/etc/inittab" <<"EOF"
# Custom init scripts
::sysinit:/etc/init.d/rcS
@@ -440,7 +440,7 @@ set -v
/bin/busybox --install -s||rescue_shell # Setup busybox symlinks for all applets
mount_pseudofilesystems || rescue_shell # Setup /dev, /proc, /sys and so
-export TERM=linux
+export TERM=linux # FIXME: wrong default TERM=vt102, why?
loadkmap < /etc/keys.bmap # Load keyboard layout
setterm -blank 60 # screen sleep mode after 60 minutes