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

Rocko backports #714

Merged
merged 27 commits into from Apr 25, 2019

Conversation

Projects
None yet
4 participants
@drewmoseley
Copy link
Contributor

commented Apr 18, 2019

No description provided.

kacf and others added some commits Nov 19, 2018

Add raspberrypi-demo layer to build.
Changelog: Fix missing wpa_supplicant in Raspberry Pi demo images.

Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech>
tests: Work around corrupted UBI volume on partial write.
Corrupting the volume when the write doesn't write everything it's
supposed to, is an intentional security feature of UBI, and it can
trigger when we do checksum mismatch tests, which suddenly stop
writing when they discover that the checksum is wrong. This apparently
is checked more rigorously in recent kernels, so accept a non-readable
volume when performing UBI tests.

Changelog: None

Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech>
(cherry picked from commit 8aa96d7)
Add Mender 1.7.0 release recipes.
Changelog: Add mender 1.6.1 and 1.7.0 recipes.
Changelog: Add mender-artifact 2.3.1 and 2.4.0 recipes.

Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech>
(cherry picked from commit 95ef48e)
mender-helpers.bbclass: Add NVMe support
Add NVMe devices to the list of valid devices for GRUB.

Changelog: Title

Signed-off-by: Stoyan Bogdanov <stoyan.bogdanov@konsulko.com>
Update mender-artifact checksum after LZMA introduction.
Changelog: None

Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech>
(cherry picked from commit 670e889)
tests: Add min_yocto_version fixture for use in external tests.
This is needed for selectively executing tests in mender-image-tests.

Changelog: None

Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech>
Fix bad link
Provide a working link to the Building a Mender Yocto Project image page

Changelog: None

Reported-by: Denis Mosolov <denismosolov@gmail.com>

Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech>
(cherry picked from commit 0973f32)
MEN-2224: Updated the license checksum in mender-artifact
Changelog: None

Signed-off-by: Ole Petter <ole.orhagen@cfengine.com>
(cherry picked from commit 63820cb)
Update mender checksum for 2019 license.
Changelog: None

Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech>
(cherry picked from commit 28d8786)
MEN-2235: Update md5sum for the mender Licenses File
Changelog: None

Signed-off-by: Lluis Campos <lluis.campos@northern.tech>
(cherry picked from commit 0bcf6fa)
MEN-2335: Update License File md5sum for mender v1.7 release
Changelog: None

Signed-off-by: Lluis Campos <lluis.campos@northern.tech>
(cherry picked from commit ebeed3a)
Adapt to new flags in mender-artifact-3.0.0.
Changelog: Title

Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech>
Backported-by: Drew Moseley <drew.moseley@northern.tech>
(cherry picked from commit e751e85)
Add canary value to U-Boot env to catch bootloader/user-space mismatch.
The way it works is that we store the 'mender_check_saveenv_canary=1'
variable in the default U-Boot environment. We do not store the
corresponding 'mender_saveenv_canary=1' value in the default
environment, but instead we write this during the boot process. When
the Mender client finds the former variable, it will look for the
second value as well, and produce an error if it is not present. If
this happens it is an indication that the U-Boot boot loader and the
user space tools do not agree on the location of the environment. It
will also catch cases where mender_setup is not run.

Changelog: Title

Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech>
Adapt tests to new flags in mender-2.0.0 and mender-artifact-3.0.0.
Changelog: None

Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech>
(cherry picked from commit 062fd08)
MEN-2383: Adapt to new Makefile based installation.
Changelog: Some core update modules can now be installed by adding
`modules` to the `PACKAGECONFIG` variable of `mender`. They are
included by default when using the meta-mender-demo layer.

Backported-by: Drew Moseley <drew.moseley@northern.tech>
Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech>
(cherry picked from commit 172cc9a)
Install `mender-data-dir.service` to create `/data/mender` directory.
Changelog: Title

Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech>
(cherry picked from commit 4b16e2f)
Adapt tests to mender artifact format v3.
Changelog: None

Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech>
(cherry picked from commit 2a14820)
Install `rootfs-image-v2` in qemu images so we can use it in tests.
Integration tests, specifically. The reason we use the file inclusion
is that we expect the same thing to be needed in the git recipe once
we merge the functionality in the master branch.

Changelog: None

Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech>
(cherry picked from commit 813da90676d3e0e990382240fb1d3903c5494e27)
Keep master builds using the old makefile for now.
Changelog: None

Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech>
(cherry picked from commit f219981)
Add mender-2.0.0b1 and mender-artifact-3.0.0b1.
Changelog: Title

Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech>
(cherry picked from commit c1838acde87d6ff6e27ff7755d8a036c3dc35e64)
tests: Rewrite default version selection to be dynamic.
It's difficult to know which really is the default version once we
start testing multiple branches of mender-artifact, so make sure we
test for the version.

Changelog: None

Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech>
(cherry picked from commit e0bd3d7)
tests: Make it possible to keep branches behind latest version.
Changelog: None

Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech>
(cherry picked from commit ee2e69c)
Stub out the compile_ptest_base function for Mender 2.0 and later.
This requires golang features that are only available in thud and later.

Changelog: None
Signed-off-by: Drew Moseley <drew.moseley@northern.tech>
Use old Makefile strategy for old mender versions
These versions, 1.4.x and earlier, were not in the original commit
949b757 as they don't exist in thud

Changelog: None

Signed-off-by: Lluis Campos <lluis.campos@northern.tech>
(cherry picked from commit 3aac6ed)
Use old Makefile strategy for 1.1.x recipe
Extends the previous cherry-picked commit

Changelog: None

Signed-off-by: Lluis Campos <lluis.campos@northern.tech>
Remove test_boot_partition_population added by mistake
Seems like this test was added by mistake on commit 6e87c0f when
backporting from thud the original commit 172cc9a

Changelog: None

Signed-off-by: Lluis Campos <lluis.campos@northern.tech>
Fix error message `Incorrect Usage: flag provided but not defined: -f`
Change the detection of mender-artifact file flag from version based
to checking the help screen, which is easier.

Changelog: Title

Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech>
(cherry picked from commit f2160ef)

@lluiscampos lluiscampos merged commit a0e045c into mendersoftware:rocko Apr 25, 2019

9 checks passed

beagleboneblack_1.7.x_rocko_build beagleboneblack integration:1.7.x poky:rocko build completed
Details
qemux86-64-uefi-grub_1.7.x_rocko_acceptance_tests qemux86-64-uefi-grub integration:1.7.x poky:rocko acceptance tests passed!
Details
qemux86-64-uefi-grub_1.7.x_rocko_build qemux86-64-uefi-grub integration:1.7.x poky:rocko build completed
Details
qemux86-64-uefi-grub_integration_1.7.x_false qemux86-64-uefi-grub integration:1.7.x specific test:false passed!
Details
vexpress-qemu-flash_1.7.x_rocko_acceptance_tests vexpress-qemu-flash integration:1.7.x poky:rocko acceptance tests passed!
Details
vexpress-qemu-flash_1.7.x_rocko_build vexpress-qemu-flash integration:1.7.x poky:rocko build completed
Details
vexpress-qemu_1.7.x_rocko_acceptance_tests vexpress-qemu integration:1.7.x poky:rocko acceptance tests passed!
Details
vexpress-qemu_1.7.x_rocko_build vexpress-qemu integration:1.7.x poky:rocko build completed
Details
vexpress-qemu_integration_1.7.x_false vexpress-qemu integration:1.7.x specific test:false passed!
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.