Skip to content

The space is not enough for mock_chroot_tmpfs to build xenserver #678

Description

You can modify the file:

vi  /etc/mock/site-defaults.cfg

enable the plugin using this settings:

config_opts['plugin_conf']['tmpfs_enable'] = True
config_opts['plugin_conf']['tmpfs_opts'] = {}
config_opts['plugin_conf']['tmpfs_opts']['required_ram_mb'] = 1024
config_opts['plugin_conf']['tmpfs_opts']['max_fs_size'] = '768m'
config_opts['plugin_conf']['tmpfs_opts']['mode'] = '0755'
config_opts['plugin_conf']['tmpfs_opts']['keep_mounted'] = False

Note: change the size of 'max_fs_size':

config_opts['plugin_conf']['tmpfs_opts']['max_fs_size'] = '768m'

to

config_opts['plugin_conf']['tmpfs_opts']['max_fs_size'] = '2768m'

that's all~~~

hopefully it will be useful .

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions