summaryrefslogtreecommitdiff
path: root/recipes-core
AgeCommit message (Collapse)Author
3 daysbase-files: make /media a symlink to /run/mediaHEADmasterHiago De Franco
Commit 77951705048f ("udev-extraconf: delete udev-extraconf_%.bbappend recipe") from meta-toradex-bsp-common sets the MOUNT_BASE variable to "/run/media". In this case, this folder will be the new mountpoint, previously "/media". Therefore, create a symlink from "/media" to "/run/media" to keep the functionality as before. Related-to: ELB-5714 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2022-10-14dropbear: dont set PACKAGECONFIG to emptyMing Liu
Directly set PACKAGECONFIG is risky, it could override the same variable in other layers, let's change to use PACKAGECONFIG:remove instead. Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit fb417309b02aeffb89f38e95af1f55d5419f7321)
2022-10-14glibc: clean-up unused recipeMarcel Ziswiler
Clean-up unused recipe. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit eeed965025c5abf5a6dd21f0711cc27c554f157b)
2022-07-18base-files: drop Toradex fstabMing Liu
We dont have to maintain a Toradex specific fstab, it leads we miss the latest updates in base base-files recipe. The only change we really want is a have a extra line in fstab to mount boot partition when system starts up, we can change to add one more udev rule to create a symbolic link /boot ->/media/BOOT-PARTITION-MOUNTPOINT in BSP layer instead, hence we can drop this fstab here. Signed-off-by: Ming Liu <ming.liu@toradex.com>
2022-03-29base-files: dont install wayland-env.shMing Liu
It's been handled in weston-init recipe of meta-toradex-nxp layer, drop a duplicated weston env file. Related-to: ELB-3477 Signed-off-by: Ming Liu <ming.liu@toradex.com>
2021-11-16packagegroup-dotnet-core: Mark as TUNE_PKGARCH specificMax Krummenacher
openembedded-core, commit 5bf3e447d2 ("package: Add sanity check for allarch packagegroups") added a check which now emits an error. Fix that. | ERROR: packagegroup-dotnet-core-1.0-r0 do_package_write_ipk: An allarch packagegroup shouldn't depend on packages which are dynamically renamed (libcurl to libcurl4) Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-08-14layer: convert to new override syntaxMax Krummenacher
This is the result of automated script (0.9.3) conversion: +# meta-toradex-distro +vars = vars + ["preempt-rt","tdx","upstream"] +# meta-toradex-* machines +vars = vars + ["apalis-","colibri-","verdin-","tegra124"] +# meta-freescale +vars = vars + ["imx","mx6","mx7","mx8","use-mainline-bsp","use-nxp-bsp"] ../openembedded-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-07-18core: set-hostname: skip installing /etc/hostnameOleksandr Suvorov
The systemd service set-hostname starts only if /etc/hostname file does not exist. Don't install this file if the set-hostname recipe enabled and systemd sets as a default init-system. Related-to: ELB-1322 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> (cherry picked from commit 2b41160a098d5cc1ad3e5155e57bede7ce34ca48)
2021-05-24dropbear: allow weak ciphers when debug-tweaks is setMax Krummenacher
Related-to: ELB-3908 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 08f3c7a36539dbe2760e0500c7c460dbcd48be4d)
2021-05-24dropbear: drop no longer referenced patchMax Krummenacher
Note that later versions of dropbear default to not do reverse lookups. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit ee43d6a6132bbd45696586fac1f68f5af32d5687)
2021-03-23base-files: enable wayland environment in /etc/profile.dDenys Drozdov
The user running ssh session should be able to run wayland application. Add proper XDG settings, once user logged in /etc/profile.d/wayland-env.sh Related-to: ELB-3448 Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com> (cherry picked from commit 82e3d7b2b56fccabcd52708314acc9dfd6bb24d1)
2021-03-23fstab: mount the partition with the boot files at /bootMax Krummenacher
Mount the partition /dev/boot-part on /boot. This requires the help of udev/scripts/mount.sh. The script checks the /proc/cmdline for the rootfs partition. If this is the second partition of a block device and a first partition exists it creates the symlink /dev/boot-part. This reverts the previous mounting scheme which unconditionally mounted the first eMMC partition at /boot, independent of the eMMC being the actual device one booted from. commit 38705bd ("fstab: configure the emmc's first partition to mount at /boot") Related-to: ELB-3323 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 3bb042fc4cf0254ca9630b43a3f604176c540aaf)
2021-03-23fstab: resync with openembedded-coreMax Krummenacher
Follow the following two oe-core commits with our forked fstab file. c999bc5ddd ("base-files: set ptmxmode to 666") c24f0fa366 ("base-files: Remove /proc/bus/usb from fstab.") Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 9c5431a22bb2e7b31280642ba866e9aec6a52b75)
2020-12-10fstab: configure the emmc's first partition to mount at /bootMax Krummenacher
With the noauto option this does nothing on boot. When the device appears the udev rules does first try to use the fstab options before trying to automount. If the device does not exist the extra line in fstab has no effect. Related-to: ELB-3250 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 38705bdc1ff671597680c5a9c9d1a76822bb5620)
2020-06-17timestamp-service: some cleaning upMing Liu
- Drop deprecated NATIVE_SYSTEMD_SUPPORT. - Drop redundant FILES_${PN}. - Drop do_compile, base_do_compile would be good enough. Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit 4df24cc1da205dc68e4815469d7bb2f64d6bf0a0)
2019-12-03tdx-extra: use new versioningStefan Agner
Drop PV to denote the image version. Using timestamps in PV causes various issues. The image PV has not much meaning other than it has been used by the Tezi image class. Sidestep by using DISTRO_VERSION directly in the Tezi image class. See also: http://lists.openembedded.org/pipermail/openembedded-core/2019-November/289765.html Also only write /etc/issue in the do_rootfs task instead of writing it in base-files first and then change it in do_rootfs. We sligtly alter the login banner: Before: TDX X11 2.6-snapshot colibri-imx7-emmc ttymxc0 Colibri-iMX7-eMMC_Console-Image 3.0b2.65 20190830 With this change: TDX X11 0.0.0-dev-20191103+build.12 (zeus) colibri-imx7-emmc ttymxc0 Colibri-iMX7-eMMC_Console-Image Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2019-07-01base-files: rework /etc/profileMax Krummenacher
Put the changes we want to make to the default into scripts in /etc/profile.d and keep the openembedded-core provided /etc/profile. This keeps the maintained version of /etc/profile rather than having to manually merge in fixes from the openembedded layer. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-03-06timestamp-service: import from angstromMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-03-06busybox: rework to use config fragment for resizeMax Krummenacher
Thus we keep the openembedded defconfig with changes due to version updates or changed system policies. The defconfig's only change is CONFIG_RESIZE when compared to the upstream defconfig around the time of the fork: http://cgit.openembedded.org/openembedded-core/plain/meta/recipes-core/busybox/busybox/defconfig?h=dizzy&id=ad1a50a549377a0a74c51e20e53f146011e6c269 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-03-06Revert "busybox: remove busybox syslog from RRECOMMENDS"Max Krummenacher
This reverts commit 9e6dbea0a9590c87d1b6ca0bd20b561eaa1307cf. openembedded-core commit 544ade2d78f1375d9e93d6bf5842d857ddaf3530 dropped the RRECOMMENDS setting, so this is no longer needed. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-03-06systemd: rework packageconfig for meson buildMax Krummenacher
The upstream systemd recipe now uses meson to build systemd. Follow the changed config syntax. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-12-22glibc: no longer mess with memcpyMax Krummenacher
On the Tegras not using NEON for memcpy resulted in higher memory bandwidth. Let's verify this before forward porting the patch. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-10-03packagegroup-dotnet-core: introduce packagegroup for .NET Core dependenciesStefan Agner
Introduce packagegroup which contains the dependencies required to use the .NET Core runtime. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-10-03fstab: add noatime to rootfs mount flagsStefan Agner
We rely on the init system to remount the root file system read-only, which makes the mount flags for the rootfs in fstab relevant. Since we run on flash drives minimize write cycles by disabling atime by by default. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-06-30systemd: Add a acl packageconfigBhuvanchandra DV
We found that having ACL enabled in systemd on a ubifs adversely affects power cut resilience. Currently systemd is unconditionally enabled in a systemd build. Add a acl packageconfig option, but do not enable it. Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-06-30profile: disable systemd color outputStefan Agner
By default systemd utilities use escape sequences to produce colored output. But systemd also uses less as a pager. The less command provided in the Toradex demo images is provided by BusyBox, which does not support color escape sequences. Disable colored output altogether. This makes output of journalctl much more readable. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-04-07meta-toradex-demo: clean-up whitespace useMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-01-11readline: follow moved inputrc into readlineMax Krummenacher
Commit 619d15b9a2c53eb8496c807f0f229f5cb192e9d7 in openembedded-core moves the inputrc file from the base-files to the readline recipe. Follow that move with our *.bbappend. This fixes <HOME>, <END> not working as expected on a serial console. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>
2017-01-10profile: redirect resize output to /dev/nullMax Krummenacher
oe-core included resize in their profile too. Synchronize with the OE solution which already does the redirect. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>
2017-01-10systemd/rndis.network: don't emit server addressesMax Krummenacher
Don't emit DNS/NTP/Router/Timezone servers addresses to the RNDIS client. We expect RNDIS to be used as a service/debug interface to connect to a module. For this we do not want to reconfigure the connecting device with the modules setup. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>
2017-01-10glibc bbappend: use version wildcardMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>
2017-01-10base-files: don't provide resolv.confMax Krummenacher
avoid clash with systemd provided resolv.conf Collected errors: * check_data_file_clashes: Package systemd wants to install file ../resolv.conf But that file is already provided by package base-files Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>
2016-09-29systemd-compat-units: mv all systemd bbappends under recipes-coreMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2016-09-29systemd: split bbappend to only change demo layer releated rndisMax Krummenacher
The BSP should automount for all users. The Demo Software Layers cares for RNDIS. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2016-09-28base-files: mv all files into recipes-core/base-filesMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>
2016-03-30psplash-angstrom_git.bbappend: removed, *.bb no longer existsMax Krummenacher
2016-03-14glibc bbappend: follow version upgradeMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2015-11-10glibc_2.21: force memcpy_arm to improve memcpy performanceMax Krummenacher
A meta-toolchain build or a build which does not use the angstrom distro builds glibc_2.21 rather than glibc_linaro-2.20. The patch to not use the slower memcpy implemented for NEON does not apply cleanly for both versions of glibc. This adds a bbappend for glibc_2.21 forcing memcpy_arm.
2015-11-10glibc: apply bbappend only to linaro_2.20Max Krummenacher
0001-memcpy-don-t-use-optimized-for-VFP-NEON-versions.patch applies not to oe glibc_2.21
2015-10-29systemd-udevd.service.in: set MountFlags=sharedMax Krummenacher
2015-10-28glibc: force memcpy_arm to improve memcpy performanceMax Krummenacher
2015-08-07Revert "systemd: restore userspace firmware loading support"Max Krummenacher
This reverts commit bd2d32bf3a8460c87849e75ad01e11450d8cda10. Remove the backport, is part of fido.
2015-05-18Revert "systemd-machine-id-commit: add standalone recipe"Max Krummenacher
Angstom Dizzy now uses systemd V218 so there is no need to build a component seperately anymore. This reverts commit 16b8b392ad048566729f30d7c3887d1bfdf21bd4.
2015-05-18systemd: restore userspace firmware loading supportJonathan Liu
This changes the minimum required Linux version from 3.7 back to 3.0. [YOCTO #7409] Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> backported from openembedded-core, commit 31163abc7bedd477c1aad10e6d1f47dbee194513
2015-05-18Revert "systemd: fix DHCP on link state change"Max Krummenacher
This reverts commit 3cf2edb10f5e8ac60db7ca2e71d1e754a177d08c. Conflicts: recipes-core/systemd/systemd_%.bbappend
2015-05-12systemd: add networkd for RNDIS configurationStefan Agner
Since Connman is better suited for more advanced Wireless solutions, we keep Connman for the main network configuration manager. However, for the simple RNDIS debug/test configuration, Connman is not well suited since Connman tries to maintain one connection only at any given time. This change enables networkd and adds a simple standard configuration for USB/RNDIS network devices.
2015-05-12systemd: fix DHCP on link state changeStefan Agner
When the link goes down, the DHCP service has been disabled, while there is no corresponding functionality which enables the service when the link goes up again. This fix is taken from systemd 217.
2015-05-12busybox: enable resize commandStefan Agner
This enables the resize command in Busybox. The command is useful when using the serial console and a non-standard terminal sizes.
2015-05-12busybox: remove busybox syslog from RRECOMMENDSMax Krummenacher
we don't want busybox syslog as we use the functionality of journalctl
2015-03-31dropbear: remove unused bbappendMax Krummenacher