| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
This update is based on the equivalent update commits in meta-rauc
from 2021.03.0 to 2023.08.0[1] and from 2023.08.0 to 2023.11.0[2].
[1]: https://github.com/rauc/meta-rauc/commit/6c5faed98b7124e1f084280b0981da349f38c8d6
[2]: https://github.com/rauc/meta-rauc/commit/b9938b796549a27bc481bac668d7104e58265bec
Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
| |
OE-Core started in [1] to warn when it finds obsolete license identifiers as it
was decided to standardise on SPDX license names. Use the conversion script
introduced in OE-Core's commit [2] to silence the warnings.
[1] 9379f80f484f ("license/insane: Show warning for obsolete license usage")
[2] 512cd4ca91bc ("scripts: Add a conversion script to use SPDX license names")
Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Done with conversion script:
scripts/contrib/convert-overrides.py meta-ptx
Update layer compatibility to honister.
Note: New override-style syntax is supported by latest version of poky
hardknott. Thus compatiblitiy should actually be given.
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
By default, all debug symbols will end up in runtime package ${PN}-dbg,
even if the binaries are split into several runtime packages.
In most cases it is not an issue to install all non-relevant debug package
unconditionally. But as the 'dt-utils' package provides the 'fdtdump'
utility that the 'dtc' package also provides, this would trigger a -dbg
package collision when attempting to install both any of the dt-utils runtime
package and any of the dtc runtime packages:
| Error: Transaction check error:
| file /usr/bin/.debug/fdtdump conflicts between attempted installs of libdt-utils-dbg-2019.01.0-r0.corei7_64 and dtc-dbg-1.5.1-r0.corei7_64
To prevent this, we simply disable the default debug package split and
perform it on our own by splitting the debug symbols into a
runtime package-specific dbg package.
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
| |
The ptx layer should not unconditionally manipulate any existing package
to be compatible with the default YP guidelines.
To have ptx-profile only active when 'ptx' distro is selected, we add it
via DISTRO_EXTRA_RDEPENDS. So it will make its way into images that use
packagegroup-base, which is recommended, anyway.
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
| |
PN may contain common prefixes as -native or nativesdk- and is thus
inappropriate for SRC_URI. Replace by BPN which has these prefixes
removed.
This also fixes QA issue:
| do_package_qa: QA Issue: dt-utils: SRC_URI uses PN not BPN [src-uri-bad]
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
|
|
|
|
|
|
|
| |
This version does include the glibc compilation fix patch which can
safely be removed again.
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
| |
krogoth-15.0.0-148-g0aba7d5d36c0 changed /etc/profile to only source
/etc/profile.d/*.sh
Amend the extension and while at it rename it to 00-ptx.sh instead.
The 00- prefix makes for easy overriding. The -profile suffix was
removed as it seems redundant when installed inside /etc/profile.d/.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
|
|
|
|
|
|
|
|
| |
Support for RAUC officially went to meta-rauc
(https://github.com/rauc/meta-rauc) a while ago and was kept in meta-ptx
only for a migration phase and will now be removed finally.
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
|
|
|
|
|
|
|
| |
Both layers have a priority of 6, hence we imprint a priority handicap into
meta-ptx to let bitbake favor meta-rauc's recipes for rauc and rauc-native.
Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
|
|
|
|
|
|
| |
package was renamed
Signed-off-by: Jan Remmet <j.remmet@phytec.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2016.12.0 includes the fall back to node '/state' if no alias 'state' is
there.
This was missing since
6c5dfab dt-utils: update to 2016.08.0 and switch to using tarball
release
and the removal of
0001-remove-init-option-use-default-if-load-failed.patch
Signed-off-by: Jan Remmet <j.remmet@phytec.de>
|
|
|
|
|
|
|
| |
Note that this also splits the recipe in a version-specific bb file
and a version-agnostic include file.
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
|
|
|
|
|
|
|
| |
This is the original name of the software package, barebox-state is only
one of the binaries it may build.
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If not set, these pathes will be determined by running pkg_config. As
systemd is not in the DEPENDS of rauc, it could happen that rauc was
configured before systemd was built, leading to an empty value for the
unitdir path and thus the rauc.service file was not built. This led to
ERROR: Function failed: SYSTEMD_SERVICE_rauc-service value rauc.service
does not exist
Now, the pathes are set explicitly which makes the package build
correctly but avoids a build dependency on systemd.
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
|
|
|
|
|
|
| |
Rauc will create the mount path if not existing.
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
|
|
|
|
|
|
| |
The rauc build system now handles installation of service files.
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
| |
--enable-network now allows to compile without network support, removing
the necessity to DEPEND on curl.
--enable-json adds support for new json-style output formats for `rauc
info` and `rauc status`.
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes sstate issues when trying to accelerate do_deploy task from
sstate for non-native packages. These did not install anything to deploy
dir which made sstate_installpkg fail with:
| 0317: for state in ss['dirs']:
| 0318: prepdir(state[1])
| *** 0319: os.rename(sstateinst + state[0], state[1])
| 0320: sstate_install(ss, d)
| 0321:
| 0322: for plain in ss['plaindirs']:
| 0323: workdir = d.getVar('WORKDIR', True)
| Exception: OSError: [Errno 2] No such file or directory
By adding the deploy task only for the native recipe (where it is used) this
issue is fixed.
This also changes install location from ${DEPLOY_DIR_TOOLS} to ${DEPLOYDIR}
which is the one used as sstate-inputdirs.
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
|
|
|
|
|
|
|
| |
packages mtd-utils and ${PN}-mark-good should extend and not replace
squashfs-tools entry.
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make service feature and auto mark-good service configurable
Move systemd units into packages rauc-service and rauc-mark-good
Rdepend on rauc-service if service feature is selected (default)
Rrecommend on rauc-mark-good (default) use BAD_RECOMMENDATIONS to
disable it.
Signed-off-by: Jan Remmet <j.remmet@phytec.de>
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
|
|
|
|
|
|
|
| |
rauc can use nandwrite on target.
Signed-off-by: Jan Remmet <j.remmet@phytec.de>
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
| |
rc-once calls 'systemctl default' which is basically 'systemctl isolate
default.target'. Without IgnoreOnIsolate=true this will stop
rc-once.service because it is not part of the new default target.
This was never noticed because 'systemctl default' is the last command.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
[port of b67eeaef8950 from PTXdist]
Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
| |
squashfs-tools was listed in DEPENDS, but it is a runtime dependency,
both for the native as well as the target system.
As it is not crucial for basically running rauc, it was added as
RRECOMMENDS.
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
|
|
|
|
|
|
|
|
| |
Service and configuration files are required only on the target, thus
the append was changed to be target class-specific. Same is true for
runtime dependency to barebox-state tool.
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Jan Remmet <j.remmet@phytec.de>
|
|
|
|
| |
Signed-off-by: Enrico Joerns <mail@ejoerns.de>
|
|
|
|
|
|
|
| |
This allows to place skripts for initial execution after system install in
${sysconfdir}/rc.once.d/
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
|
|
|
|
|
|
|
| |
Set the RAUC_KEYRING_FILE variable to the path (withouth 'file://')
where the keyring file of your choice is located
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
|
|
|
|
|
|
|
| |
BSP users might want to run the rauc tool from the BSP to resign
bundles, display bundle informations, etc.
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
|
|
|
|
|
|
| |
They will be put in '${sysconfdir}/rauc/openssl-ca'
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
|
|
|
|
|
|
| |
dependency
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
|
|
|
|
|
|
| |
ptx-profile provides a profile.d config with some default aliases for ptx users
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
|