# LXC config for WebKit on CCIMX95. # Placeholders are replaced by the image recipe. lxc.arch = @LXC_ARCH@ lxc.rootfs.path = dir:@LXC_FOLDER@/@CONTAINER_NAME@/rootfs lxc.uts.name = @CONTAINER_NAME@ lxc.mount.auto = cgroup:mixed proc:mixed lxc.mount.entry = /sys sys none bind,create=dir lxc.mount.entry = tmpfs run tmpfs rw,nosuid,nodev,mode=0755,create=dir # use host network lxc.net.0.type = none lxc.init.cmd = @CONTAINER_INIT_MANAGER@ @CONTAINER_INIT_SCRIPT@ lxc.console.logfile = @LXC_FOLDER@/@CONTAINER_NAME@/console.log lxc.environment = 'PS1=webkit-ccimx95:\w$ ' # audio lxc.mount.entry = /dev/snd dev/snd none bind,create=dir lxc.mount.entry = /etc/asound.conf etc/asound.conf none bind,create=file lxc.mount.entry = /run/pulse run/pulse none bind,create=dir lxc.environment = PULSE_SERVER=unix:/run/pulse/native # bluetooth lxc.mount.entry = /run/dbus/system_bus_socket run/dbus/system_bus_socket none bind,create=file # python logging lxc.mount.entry = /dev/log dev/log none bind,create=file lxc.mount.entry = /run/systemd/journal run/systemd/journal none bind,create=dir # fw_printenv lxc.mount.entry = /etc/fw_env.config etc/fw_env.config none bind,create=file lxc.mount.entry = /dev/mmcblk0boot0 dev/mmcblk0boot0 none bind,optional,create=file lxc.mount.entry = /dev/mmcblk0boot1 dev/mmcblk0boot1 none bind,optional,create=file # gpu for ccimx95 lxc.mount.entry = /dev/dri dev/dri none bind,create=dir lxc.mount.entry = /dev/galcore dev/galcore none bind,create=file lxc.mount.entry = /dev/fb0 dev/fb0 none bind,create=file lxc.mount.entry = /dev/input dev/input none bind,create=dir # tty lxc.mount.entry = /dev/tty dev/tty none bind,create=file lxc.mount.entry = /dev/tty0 dev/tty0 none bind,create=file lxc.mount.entry = /dev/tty1 dev/tty1 none bind,create=file lxc.mount.entry = /dev/tty7 dev/tty7 none bind,create=file # udev + pty lxc.mount.entry = /run/udev run/udev none bind,ro,create=dir lxc.pty.max = 1024 lxc.mount.entry = devpts dev/pts devpts rw,nosuid,noexec,relatime,mode=0620,ptmxmode=0666,newinstance 0 0 # gpiochip access for webkit demo # NEED TO BE UPDATED lxc.mount.entry = /dev/gpiochip5 dev/gpiochip5 none bind,create=file lxc.mount.entry = /dev/gpiochip5 dev/gpiochip5 none bind,create=file