fix binary path
This commit is contained in:
parent
8f2b909d59
commit
ed1e52563f
1 changed files with 6 additions and 4 deletions
10
imagesync.sh
10
imagesync.sh
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue