summaryrefslogtreecommitdiff
path: root/recipes-core/base-files/base-files
AgeCommit message (Collapse)Author
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-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)
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>
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-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-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>
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>