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