fix binary path

This commit is contained in:
jalr 2018-02-11 18:41:26 +01:00
parent 8f2b909d59
commit ed1e52563f

View file

@ -6,8 +6,8 @@ prereqs()
echo "$PREREQ"
. /usr/share/initramfs-tools/hook-functions
copy_exec /usr/bin/lftp
copy_exec /usr/sbin/sfdisk
copy_exec /usr/sbin/mke2fs
copy_exec /sbin/sfdisk
copy_exec /sbin/mke2fs
}
case $1 in
# get pre-requisites
@ -33,8 +33,10 @@ unit: sectors
/dev/sda1 : start= 2048, size= $size_part_1, type=83
PARTTABLE
mke2fs -t ext4 ${disk}1
mount ${disk}1 /root
mke2fs -F -t ext4 ${disk}1
mkdir -p /tmp_root
mount ${disk}1 /tmp_root
/usr/bin/lftp --help
ls /usr/bin