From 04440d8f559ce743a07b7ac4b540a7548d587383 Mon Sep 17 00:00:00 2001 From: Peter Surda Date: Mon, 3 Jul 2023 14:49:57 +0800 Subject: [PATCH] Add docker to waveshare and bump partition size --- .buildbot/openwrt/build.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.buildbot/openwrt/build.sh b/.buildbot/openwrt/build.sh index 4d6461c..f98604a 100755 --- a/.buildbot/openwrt/build.sh +++ b/.buildbot/openwrt/build.sh @@ -129,11 +129,13 @@ mv ${IMAGE_PATH}-squashfs-factory.img.gz ${IMAGE_PATH}-squashfs-factory-dualeth. mv ${IMAGE_PATH}-squashfs-sysupgrade.img.gz ${IMAGE_PATH}-squashfs-sysupgrade-dualeth.img.gz sed -i "s|,i2c_csi_dsi||g" ${BOOTSOURCE}/current.txt +sed -i "s/CONFIG_TARGET_ROOTFS_PARTSIZE=.*/CONFIG_TARGET_ROOTFS_PARTSIZE=768/g" .config make image PROFILE=${PROFILE} \ PACKAGES=" \ ${PACKAGES} cryptsetup kmod-ata-ahci smartmontools hdparm fdisk parted \ - kmod-hwmon-drivetemp btrfs-progs kmod-fs-btrfs kmod-nvme nvme-cli" \ + kmod-hwmon-drivetemp btrfs-progs kmod-fs-btrfs kmod-nvme nvme-cli \ + docker dockerd docker-compose block-mount" \ DISABLED_SERVICES="dropbear" FILES="files" || exit 1 mv ${IMAGE_PATH}-squashfs-factory.img.gz ${IMAGE_PATH}-squashfs-factory-waveshare.img.gz @@ -148,6 +150,9 @@ pushd ${KERNELSOURCE} git apply ${pwd}/patches/overlay-add.patch popd +sed -i "s/CONFIG_TARGET_ROOTFS_PARTSIZE=.*/CONFIG_TARGET_ROOTFS_PARTSIZE=308/g" .config + + make image PROFILE=${PROFILE} \ PACKAGES="${PACKAGES} asterisk \ asterisk-app-sms asterisk-pjsip asterisk-bridge-simple \ -- 2.45.1