diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ea4fdbb6..206e09d2b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [NEXT] +- Implement data partition resize feature in yoe updater - Add initial support to generate SBOMs - Set precise BSD linceses in recipes in OE-Core - Let updater machine files be defined in layers outside meta-yoe @@ -14,15 +15,24 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Avod task graph corruption when trying to avoid deadlocks in runqueue - Drop obsolete oe_machinstall function utility - Update simpleIOT to v0.0.34 +- Fix fcntl in pseudo with glibc 2.34 +- Add selinux packageconfig for tar,findutils,coreutils - Assorted python module updates - Recipe Updates - simpleiot - 0.0.33, go - 1.16.7, unclutter-xfixes - 1.6 - uhubctl - 2.4.0, nlohmann-json - 3.10.2, monit - 5.29.0 - libwebsockets - 4.2.2, cjson - 1.7.15, wireshark - 3.4.8 - gsl - 2.7, xf86-video-nouveau - 1.0.17, ctags - 5.9.20210905 - - avro-c - 1.10.2 + - avro-c - 1.10.2, ntopng - 5.0, ndpi - 4.0, redis - 6.2.5 + - libjcat - 0.1.8, libeigen - 3.4.0, libbytesize - 2.6, dash - 0.5.11.5 + - crash - 7.3.0, spdlog - 1.9.2, fmt - 8.0.1, msgpack-c - 4.0.0 + - poppler - 21.09.0, poppler-data - 0.4.11, lockfile-progs - 0.1.19 + - libqmi - 1.30.2, dfu-util - 0.11, cppzmq - 4.8.0, mosquitto - 2.0.12 + - fuse3 - 3.10.5, lttng - 2.13.0, - New recipes - python3-pytest-subtests, python3-kivy +- Removed recipes + - assimp ## [2021.08] 2021-09-02 diff --git a/conf/site.conf b/conf/site.conf index 2d7d469e3..0c5ae4596 100644 --- a/conf/site.conf +++ b/conf/site.conf @@ -58,8 +58,10 @@ ENABLE_UART = "1" # Yoe Updater Supported Machines ( RPI, beaglebone, C4, SAMA5D27 for now ) INITRAMFS_IMAGE_BUNDLE:rpi = "1" +WKS_FILE:rpi = "yoe-sdimage.wks" INITRAMFS_IMAGE_BUNDLE:beaglebone = "1" INITRAMFS_IMAGE_BUNDLE:odroid-c4-hardkernel = "1" +WKS_FILE:odroid-c4-hardkernel = "yoe-sdimage.wks" INITRAMFS_IMAGE_BUNDLE:sama5d27-som1-ek-sd = "1" # Use yoe-initramfs-image for initramfs diff --git a/sources/bitbake b/sources/bitbake index ae24a0f2d..aaa5292ef 160000 --- a/sources/bitbake +++ b/sources/bitbake @@ -1 +1 @@ -Subproject commit ae24a0f2d2d8b4b5ec10efabd0e9362e560832ea +Subproject commit aaa5292ef96ea27f505bc5c5a4b1eb4f497ed061 diff --git a/sources/meta-arm b/sources/meta-arm index da848fd7e..e3943b4c5 160000 --- a/sources/meta-arm +++ b/sources/meta-arm @@ -1 +1 @@ -Subproject commit da848fd7ef22782f4f25991261db0a8a2c8370c7 +Subproject commit e3943b4c50fc39ecdb912b6f641ef358b23b68ea diff --git a/sources/meta-clang b/sources/meta-clang index 3c131c2ba..12c3739c9 160000 --- a/sources/meta-clang +++ b/sources/meta-clang @@ -1 +1 @@ -Subproject commit 3c131c2bac5ca105270a1ab075632f13cf8d8485 +Subproject commit 12c3739c9cc737ceb8a29bf7bbd848d3de4b8d17 diff --git a/sources/meta-freescale b/sources/meta-freescale index 41a108b34..0e0bd2a35 160000 --- a/sources/meta-freescale +++ b/sources/meta-freescale @@ -1 +1 @@ -Subproject commit 41a108b3453b5855d090a62dd451855ab6f9dad9 +Subproject commit 0e0bd2a3583520a79695fce3114ebe492bf50768 diff --git a/sources/meta-freescale-3rdparty b/sources/meta-freescale-3rdparty index 10a3c8708..d373302ca 160000 --- a/sources/meta-freescale-3rdparty +++ b/sources/meta-freescale-3rdparty @@ -1 +1 @@ -Subproject commit 10a3c870807fa9df36fb21ad036860789b491f78 +Subproject commit d373302ca3bad4dde15f778e75d0012fd249d07a diff --git a/sources/meta-openembedded b/sources/meta-openembedded index c2a805764..32140218a 160000 --- a/sources/meta-openembedded +++ b/sources/meta-openembedded @@ -1 +1 @@ -Subproject commit c2a8057647a0483e7faf1b55d4d89d4c9647e597 +Subproject commit 32140218a8026016687c7017a82113b0b45cf1a6 diff --git a/sources/meta-qcom b/sources/meta-qcom index b884eace5..698268ca9 160000 --- a/sources/meta-qcom +++ b/sources/meta-qcom @@ -1 +1 @@ -Subproject commit b884eace5e20ad37ede1fc7269a5fb1822bf9aa8 +Subproject commit 698268ca9bd7d934d77f5dc17a5856a37cd924bb diff --git a/sources/meta-ti b/sources/meta-ti index 1a0d09726..67e95742f 160000 --- a/sources/meta-ti +++ b/sources/meta-ti @@ -1 +1 @@ -Subproject commit 1a0d097261c8538ca8e643b647f1b35f6c2f1cf9 +Subproject commit 67e95742fc5c2c28e730fdf90cb737285e72ce67 diff --git a/sources/meta-yoe/conf/distro/yoe.conf b/sources/meta-yoe/conf/distro/yoe.conf index 0d657a235..960f670c8 100644 --- a/sources/meta-yoe/conf/distro/yoe.conf +++ b/sources/meta-yoe/conf/distro/yoe.conf @@ -1,2 +1,2 @@ -YOE_PROFILE ??= "yoe-glibc-sysvinit-wayland" +YOE_PROFILE ??= "yoe-glibc-systemd-wayland" require ${YOE_PROFILE}.inc diff --git a/sources/meta-yoe/recipes-core/images/yoe-installer-image.bb b/sources/meta-yoe/recipes-core/images/yoe-installer-image.bb index 8ba6a87db..93b7397f2 100644 --- a/sources/meta-yoe/recipes-core/images/yoe-installer-image.bb +++ b/sources/meta-yoe/recipes-core/images/yoe-installer-image.bb @@ -11,11 +11,11 @@ export IMAGE_BASENAME = "yoe-installer-image" IMAGE_FSTYPES = "wic.bmap wic.xz" # Do not pollute the installer image with full image features -IMAGE_FEATURES = "ssh-server-dropbear hwcodecs debug-tweaks" +IMAGE_FEATURES = "ssh-server-openssh hwcodecs debug-tweaks" PACKAGE_INSTALL = "\ packagegroup-core-boot \ - packagegroup-core-ssh-dropbear \ + packagegroup-core-ssh-openssh \ ${MACHINE_HWCODECS} \ " diff --git a/sources/meta-yoe/recipes-core/images/yoe-simple-image.bb b/sources/meta-yoe/recipes-core/images/yoe-simple-image.bb index ad5524ca0..476488076 100644 --- a/sources/meta-yoe/recipes-core/images/yoe-simple-image.bb +++ b/sources/meta-yoe/recipes-core/images/yoe-simple-image.bb @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda inherit core-image require updater.inc -IMAGE_FEATURES += "ssh-server-dropbear package-management hwcodecs" +IMAGE_FEATURES += "ssh-server-openssh package-management hwcodecs" IMAGE_INSTALL = "\ packagegroup-core-boot \ diff --git a/sources/meta-yoe/recipes-support/updater/files/updater.installer b/sources/meta-yoe/recipes-support/updater/files/updater.installer index 684b71b1c..9c09b4146 100644 --- a/sources/meta-yoe/recipes-support/updater/files/updater.installer +++ b/sources/meta-yoe/recipes-support/updater/files/updater.installer @@ -97,6 +97,24 @@ initialize() { mkdir -p $DATA_MOUNT_POINT } +resize_sd() { + echo "Resizing data partition started ..." || return 1 + if [ -z "$1" ]; then + DEVICE=$SD_DEVICE + else + DEVICE=$1 + fi + sync + umount ${DEVICE}p3 + PART_SIZE=$(cat "/sys/block/${DEVICE}p3/size") + # only continue if partition size is 1MB + if [ $PART_SIZE -gt 2048 ]; then + return 0 + fi + echo "- +" | sfdisk -N 3 ${DEVICE} + resize2fs ${DEVICE}p3 +} + partition_sd() { echo "Partitioning started ..." || return 1 if [ -z "$1" ]; then @@ -178,6 +196,10 @@ partition_emmc() { partition_sd $EMMC_DEVICE } +resize_emmc() { + resize_sd $EMMC_DEVICE +} + format_emmc_boot() { mkfs.${BOOT_FSTYPE} -I -n "BOOT" $EMMC_BOOT_DEV || return 1 } @@ -484,6 +506,10 @@ boot() { umount_usb umount_sd umount_data + if ! resize_${STORAGE}; then + msg_splash "Resizing ${STORAGE} failed, bad media" + sleep 9999d + fi if [ -e $EMMC_BOOT_DEV ]; then msg_splash "Booting from EMMC ..." diff --git a/sources/meta-yoe/recipes-support/updater/updater_1.0.bb b/sources/meta-yoe/recipes-support/updater/updater_1.0.bb index 8ce91e349..b73df802e 100644 --- a/sources/meta-yoe/recipes-support/updater/updater_1.0.bb +++ b/sources/meta-yoe/recipes-support/updater/updater_1.0.bb @@ -19,3 +19,6 @@ do_install() { } FILES:${PN} += "/init /platform /dev ${datadir}" + +RDEPENDS:${PN} += "e2fsprogs-resize2fs util-linux-sfdisk" + diff --git a/sources/meta-yoe/wic/yoe-sdimage.wks b/sources/meta-yoe/wic/yoe-sdimage.wks index 0e9e12f62..a6daa95de 100644 --- a/sources/meta-yoe/wic/yoe-sdimage.wks +++ b/sources/meta-yoe/wic/yoe-sdimage.wks @@ -7,7 +7,7 @@ part --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --al # Main Rootfs partition (1G) part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --fixed-size 1024 --align 4 -# User data partition (16M) -part /data --ondisk mmcblk --fstype=ext4 --label data --fixed-size 16 --align 4096 +# User data partition (1M) +part /data --ondisk mmcblk --fstype=ext4 --label data --fixed-size 1 --align 4096 bootloader --ptable msdos diff --git a/sources/openembedded-core b/sources/openembedded-core index ec20e1a0e..71b549924 160000 --- a/sources/openembedded-core +++ b/sources/openembedded-core @@ -1 +1 @@ -Subproject commit ec20e1a0e0ba61a7615b361bfc9d9dc58a91f9b3 +Subproject commit 71b549924a7fa7973a8e03e11f3db45fdc29889d