Combine poky (Yocto scarthgap), meta-openembedded (scarthgap), and meta-openwrt into a single repository. Components: - poky/ Yocto core framework (BitBake + OE-Core) - meta-openembedded/ Community layers (meta-oe, meta-python, meta-networking) - meta-openwrt/ OpenWrt customization layer - setup-env.sh One-click build environment setup - README.md Project documentation
21 lines
428 B
Bash
Executable File
21 lines
428 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# set weston variables for use with global weston socket
|
|
global_socket="/run/wayland-0"
|
|
if [ -e "$global_socket" ]; then
|
|
weston_group=$(stat -c "%G" "$global_socket")
|
|
if [ "$(id -u)" = "0" ]; then
|
|
export WAYLAND_DISPLAY="$global_socket"
|
|
else
|
|
case "$(groups "$USER")" in
|
|
*"$weston_group"*)
|
|
export WAYLAND_DISPLAY="$global_socket"
|
|
;;
|
|
*)
|
|
;;
|
|
esac
|
|
fi
|
|
unset weston_group
|
|
fi
|
|
unset global_socket
|