summaryrefslogtreecommitdiffstats
path: root/meta-agl-lxc/recipes-container/lxc-config/lxc-config-cluster-demo/network.in
blob: 573f4796d0873671b5cb64ac723e0cde01e47fa5 (plain)
1
2
3
# lxc network setting
lxc.net.0.type = empty
ight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"

DEPENDS += "kern-tools-native"

# Enable support for AR9271
SRC_URI_append = " file://ath9k_htc.cfg"

# Enable support for Bluetooth HCI USB devices
SRC_URI_append = " file://btusb.cfg"

# Enable support for Bluetooth HCI USB devices
SRC_URI_append = " file://btusb.cfg"

# Enable support for HID multitouch
SRC_URI_append = " file://hid.cfg"

# Enable support for RTLSDR
SRC_URI_append = " file://rtl_sdr.cfg"

# returns all the elements from the src uri that are .cfg files
def find_cfgs(d):
    sources=src_patches(d, True)
    sources_list=[]
    for s in sources:
        if s.endswith('.cfg'):
            sources_list.append(s)

    return sources_list

do_configure_prepend () { 
    cp -a ${WORKDIR}/defconfig .config
    merge_config.sh -m .config ${@" ".join(find_cfgs(d))} 
}