Add file to tinybuild's IPA image

We need the ``file`` command to examine the magic numbers in the
metadata of block devices to determine if a bootloader is persent.

Change-Id: I5e73113148e721c6644bbfd626c563e72468d030
This commit is contained in:
Julia Kreger 2019-08-30 12:29:03 -04:00
parent 5a5aa4b037
commit 83edd836cb
2 changed files with 4 additions and 3 deletions

View File

@ -3,6 +3,7 @@ coreutils.tcz
dmidecode.tcz
gdisk.tcz
glib2.tcz
file.tcz
hdparm.tcz
iproute2.tcz
ipv6-4.8.17-tinycore64.tcz
@ -14,4 +15,4 @@ raid-dm-4.8.17-tinycore64.tcz
scsi-4.8.17-tinycore64.tcz
smartmontools.tcz
udev-lib.tcz
util-linux.tcz
util-linux.tcz

View File

@ -205,7 +205,7 @@ echo "Symlink all from /usr/local/sbin to /usr/sbin"
pushd "$FINALDIR/usr/local/sbin"
for target in *; do
if [ ! -f "$FINALDIR/usr/sbin/$target" ]; then
$CHROOT_CMD ln -s "/usr/local/sbin/$target" "/usr/sbin/$target"
$CHROOT_CMD ln -sf "/usr/local/sbin/$target" "/usr/sbin/$target"
fi
done
popd
@ -214,7 +214,7 @@ echo "Symlink all from /usr/local/bin to /usr/bin"
pushd "$FINALDIR/usr/local/bin"
for target in *; do
if [ ! -f "$FINALDIR/usr/bin/$target" ]; then
$CHROOT_CMD ln -s "/usr/local/bin/$target" "/usr/bin/$target"
$CHROOT_CMD ln -sf "/usr/local/bin/$target" "/usr/bin/$target"
fi
done
popd