Build tinyipa with tinycore 14.x
- update kernel module versions - mount efivar partition manually as it's not done automatically anymore in recent kernels - link /bin/sh to bash as it's not done automatically anymore Change-Id: Ic17ffa07e8429a88326f70addda7eebd2a6dbef6
This commit is contained in:
parent
d2b8115631
commit
b5974ad713
@ -6,7 +6,7 @@ source ${WORKDIR}/common.sh
|
||||
|
||||
IRONIC_LIB_SOURCE=${IRONIC_LIB_SOURCE:-}
|
||||
|
||||
TC_RELEASE="13.x"
|
||||
TC_RELEASE="14.x"
|
||||
QEMU_RELEASE="v5.2.0"
|
||||
LSHW_RELEASE="B.02.18"
|
||||
BIOSDEVNAME_RELEASE="0.7.2"
|
||||
|
@ -2,7 +2,7 @@
|
||||
# put other system startup commands here
|
||||
|
||||
#exec > /tmp/installlogs 2>&1
|
||||
set -x
|
||||
set -ux
|
||||
|
||||
echo "Starting bootlocal script:"
|
||||
date
|
||||
@ -67,6 +67,11 @@ configure_dhcp_network
|
||||
|
||||
mkdir -p /etc/ironic-python-agent.d/
|
||||
|
||||
if [ -d /sys/firmware/efi ] ; then
|
||||
echo "Make efivars available"
|
||||
mount -t efivarfs efivarfs /sys/firmware/efi/efivars
|
||||
fi
|
||||
|
||||
# Run IPA
|
||||
echo "Starting Ironic Python Agent:"
|
||||
date
|
||||
|
@ -11,7 +11,7 @@ gdisk.tcz
|
||||
git.tcz
|
||||
glib2-dev.tcz
|
||||
hdparm.tcz
|
||||
ipv6-netfilter-5.15.10-tinycore64.tcz
|
||||
ipv6-netfilter-6.1.2-tinycore64.tcz
|
||||
libpci-dev.tcz
|
||||
libtool-dev.tcz
|
||||
libtool.tcz
|
||||
@ -19,8 +19,8 @@ ninja.tcz
|
||||
parted.tcz
|
||||
pciutils.tcz
|
||||
pixman-dev.tcz
|
||||
raid-dm-5.15.10-tinycore64.tcz
|
||||
scsi-5.15.10-tinycore64.tcz
|
||||
raid-dm-6.1.2-tinycore64.tcz
|
||||
scsi-6.1.2-tinycore64.tcz
|
||||
udev-lib.tcz
|
||||
util-linux.tcz
|
||||
zlib_base-dev.tcz
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
S="Linux"
|
||||
N="box"
|
||||
R="5.15.10-tinycore64"
|
||||
R="6.1.2-tinycore64"
|
||||
P="unknown"
|
||||
V="#2017 SMP"
|
||||
M="x86_64"
|
||||
|
@ -4,22 +4,22 @@ dmidecode.tcz
|
||||
dosfstools.tcz
|
||||
efibootmgr.tcz
|
||||
efivar.tcz
|
||||
filesystems-5.15.10-tinycore64.tcz
|
||||
filesystems-6.1.2-tinycore64.tcz
|
||||
file.tcz
|
||||
gdisk.tcz
|
||||
glib2.tcz
|
||||
haveged.tcz
|
||||
hdparm.tcz
|
||||
iproute2.tcz
|
||||
ipv6-netfilter-5.15.10-tinycore64.tcz
|
||||
ipv6-netfilter-6.1.2-tinycore64.tcz
|
||||
libxml2.tcz
|
||||
mdadm.tcz
|
||||
ntpclient.tcz
|
||||
parted.tcz
|
||||
pciutils.tcz
|
||||
popt.tcz
|
||||
raid-dm-5.15.10-tinycore64.tcz
|
||||
scsi-5.15.10-tinycore64.tcz
|
||||
raid-dm-6.1.2-tinycore64.tcz
|
||||
scsi-6.1.2-tinycore64.tcz
|
||||
smartmontools.tcz
|
||||
udev-lib.tcz
|
||||
util-linux.tcz
|
||||
|
@ -228,6 +228,10 @@ for target in *; do
|
||||
fi
|
||||
done
|
||||
popd
|
||||
# symlink bash to sh if /bin/sh is not there
|
||||
if [ ! -f "$FINALDIR/bin/sh" ]; then
|
||||
$CHROOT_CMD ln -sf "/bin/bash" "/bin/sh"
|
||||
fi
|
||||
set -x
|
||||
|
||||
# Rebuild build directory into gz file
|
||||
|
Loading…
x
Reference in New Issue
Block a user