cmd/create: Don't set up org.freedesktop.Flatpak.SessionHelper

It's no longer used to keep /etc/localtime and /etc/timezone
synchronized with the host.

https://github.com/containers/toolbox/issues/267
This commit is contained in:
Debarshi Ray 2020-10-23 21:59:37 +02:00
parent b9a0bd5f0c
commit 71b5c8c0a2
1 changed files with 0 additions and 8 deletions

View File

@ -216,13 +216,6 @@ func createContainer(container, image, release string, showCommandToEnter bool)
dbusSystemSocketMountArg := dbusSystemSocket + ":" + dbusSystemSocket
flatpakHelperMonitorPath, err := utils.CallFlatpakSessionHelper()
if err != nil {
return err
}
flatpakHelperMonitorMountArg := flatpakHelperMonitorPath + ":/run/host/monitor"
homeDirEvaled, err := filepath.EvalSymlinks(currentUser.HomeDir)
if err != nil {
return fmt.Errorf("failed to canonicalize %s", currentUser.HomeDir)
@ -371,7 +364,6 @@ func createContainer(container, image, release string, showCommandToEnter bool)
"--volume", "/tmp:/run/host/tmp:rslave",
"--volume", "/var:/run/host/var:rslave",
"--volume", dbusSystemSocketMountArg,
"--volume", flatpakHelperMonitorMountArg,
"--volume", homeDirMountArg,
"--volume", toolboxPathMountArg,
"--volume", usrMountArg,