Skip to content

Commit 71b5c8c

Browse files
committed
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. #267
1 parent b9a0bd5 commit 71b5c8c

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

‎src/cmd/create.go‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -216,13 +216,6 @@ func createContainer(container, image, release string, showCommandToEnter bool)
216216

217217
dbusSystemSocketMountArg := dbusSystemSocket + ":" + dbusSystemSocket
218218

219-
flatpakHelperMonitorPath, err := utils.CallFlatpakSessionHelper()
220-
if err != nil {
221-
return err
222-
}
223-
224-
flatpakHelperMonitorMountArg := flatpakHelperMonitorPath + ":/run/host/monitor"
225-
226219
homeDirEvaled, err := filepath.EvalSymlinks(currentUser.HomeDir)
227220
if err != nil {
228221
return fmt.Errorf("failed to canonicalize %s", currentUser.HomeDir)
@@ -371,7 +364,6 @@ func createContainer(container, image, release string, showCommandToEnter bool)
371364
"--volume", "/tmp:/run/host/tmp:rslave",
372365
"--volume", "/var:/run/host/var:rslave",
373366
"--volume", dbusSystemSocketMountArg,
374-
"--volume", flatpakHelperMonitorMountArg,
375367
"--volume", homeDirMountArg,
376368
"--volume", toolboxPathMountArg,
377369
"--volume", usrMountArg,

0 commit comments

Comments
 (0)