Age | Commit message (Collapse) | Author |
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
|