summaryrefslogtreecommitdiff
path: root/recipes-core/fs-init/files
AgeCommit message (Collapse)Author
2017-02-08fs-init: do not reload daemon configurationStefan Agner
In case the resizefs.sh script ends quite fast, the system might still be in boot sequence. Removing a systemd service can be problematic in that case: It seems that systemd looses the state of .device units, and some services depend on such units (namely serial consoles such as serial-getty@ttymxc0.service). The following sequence shows this problem: Jan 12 00:16:45 apalis-imx6 sh[399]: Removed /etc/systemd/system/multi-user.target.wants/resizefs.service. Jan 12 00:16:45 apalis-imx6 systemd[1]: Reloading. Jan 12 00:16:45 apalis-imx6 root[704]: resizing mmcblk0p2 finished, new size is 3755M ... Jan 19 00:04:08 apalis-imx6 systemd[1]: dev-ttymxc0.device: Job dev-ttymxc0.device/start timed out. Jan 19 00:04:08 apalis-imx6 systemd[1]: Timed out waiting for device dev-ttymxc0.device. Jan 19 00:04:08 apalis-imx6 systemd[1]: Dependency failed for Serial Getty on ttymxc0. (the time has been updated between this to events, but that does not influence the issue) Using --no-reload avoids the "Reloading." message above and seems to not cause such issues anymore. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-02-08fs-init: remove duplicate resize scriptStefan Agner
The script used for all machines (e.g. T30) and the mx6 specific script are the very same scripts. Drop the mx6 specific script, with that the recipe will use the general scripts for all machines. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2015-10-28fs-init: start resizefs.service in multi-user.targetMax Krummenacher
Non graphical images will never execute graphical.target services.
2014-11-13apalis/colibri_t30: fix resizefsMarcel Ziswiler
2014-04-01resizefs.sh: add iMX6 specificsMax Krummenacher
2013-10-07resizefs.sh: start from current fs size, not from a constMax Krummenacher
2013-06-26fs-init: add recipe to extend rootfs partition on eMMCMax Krummenacher
- on Colbri/Apalis T30 the rootfs is downloaded in a minimum size. On first boot this filesystem is resized to fill its full partion. This slows down IO responsivness during the first 5 minutes.