Skip to content

Adding Theme to MiniMyth2

Piotr Oniszczuk edited this page May 14, 2020 · 1 revision

Theme Archive Preparation

OVERVIEW

For saving Minimyth2 image size, image file has included only one theme: ‘MediaCenter-wide’. This theme is auto-selected when used not configures/provides their’s own favorite theme. MythCenter-wide is very basic theme and if user want to use its own theme, following steeps needs to be done:

  1. Theme should be compressed in sfs archive
  2. Theme.sfs file should be named and placed in /var/lib/tftpboot/PXEclient/conf/default/themes/ as Default.sfs
  3. Alternatively, user can configure particular theme in minimyth.conf file. In such cases variable MM_THEME_NAME="<theme name>" should contain theme name, while variable MM_THEME_URL="<theme URL>" should point to place from where Minimyth2 will download theme.

Creating theme archive

For creating theme archive, mksquashfs tool is needed. Procedure is following:

  1. cd <root dir of theme>
  2. mksquashfs ./ <theme name>.sfs