mklive.sh: install stdbuf(1) from coreutils for the installer.

This commit is contained in:
Juan RP 2012-11-23 00:23:12 +01:00
parent 9504ed551c
commit 9f3da16fad

View File

@ -159,6 +159,11 @@ generate_initramfs() {
"$ROOTFS/usr/sbin/agetty" || error_out $? "$ROOTFS/usr/sbin/agetty" || error_out $?
install -Dm755 $ROOTFS/kernel_temp/usr/bin/lsblk \ install -Dm755 $ROOTFS/kernel_temp/usr/bin/lsblk \
"$ROOTFS/usr/bin/lsblk" || error_out $? "$ROOTFS/usr/bin/lsblk" || error_out $?
# Install stdbuf from coreutils, required by void-installer.
install -Dm755 $ROOTFS/kernel_temp/usr/bin/stdbuf \
"$ROOTFS/usr/bin/stdbuf" || error_out $?
install -Dm755 $ROOTFS/kernel_temp/usr/libexec/coreutils/libstdbuf.so \
"$ROOTFS/usr/libexec/coreutils/libstdbuf.so" || error_out $?
$CHROOT_CMD $ROOTFS/kernel_temp dracut --no-hostonly \ $CHROOT_CMD $ROOTFS/kernel_temp dracut --no-hostonly \
--add "dmsquash-live vmklive" --${COMPRESSTYPE} \ --add "dmsquash-live vmklive" --${COMPRESSTYPE} \