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:
		
							parent
							
								
									b9a0bd5f0c
								
							
						
					
					
						commit
						71b5c8c0a2
					
				|  | @ -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, | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue