summaryrefslogtreecommitdiffstats
path: root/recipes-core
Commit message (Collapse)AuthorAgeFilesLines
* dt-utils: update to 2023.11.0nanbieldmickledoreLeonard Göhrs2023-12-043-5/+5
| | | | | | | | | | 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>
* change LICENSE entries to SPDX identifiersUlrich Ölmann2022-04-051-1/+1
| | | | | | | | | | | 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>
* update to honister's new override style syntaxEnrico Jorns2021-08-234-12/+12
| | | | | | | | | | | | | 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>
* dt-utils: update to 2021.03.0Roland Hieber2021-04-082-4/+4
| | | | Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* dt-utils: perform manual package split to avoid dbg package collisionsEnrico Jorns2020-08-261-1/+6
| | | | | | | | | | | | | | | | | | | | 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>
* add ptx-profile package only when 'ptx' distro is activeEnrico Jorns2020-03-311-1/+0
| | | | | | | | | | | 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>
* dt-utils: replace PN by BPN in SRC_URIEnrico Jorns2019-11-141-1/+1
| | | | | | | | | | | | 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>
* dt-utils: update to 2019.01.0Ulrich Ölmann2019-03-112-4/+4
| | | | Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
* dt-utils: update to 2018.05.1Enrico Jorns2018-12-193-79/+4
| | | | | | | This version does include the glibc compilation fix patch which can safely be removed again. Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
* recipes: ptx-profile: rename ptx-profile to 00-ptx.shAhmad Fatoum2018-12-112-3/+3
| | | | | | | | | | | 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>
* dt-utils: fix compilation with newer glibc versionEnrico Jorns2018-09-112-0/+75
| | | | Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
* dt-utils: update to 2018.05.0Enrico Jorns2018-08-142-4/+4
| | | | Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
* dt-utils: update to 2017.03.0Enrico Jorns2017-12-112-4/+4
| | | | Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
* remove RAUC from meta-ptxEnrico Jorns2017-11-225-296/+0
| | | | | | | | 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>
* rauc: allow for concurrently using meta-ptx and meta-raucUlrich Ölmann2017-03-131-0/+2
| | | | | | | 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>
* rauc: fix RDEPENDS on barebox-stateJan Remmet2017-01-241-1/+1
| | | | | | package was renamed Signed-off-by: Jan Remmet <j.remmet@phytec.de>
* dt-utils: update to 2016.12.0Jan Remmet2017-01-242-4/+4
| | | | | | | | | | | | | 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>
* dt-utils: update to 2016.08.0 and switch to using tarball releaseEnrico Jorns2016-11-103-95/+5
| | | | | | | 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>
* dt-utils: update SECTION and add HOMEPAGEEnrico Jorns2016-11-101-2/+3
| | | | Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
* dt-utils: ran oe-stylizeEnrico Jorns2016-11-101-9/+7
| | | | Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
* dt-utils: rename packages to follow package and yocto conventionEnrico Jorns2016-11-101-4/+4
| | | | Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
* barebox-state: rename to dt-utilsEnrico Jorns2016-11-102-0/+0
| | | | | | | 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>
* rauc: explicitly set systemd and dbus paths for configureEnrico Jorns2016-09-201-0/+6
| | | | | | | | | | | | | | | 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>
* rauc: replace custom rauc.service by upstream oneEnrico Jorns2016-09-132-13/+1
| | | | Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
* rauc: no need to pre-create mount pathEnrico Jorns2016-09-131-4/+0
| | | | | | Rauc will create the mount path if not existing. Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
* rauc: no need to install service files manually, anymoreEnrico Jorns2016-09-131-9/+6
| | | | | | The rauc build system now handles installation of service files. Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
* rauc: add support for new configure optionsEnrico Jorns2016-09-011-2/+4
| | | | | | | | | | --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>
* rauc: udpate to latest revisionEnrico Jorns2016-09-011-1/+1
| | | | Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
* rauc-native: move native deploy task to extra recipeEnrico Jorns2016-08-152-16/+14
| | | | | | | | | | | | | | | | | | | | | | | 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>
* rauc: fix RRECOMMENDS list for targetEnrico Jorns2016-08-081-1/+1
| | | | | | | packages mtd-utils and ${PN}-mark-good should extend and not replace squashfs-tools entry. Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
* rauc: fix PACKAGECONFIG for building native/nativesdk targetEnrico Jorns2016-07-081-0/+2
| | | | Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
* rauc: make service configurableJan Remmet2016-07-081-3/+12
| | | | | | | | | | | | 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: add mtd-utils to target RRECOMMENDSJan Remmet2016-07-081-0/+1
| | | | | | | 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: set IgnoreOnIsolate=true for rc-once.serviceMichael Olbrich2016-07-081-0/+1
| | | | | | | | | | | | 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>
* rauc: make squashfs-tools a runtime dependencyEnrico Jorns2016-06-291-1/+2
| | | | | | | | | | 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>
* rauc: enable to build for nativesdkEnrico Jorns2016-06-291-4/+4
| | | | | | | | 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>
* barebox-state: put dtblint into own packageJan Remmet2016-06-291-1/+2
| | | | Signed-off-by: Jan Remmet <j.remmet@phytec.de>
* rauc: update to latest revisionEnrico Joerns2016-06-101-1/+1
| | | | Signed-off-by: Enrico Joerns <mail@ejoerns.de>
* systemd: add rc-once mechanismEnrico Jorns2016-03-074-0/+148
| | | | | | | This allows to place skripts for initial execution after system install in ${sysconfdir}/rc.once.d/ Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
* rauc: Updated to latest versionEnrico Jorns2016-01-221-1/+1
| | | | Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
* rauc: At least print a log warning if system.conf is missingEnrico Jorns2016-01-221-1/+3
| | | | Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
* rauc: Introduce RAUC_KEYRING_FILE to specify keyring file pathEnrico Jorns2016-01-222-6/+13
| | | | | | | 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>
* rauc: Updated to latest revisionEnrico Jorns2016-01-221-1/+1
| | | | Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
* rauc_git: Change include to require to be more explicitEnrico Jorns2016-01-221-1/+1
| | | | Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
* rauc: place rauc binary in DEPLOY_DIR_TOOLS in native buildEnrico Jorns2016-01-221-1/+15
| | | | | | | 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>
* rauc: Auto-install all .pem files listed in SRC_URIEnrico Jorns2016-01-221-4/+5
| | | | | | They will be put in '${sysconfdir}/rauc/openssl-ca' Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
* rauc.inc: when building for the host, barebox-state is not a runtimeEnrico Jorns2016-01-221-0/+1
| | | | | | dependency Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
* rauc: use public git url from githubEnrico Jorns2016-01-221-1/+1
| | | | Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
* Create ptx-profile recipe and add to core-bootEnrico Jorns2016-01-223-0/+28
| | | | | | ptx-profile provides a profile.d config with some default aliases for ptx users Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
* Add barebox-state tool recipe for dt-utilsEnrico Jorns2016-01-222-0/+111
| | | | Signed-off-by: Enrico Jorns <ejo@pengutronix.de>