Project

General

Profile

« Previous | Next » 

Revision db6e63dd

Added by Christian McDonald over 3 years ago

Revert "Fix RAM disk support for ZFS layout changes related to BEs. Fixes #13182"

This reverts commit b9097e4cfe3fcbdec86a00a5a470d93d05ea8102

View differences:

src/etc/inc/pkg-utils.inc
114 114
		}
115 115
	}
116 116

  
117
#	if (isset($config['system']['use_mfs_tmpvar']) &&
118
#	    !file_exists("/conf/ram_disks_failed")) {
119
#		$pkg_env_vars['PKG_DBDIR'] = '/root/var/db/pkg';
120
#		$pkg_env_vars['PKG_CACHEDIR'] = '/root/var/cache/pkg';
121
#	}
117
	if (isset($config['system']['use_mfs_tmpvar']) &&
118
	    !file_exists("/conf/ram_disks_failed")) {
119
		$pkg_env_vars['PKG_DBDIR'] = '/root/var/db/pkg';
120
		$pkg_env_vars['PKG_CACHEDIR'] = '/root/var/cache/pkg';
121
	}
122 122

  
123 123
	foreach ($extra_env as $key => $value) {
124 124
		$pkg_env_vars[$key] = $value;

Also available in: Unified diff