| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This should hopefully resolve some python3/repo issues.
Signed-off-by: Patti Vacek <pattivacek@gmail.com>
|
|\
| |
| | |
[master] Fix ota-ext4 IMAGE_FSTYPE
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* it doesn't automatically pass "-t ext4", because here we're calling
mke2fs as mkfs.ota-ext4 instead of mkfs.ext4
so the resulting was now ext2 instead of ext4
$ file image-raspberrypi4.rootfs.ota-ext4
image-raspberrypi4.rootfs.ota-ext4: Linux rev 1.0 ext2 filesystem data, UUID=15862fcd-6204-486b-a4c6-fdf7b1710797, volume name "otaroot" (large files)
after this fix:
$ file image-raspberrypi4.rootfs.ota-ext4
image-raspberrypi4.rootfs.ota-ext4: Linux rev 1.0 ext4 filesystem data, UUID=3709e65c-1d2b-4280-85d1-638f5f9c3cc0, volume name "otaroot" (extents) (64bit) (large files) (huge files)
that's why metadata_csum and other features enabled by default
in ext4 were now missing after
https://github.com/advancedtelematic/meta-updater/pull/787
we can drop 64bit feature as well, it's also enabled in default
recipe-sysroot-native/etc/mke2fs.conf
[defaults]
base_features = sparse_super,large_file,filetype,resize_inode,dir_index,ext_attr
default_mntopts = acl,user_xattr
enable_periodic_fsck = 0
blocksize = 4096
inode_size = 256
inode_ratio = 16384
[fs_types]
ext3 = {
features = has_journal
}
ext4 = {
features = has_journal,extent,huge_file,flex_bg,metadata_csum,64bit,dir_nlink,extra_isize
inode_size = 256
}
...
Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|\
| |
| | |
image_types_ota.bbclass: call oe_mkext234fs to make ota-ext4 image
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This fixes a following error:
| Saving Environment to EXT4... Unsupported feature metadata_csum found, not writing
when u-boot tries to write env to EXT4 filesystem.
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We dont have to maintain our own function calculate_size and use
dd/mkfs.ext4 to generate ota-ext4 image, they have been done in OE
by get_rootfs_size/oe_mkext234fs functions, we could just use them.
The major benefit could be we can sync the future fixes/changes in
these functions from OE, also avoid maintaining some duplicated code in
image_types_ota.bbclass.
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
|
|\ \
| |/
|/| |
Use python3 to get repo working again.
|
|/
|
|
|
|
|
|
| |
The latest version of repo requires python3.6+, but the default Debian
package is fine with the default python3 package (although it complains
about experimental support).
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|\
| |
| | |
aktualizr: Upgrade to 2020.10 release
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Because every aktualizr package was depending on aktualizr-configs, all
of the default configs were getting installed to /usr/lib/sota, despite
that by default none of them were ever used on the device. That
dependency has been removed.
The provisioning recipes still install the recipes they need to the
default location that aktualizr actually uses (/usr/lib/sota/conf.d). If
you want to use anything else, a specific recipe should be created to do
so.
This change rendered the aktualizr-host-tools package useless, so it has
been removed.
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|/
|
|
| |
Signed-off-by: Anatoliy Odukha <aodukha@gmail.com>
|
|\
| |
| | |
Sync recipe/append removals from the dunfell branch
|
| |
| |
| |
| |
| |
| | |
It appears to be an almost straight copy of this recipe.
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
| |
| |
| |
| |
| |
| | |
The version in meta-openembedded already supports a native build.
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
| |
| |
| |
| |
| |
| | |
The version in poky already supports a native build.
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|/
|
|
|
|
| |
And it's a newer version at that!
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|\
| |
| | |
layer.conf: add gatesgarth to LAYERSERIES_COMPAT
|
|/
|
|
| |
Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
|
|\
| |
| | |
ostree-kernel-initramfs: add back initramfs fit workaround
|
|/
|
|
|
|
|
|
|
|
|
| |
Previous initramfs fit specific workaround was removed as part of commit
6eecf1593d, causing ostree to provide an init argument as part of the
kernel command line arguments when it is not really needed.
Bring back the workaround by simply generating an empty file in case
kernel image type is fit and initramfs is also used by the target.
Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
|
|\
| |
| | |
image_types_ostree: fix chmod
|
|/
|
|
| |
Signed-off-by: Dominik Wild <dominik.wild@glutz.com>
|
|\
| |
| |
| |
| | |
liuming50/introduce-OSTREE_MULTI_DEVICETREES_SUPPORT
sota: introduce OSTREE_MULTI_DEVICETREE_SUPPORT
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ostree supports multiple devicetrees provided that there is no
/lib/modules/$kversion/devicetree installed on rootfs, in which case,
a uboot variable 'fdtdir' would be written to /boot/loader/uEnv.txt
instead of fdt_file.
Introduce OSTREE_MULTI_DEVICETREE_SUPPORT to control that, when it's
set to '0', there is no functional changes with current implementation,
while it's set to '1', then /lib/modules/$kversion/devicetree would not
be installed and the end users need set their own fdtfile/fdt_file in
boot script to locate the devicetree in 'fdtdir'.
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|\
| |
| | |
networkd-dhcp-conf: fix REQUIRED_DISTRO_FEATURES
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* it's REQUIRED_DISTRO_FEATURES not REQUIRED_DISTRO_FEATURES_
* inherit features_check to actually respect REQUIRED_DISTRO_FEATURES
and fix:
ERROR: networkd-dhcp-conf-1.0-r1 do_package_qa: QA Issue: networkd-dhcp-conf: recipe doesn't inherit features_check [unhandled-features-check]
* fix:
commit 4ae9917bf2475c118e8015ec7a2ce10bd01a0124
Author: Mykhaylo Sul <ext-mykhaylo.sul@here.com>
Date: Fri Nov 1 11:44:44 2019 +0100
OTA-3988: Don't build the networkd-dhcp recipe if systemd is not included into the disto feature list
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|\
| |
| | |
aktualizr: Upgrade to 2020.9 release.
|
|/
|
|
| |
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|\
| |
| | |
image_repo_manifest.bbclass: fix build when there is no repo on host
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* failing "which repo" causes the run.buildinfo_manifest task to fail
before it even reaches the test for empty repotool variable:
dash -x some-image/1.0-r2/temp/run.buildinfo_manifest.80233
+ export systemd_system_unitdir=/usr/lib/systemd/system
+ export systemd_unitdir=/usr/lib/systemd
+ export systemd_user_unitdir=/usr/lib/systemd/user
+ buildinfo_manifest
+ which repo
+ repotool=
+ bb_sh_exit_handler
+ ret=1
+ [ 1 != 0 ]
+ echo WARNING: exit code 1 from a shell command.
WARNING: exit code 1 from a shell command.
+ exit 1
causing nasty long python exception from do_image task
with this fix, it just shows an warning again:
dash -x some-image/1.0-r2/temp/run.buildinfo_manifest.80233
+ export systemd_user_unitdir=/usr/lib/systemd/user
+ buildinfo_manifest
+ which repo
+ true
+ repotool=
+ [ -n ]
+ bbwarn Android repo tool not found; manifest not copied.
+ [ -p some-image/1.0-r2/temp/fifo.80233 ]
+ echo WARNING: Android repo tool not found; manifest not copied.
WARNING: Android repo tool not found; manifest not copied.
+ ret=0
+ trap 0
+ exit 0
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|\
| |
| | |
image_repo_manifest.bbclass: explicitly call python3
|
|/
|
|
|
|
|
|
|
|
|
|
| |
Now we have changed to inherit python3native to provide python3 binary
for repo, then we need explicitly call python3 to execute repo, or else
it will firstly try to locate python which will fail if python is not
in HOSTTOOLS.
This fixes a following warning:
| Android repo tool failed to run; manifest not copied
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|\
| |
| | |
aktualizr: Bump to latest and install headers in dev package.
|
| |
| |
| |
| | |
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|\ \
| |/
|/| |
sota_raspberrypi: Use new variable for bootfiles path.
|
|/
|
|
|
|
|
|
| |
This was changed in f046b4128c9ca3420614887006101fa2b10fc6e7 of
meta-raspberrypi. This also requires
e947e8590f74477505c754d016d99fc71cadf4e1 in meta-updater-raspberrypi.
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|\
| |
| | |
Inherit python3native instead of using HOSTTOOLS.
|
| |
| |
| |
| | |
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|\ \
| | |
| | | |
nfs-utils: don't add nfs-home-mount.service without sota enabled
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* nfs-home-mount.service is installed by do_install_append_sota, so only when sota is enabled
but it was always added to SYSTEMD_SERVICE_ even when sota wasn't enabled resulting in
do_patch failure:
nfs-utils-2.5.1-r0 do_package: SYSTEMD_SERVICE_nfs-utils value nfs-home-mount.service does not exist
* use sota override everywhere
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|\ \
| |/
|/| |
qemucommand: Restore custom booloader parameter.
|
|/
|
|
|
|
|
| |
The functionality was (presumably unintentionally) removed, but the
option was still present.
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|\
| |
| | |
nfs-utils: fix nfs systemd daemons runtime issues
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
nfs-mountd.service and nfs-statd.service rely on /var/lib/nfs to be
present in rootfs, or else they would run into problems for some files
missing in it.
But a ostree/ota rootfs does not have that directory (removed during
do_image), to fix that, we now copy them to /var/local/lib/nfs and
mount it to /var/lib/nfs at runtime, which is done in
nfs-home-mount.service.
nfs-mountd.service and nfs-statd.service need run after
nfs-home-mount.service.
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|\ \
| |/
|/| |
aktualizr: Bump to 2020.8 release.
|
|/
|
|
| |
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|\
| |
| | |
ostree-kernel-initramfs: fix devicetree deployment
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Following the changes in ostree's deployment of the kernel, initramfs
and devicetree in /lib/modules/$kver, the deployment method of the
device tree also changed. Instead of picking the first device tree it
finds at a given location, ostree looks at a file named devicetree, next
to kernel and initramfs in /lib/modules/$kver.
This commit modifies ostree-kernel-initramfs to deploy the devicetree
from the sota-defined variable OSTREE_DEVICETREE. It will pick the
first one from the list of device trees that OSTREE_DEVICETREE defines,
and copy it to /lib/modules/$kver. Note that since OSTREE_DEVICETREE
equals to KERNEL_DEVICETREE when it isn't explicitly defined, it could
indeed be a list of device trees.
Signed-off-by: antznin <agodard@witekio.com>
|
|\ \
| |/
|/| |
image_types_ota.bbclass: change IMAGE_BASENAME to PN
|
|/
|
|
|
|
|
|
|
| |
When setting intertask dependencies, we should use PN instead of
IMAGE_BASENAME to refer to a image recipe, since PN is generated from
recipe file name, while IMAGE_BASENAME is a variable that could be
changed, it's not guaranteed to always equal to PN.
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|