Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update layers and add updater option to not partition disk. #588

Merged
merged 5 commits into from
Sep 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- libqmi - 1.30.2, dfu-util - 0.11, cppzmq - 4.8.0, mosquitto - 2.0.12
- fuse3 - 3.10.5, lttng - 2.13.0, linux-yocto/5.10 - 5.10.63
- linux-yocto/5.13 - 5.13.15, libxmlb - 0.3.2, dnf-plugin-tui - 1.3
- zchunk - 1.1.16, xterm - 368, unbound - 1.13.2, dnsmasq - 2.86
- postgresql - 13.4, libbpf - 0.5.0, ndisc6 - 1.0.5
- clang - 13.0.0-rc3
- New recipes
- python3-pytest-subtests, python3-kivy, pahole
- Removed recipes
Expand Down
2 changes: 1 addition & 1 deletion sources/meta-yoe/conf/distro/yoe.inc
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ INHERIT += "${@bb.utils.contains('BUILD_ARCH', 'ppc64le', '', 'uninative', d)}"
# Add /etc/build to every image
INHERIT += "image-buildinfo"

DISTRO_FEATURES:append = " largefile opengl multiarch wayland pam polkit vulkan"
DISTRO_FEATURES:append = " largefile opengl multiarch wayland pam vulkan"

#PREFERRED_PROVIDER_pkgconfig = "pkgconf"
#PREFERRED_PROVIDER_pkgconfig-native = "pkgconf-native"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ FSTYPE=ext4
BOOT_FSTYPE=vfat

UPDATER_SPEECH=0
UPDATER_CAN_PARTITION=1

plat_init() {
msg "Running $PLAT initializations ..."
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
UPDATER_SPEECH=1
UPDATER_CAN_PARTITION=1

plat_init() {
# turn on Audio amp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ FSTYPE=ext4
BOOT_FSTYPE=vfat

UPDATER_SPEECH=0
UPDATER_CAN_PARTITION=0

plat_init() {
msg "Running $PLAT initializations ..."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ FSTYPE=ext4
BOOT_FSTYPE=vfat

UPDATER_SPEECH=0
UPDATER_CAN_PARTITION=0

plat_init() {
msg "Running $PLAT initializations ..."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ FSTYPE=ext4
BOOT_FSTYPE=vfat

UPDATER_SPEECH=0
UPDATER_CAN_PARTITION=0

plat_init() {
msg "Running $PLAT initializations ..."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ FSTYPE=ext4
BOOT_FSTYPE=vfat

UPDATER_SPEECH=0
UPDATER_CAN_PARTITION=0

plat_init() {
msg "Running $PLAT initializations ..."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ FSTYPE=ext4
BOOT_FSTYPE=vfat

UPDATER_SPEECH=0
UPDATER_CAN_PARTITION=1

plat_init() {
:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ process_update() {
# check if EMMC card has 3 partitions, if not, partition it now
total_install_partitions=$(fdisk -l ${INSTALL_DEVICE} | grep ^${INSTALL_DEVICE}p | wc -l)
msg_splash "Found $total_install_partitions partitions on ${INSTALL_DEVICE}"
if [ $total_install_partitions -ne 3 ]; then
if [ $total_install_partitions -ne 3 -a ${UPDATER_CAN_PARTITION} -eq 1 ]; then
msg_splash "Partitioning storage, please wait ..."
if ! partition_${STORAGE}; then
msg_splash "Partitioning ${STORAGE} failed, bad media"
Expand Down