[systemd-devel] howto migrate some things to systemd
r.schwebel at pengutronix.de
Mon Apr 18 13:33:50 PDT 2011
On Sat, Apr 16, 2011 at 08:41:07PM -1200, Kajikawa Jeremy wrote:
> I believe you can pre-set the systemd configuration for the target
> build and install systemd as you would anything else...
> but configure systemd to run with a read-only fs and deliberately
> "mount -t tmpfs <device> <mountpount> -o size=128MB" Â to provide
> some read-write space is what I would think to do...
> that way even with the one-time stuff it can be repeated on occasion
> without any real trickery being performed.
What Michael does within ptxdist  is that he builds a root filesystem
for embedded systems. Ptxdist outputs a completely compiletime built
root filesystem image which is then flashed into the device, i.e. in a
production scenario into hundrets or thousands of devices.
When these devices are then booted for the first time, they do things
like generating an SSH host key, which is then stored into the system.
Or, for quickboot scenarios, it does an automatic prelinking of all
This kind of actions makes it necessary that you have access to the
rootfilesystem itself, not only to some temporary ramdisk.
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the systemd-devel