aboutsummaryrefslogtreecommitdiffstats
path: root/docs/Known Issues.md
blob: dacecdcf8f9740932252dce6f56da5382aeb542d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Known issues and future work

For the latest list of issues in the meta-swupd layer, please see the Yocto
Project Bugzilla:
https://bugzilla.yoctoproject.org/buglist.cgi?quicksearch=[meta-swupd]&list_id=577685

* refuses to overwrite generated data — because the act of generating swupd
updates is time-consuming meta-swupd, by design, refuses to overwrite an
existing update stream warning that the `OS_VERSION` number should be
incremented.
* hardlinks and extended attributes — there's a bug in
[pseudo](https://www.yoctoproject.org/tools-resources/projects/pseudo) which
results in the extended attributes for a hardlink being incorrectly associated
with the directory entry, rather than the inode. See [bug #9317](https://bugzilla.yoctoproject.org/show_bug.cgi?id=9317)
* potentially copies a lot of duplicate files — when copying bundle contents
around it's very likely that the same file will exist in the swupd working
directory multiple times. We may be able to make this less disk space intensive
by using a utility like hardlink to deduplicate identical files. See [bug #9189](https://bugzilla.yoctoproject.org/show_bug.cgi?id=9189)
* copies then deletes, rather than just copying — the current/initial
implementation copies the entire mega-image rootfs for each bundle chroot-like
directory and then prunes away unwanted files. It will be much more efficient to
only copy the files which are required in the first instance. See [bug #9325](https://bugzilla.yoctoproject.org/show_bug.cgi?id=9325)
* Various other performance issues including `system()` calls in swupd-server
resulting in slow operation as pseudo is loaded multiple times [bug #9449](https://bugzilla.yoctoproject.org/show_bug.cgi?id=9449), inefficient
algorithm for determining previous OS versions [bug #9322](https://bugzilla.yoctoproject.org/show_bug.cgi?id=9322), sequential calls
to `swupd_make_pack` [bug #9224](https://bugzilla.yoctoproject.org/show_bug.cgi?id=9224).
class="nv">PREFERRED_PROVIDER for virtual/kernel. This avoids errors when trying # to build multiple virtual/kernel providers, e.g. as dependency of # core-image-rt-sdk, core-image-rt. python () { if d.getVar("KERNEL_PACKAGE_NAME", True) == "kernel" and d.getVar("PREFERRED_PROVIDER_virtual/kernel") != "linux-intel-rt": raise bb.parse.SkipPackage("Set PREFERRED_PROVIDER_virtual/kernel to linux-intel-rt to enable it") } LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814" SRC_URI_append = " file://0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-.patch" KBRANCH = "5.4/preempt-rt" KMETA_BRANCH = "yocto-5.4" DEPENDS += "elfutils-native openssl-native util-linux-native" LINUX_VERSION ?= "5.4.70" SRCREV_machine ?= "6f0f7e5dd27c1798d0d58ccdf3cccebf79aef8a0" SRCREV_meta ?= "b8c82ba37370e4698ff0c42f3e54b8b4f2fb4ac0" LINUX_KERNEL_TYPE = "preempt-rt"