pmbootstrap/pmb/config
Oliver Smith 4e665a2190
Recreate device nodes in chroot after shutdown (#1447)
Device nodes in the chroots get created in a tmpfs, so they can be
created even if the filesystem where the chroot resides does not
support device nodes (#1317). In "pmbootstrap shutdown" we umount the
`dev` folder, which means all device nodes that were created inside
this folder are gone. This commit changes the code to actually recreate
the device nodes when using the chroot again.

Details:
* move `pmb.chroot.init.create_device_nodes` to
  `pmb.chroot.mount.crete_device_nodes`
* don't call it in `pmb.chroot.init()` anymore, but in
  `pmb.chroot.mount_dev_tmpfs()`
* Create the `null` device as well (`apk --initdb` also creates it on
  `init`, but we don't call it after `shutdown`)
2018-04-29 22:17:57 +00:00
..
__init__.py Recreate device nodes in chroot after shutdown (#1447) 2018-04-29 22:17:57 +00:00
init.py Ask to copy SSH public keys during init (#1394) 2018-04-08 14:12:01 +00:00
load.py Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00
merge_with_args.py Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00
save.py Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00