diff options
Diffstat (limited to 'meta/recipes-core/initrdscripts')
| -rw-r--r-- | meta/recipes-core/initrdscripts/files/init-live.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-core/initrdscripts/files/init-live.sh b/meta/recipes-core/initrdscripts/files/init-live.sh index 441b41c9d6..46cab6cc77 100644 --- a/meta/recipes-core/initrdscripts/files/init-live.sh +++ b/meta/recipes-core/initrdscripts/files/init-live.sh | |||
| @@ -84,6 +84,10 @@ boot_live_root() { | |||
| 84 | # device node creation events were handled, to avoid unexpected behavior | 84 | # device node creation events were handled, to avoid unexpected behavior |
| 85 | killall -9 "${_UDEV_DAEMON##*/}" 2>/dev/null | 85 | killall -9 "${_UDEV_DAEMON##*/}" 2>/dev/null |
| 86 | 86 | ||
| 87 | # Don't run systemd-update-done on systemd-based live systems | ||
| 88 | # because it triggers a slow rebuild of ldconfig caches. | ||
| 89 | touch ${ROOT_MOUNT}/etc/.updated ${ROOT_MOUNT}/var/.updated | ||
| 90 | |||
| 87 | # Allow for identification of the real root even after boot | 91 | # Allow for identification of the real root even after boot |
| 88 | mkdir -p ${ROOT_MOUNT}/media/realroot | 92 | mkdir -p ${ROOT_MOUNT}/media/realroot |
| 89 | mount -n --move "/run/media/${ROOT_DISK}" ${ROOT_MOUNT}/media/realroot | 93 | mount -n --move "/run/media/${ROOT_DISK}" ${ROOT_MOUNT}/media/realroot |
