switchroot/remount: Trim set of remounted filesystems
I really have no idea what I was thinking with that list of mount points. It seems arbitrary. Sadly `git log` doesn't help, and there's no comments. Basically, the only mounts we should care about are those that libostree creates. Which are just `/sysroot` and `/var`. Systemd will handle the other things like `/tmp`, it's not our job, and we shouldn't touch them. Closes: #859 Approved by: jlebon
This commit is contained in:
parent
19827a9965
commit
f21f500e40
|
|
@ -41,7 +41,7 @@
|
||||||
int
|
int
|
||||||
main(int argc, char *argv[])
|
main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
const char *remounts[] = { "/sysroot", "/etc", "/home", "/root", "/tmp", "/var", NULL };
|
const char *remounts[] = { "/sysroot", "/var", NULL };
|
||||||
struct stat stbuf;
|
struct stat stbuf;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue