mklive.sh.in: copy lsblk, blkid and mount cmds to /usr/{bin,sbin}.

This commit is contained in:
Juan RP 2012-07-11 01:12:29 +02:00
parent 0595b35689
commit 2446cf7dc5

View File

@ -354,10 +354,10 @@ fi
_lsblk=$(which lsblk) _lsblk=$(which lsblk)
_blkid=$(which blkid) _blkid=$(which blkid)
install -Dm755 ${_lsblk} "$ROOTFS/usr/bin/lsblk" || error_out $? install -Dm755 ${_lsblk} "$ROOTFS/usr/bin/lsblk" || error_out $?
install -Dm755 ${_blkid} "$ROOTFS/sbin/blkid" || error_out $? install -Dm755 ${_blkid} "$ROOTFS/usr/sbin/blkid" || error_out $?
# install mount from util-linux. # install mount from util-linux.
install -Dm755 /bin/mount "$ROOTFS/bin/mount" || error_out $? install -Dm755 /bin/mount "$ROOTFS/usr/bin/mount" || error_out $?
# #
# The pseudofs aren't needed anymore in target rootfs. # The pseudofs aren't needed anymore in target rootfs.