Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fe4f5a1e authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Add /mnt/vm and mount tmpfs onto it for early VM" into main

parents a7f7f406 b6e4179d
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -648,6 +648,14 @@ on late-fs
    chmod 0755 /sys/kernel/tracing
    chmod 0755 /sys/kernel/debug/tracing

    # Early HALs may use early VM. Mount /mnt/vm before starting such HALs.
    mkdir /mnt/vm 0755 root root
    mount tmpfs tmpfs /mnt/vm nosuid nodev noexec rw
    restorecon /mnt/vm
    chown system system /mnt/vm
    chmod 0770 /mnt/vm
    mkdir /mnt/vm/early 0770 system system

    # HALs required before storage encryption can get unlocked (FBE)
    class_start early_hal