summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmake-boot-image.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/make-boot-image.sh b/make-boot-image.sh
index 5aa0cc6..d38426d 100755
--- a/make-boot-image.sh
+++ b/make-boot-image.sh
@@ -261,7 +261,7 @@ then (
mkchroot "$WORKDIR/initrd" /usr/sbin/partclone* efibootmgr gdisk udp-receiver
# Some dyn-loaded libraries (ldd will not display them)
mkchroot "$WORKDIR/initrd" /lib/x86_64-linux-gnu/libusb-1.0.so.0
- cp -r /lib/terminfo "$WORKDIR/initrd/lib/"
+ cp -ar /lib/terminfo "$WORKDIR/initrd/lib/"
)
fi
@@ -401,6 +401,7 @@ set -v
mount -t proc none /proc || rescue_shell
mount -t sysfs none /sys || rescue_shell
mount -t devtmpfs -o size=1m none /dev || rescue_shell
+ln -s /proc/self/fd/2 /dev/stderr
# Allow using most of the RAM for rootfs
mount -o remount -o size=80% /