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:
parent
5a5aa4b037
commit
83edd836cb
@ -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
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user