Build tinyipa on tinycore 13.x

Change-Id: Idd9f77c7002026cbd97c78c23bb575009503ecdb
This commit is contained in:
Riccardo Pittau 2022-01-31 16:48:28 +01:00
parent a08dcb4c36
commit 30415b17a9
5 changed files with 16 additions and 12 deletions

View File

@ -0,0 +1,4 @@
---
upgrade:
- |
The tinyipa image is now built using tinycore 13.x

View File

@ -6,7 +6,7 @@ source ${WORKDIR}/common.sh
IRONIC_LIB_SOURCE=${IRONIC_LIB_SOURCE:-}
TC_RELEASE="12.x"
TC_RELEASE="13.x"
QEMU_RELEASE="v4.2.0"
LSHW_RELEASE="B.02.18"
BIOSDEVNAME_RELEASE="0.7.2"
@ -196,7 +196,7 @@ ls -1 $BUILDDIR/tmp/wheels
# Build qemu-utils
rm -rf $WORKDIR/build_files/qemu-utils.tcz
$CHROOT_CMD /bin/sh -c "cd /tmp/qemu && ./configure --disable-system --disable-user --disable-linux-user --disable-bsd-user --disable-guest-agent --disable-blobs --python=/usr/local/bin/$TINYIPA_PYTHON_EXE && make && make install DESTDIR=/tmp/qemu-utils"
$CHROOT_CMD /bin/sh -c "cd /tmp/qemu && CFLAGS=-Wno-error ./configure --disable-system --disable-user --disable-linux-user --disable-bsd-user --disable-guest-agent --disable-blobs --python=/usr/local/bin/$TINYIPA_PYTHON_EXE && make && make install DESTDIR=/tmp/qemu-utils"
find $BUILDDIR/tmp/qemu-utils/ -type f -executable | xargs file | awk -F ':' '/ELF/ {print $1}' | sudo xargs strip
cd $WORKDIR/build_files && mksquashfs $BUILDDIR/tmp/qemu-utils qemu-utils.tcz && md5sum qemu-utils.tcz > qemu-utils.tcz.md5.txt
# Create qemu-utils.tcz.dep

View File

@ -11,15 +11,15 @@ gdisk.tcz
git.tcz
glib2-dev.tcz
hdparm.tcz
ipv6-netfilter-5.10.3-tinycore64.tcz
ipv6-netfilter-5.15.10-tinycore64.tcz
libpci-dev.tcz
libtool-dev.tcz
libtool.tcz
parted.tcz
pciutils.tcz
pixman-dev.tcz
raid-dm-5.10.3-tinycore64.tcz
scsi-5.10.3-tinycore64.tcz
raid-dm-5.15.10-tinycore64.tcz
scsi-5.15.10-tinycore64.tcz
udev-lib.tcz
util-linux.tcz
zlib_base-dev.tcz
zlib_base-dev.tcz

View File

@ -2,7 +2,7 @@
S="Linux"
N="box"
R="5.10.3-tinycore64"
R="5.15.10-tinycore64"
P="unknown"
V="#2017 SMP"
M="x86_64"

View File

@ -4,22 +4,22 @@ dmidecode.tcz
dosfstools.tcz
efibootmgr.tcz
efivar.tcz
filesystems-5.10.3-tinycore64.tcz
filesystems-5.15.10-tinycore64.tcz
file.tcz
gdisk.tcz
glib2.tcz
haveged.tcz
hdparm.tcz
iproute2.tcz
ipv6-netfilter-5.10.3-tinycore64.tcz
ipv6-netfilter-5.15.10-tinycore64.tcz
libxml2.tcz
mdadm.tcz
ntpclient.tcz
parted.tcz
pciutils.tcz
popt.tcz
raid-dm-5.10.3-tinycore64.tcz
scsi-5.10.3-tinycore64.tcz
raid-dm-5.15.10-tinycore64.tcz
scsi-5.15.10-tinycore64.tcz
smartmontools.tcz
udev-lib.tcz
util-linux.tcz
util-linux.tcz