SimpleSwitch™ packages#
inherit simpleswitch-package
will turn a recipe into a SimpleSwitch™ package. This package can be used with simpleswitch-helper.
Options explained#
- SIMPLESWITCH_AUTOSTART
- SIMPLESWITCH_BIND_MOUNTS
- SIMPLESWITCH_CATEGORIES
- SIMPLESWITCH_CONFLICTS
- SIMPLESWITCH_CONTAINER_FORCED_ARCH_EXPAND
- SIMPLESWITCH_DEPENDENCIES
- SIMPLESWITCH_INSTALL_COMMAND
- SIMPLESWITCH_INSTALL_DEJAVU_FONTS_BASE
- SIMPLESWITCH_INSTALL_DEJAVU_FONTS_CONDENSED
- SIMPLESWITCH_INSTALL_DISPLAY_DRIVERS
- SIMPLESWITCH_LAUNCHER_SECTIONS
- SIMPLESWITCH_MAX_USER_SIZE
- SIMPLESWITCH_NO_SIMPLECOREIO
- SIMPLESWITCH_NO_SYSTEMD_NOTIFY
- SIMPLESWITCH_PACKAGE_ADDITIONAL_TERMS
- SIMPLESWITCH_PICTURE
- SIMPLESWITCH_RECOMMENDED
- SIMPLESWITCH_STARTUP_COMMAND
- SIMPLESWITCH_SUPERSEDEDBY
- SIMPLESWITCH_SYSTEM_REQUIREMENTS
- SIMPLESWITCH_UNINSTALL_COMMAND
- SIMPLESWITCH_VIDEO_LINK
- SIMPLESWITCH_XDG_RUNTIME_DIR
Install on the target#
After building the new SimpleSwitch™ package, you need to transfer the artifacts to the your device. On your computer run
$ package=<name of your SimpleSwitch™ package>
$ board_ip=<IP of your device>
$ scotty devtool simpleswitch-install-target ${package} ${board_ip}
$ package=<name of your SimpleSwitch™ package>
$ board_ip=<IP of your device>
$ devtool simpleswitch-install-target ${package} ${board_ip}
to uninstall a package run
$ package=<name of your SimpleSwitch™ package>
$ board_ip=<IP of your device>
$ scotty devtool simpleswitch-uninstall-target ${package} ${board_ip}
$ package=<name of your SimpleSwitch™ package>
$ board_ip=<IP of your device>
$ devtool simpleswitch-uninstall-target ${package} ${board_ip}
or to restore the factory default of the image, just run
$ package=<name of your SimpleSwitch™ package>
$ board_ip=<IP of your device>
$ scotty devtool simpleswitch-restore-target ${board_ip}
$ package=<name of your SimpleSwitch™ package>
$ board_ip=<IP of your device>
$ devtool simpleswitch-restore-target ${board_ip}
See also