summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/most/files/0001-aim-network-3.10.31-ltsi-backport.patch
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2017-11-05 12:56:07 +0100
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>2017-11-05 12:56:10 +0100
commit10c9f16b8853d0e4c2e75b4382122b6a6aa4a734 (patch)
tree0f5798e02307449a1ee2d6b160f509d1dd928ee7 /recipes-kernel/most/files/0001-aim-network-3.10.31-ltsi-backport.patch
parent3294d066144cc61df3717af95bca8032f8386375 (diff)
Allow SRCREV handling through poky-agl.confeel_4.99.2eel/4.99.24.99.2
This change simplifies the SRCREV handling by using - AGL_APP_REVISION and AGL_DEFAULT_REVISION in recipes. Also the AGL_BRANCH can be used to switch to release branches. Finally git checkouts should use https by default. Bug-AGL: SPEC-864 Change-Id: I2fdacda8fa7373f309a47db72ad40106ade53434 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'recipes-kernel/most/files/0001-aim-network-3.10.31-ltsi-backport.patch')
0 files changed, 0 insertions, 0 deletions
/a> 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167
{
	"name": "agl-qt-ivi-demo",
	"role": "ivi",
	"base": {
		"autoboot": false,
		"bootpriority": 10,
		"rootfs": {
			"path": "/opt/container/guests/agl-qt-ivi-demo/rootfs",
			"filesystem":	"ext4",
			"mode":		"rw",
			"blockdev": [
				"/dev/mmcblk0p6",
				"/dev/mmcblk0p6"
			]
		},
		"lifecycle": {
			"halt": "SIGRTMIN+3",
			"reboot": "SIGTERM",
			"timeout": 15000
		},
		"cap": {
			"drop": "sys_module mac_admin mac_override",
			"keep": ""
		},
		"environment": [
			"PIPEWIRE_RUNTIME_DIR=/var",
			"HOME=/home/root"
		]
	},
	"fs": {
		"mount": [
			{
				"type": 	"filesystem",
				"from": 	"tmpfs",
				"to":		"run",
				"fstype":	"tmpfs",
				"option": 	"defaults 0 0"
			},
			{
				"type": 	"directory",
				"from": 	"/sys/kernel/security",
				"to":		"sys/kernel/security",
				"fstype":	"none",
				"option": 	"ro,bind,optional 0 0"
			},
			{
				"type": 	"directory",
				"from": 	"/run/udev/data",
				"to":		"run/udev/data",
				"fstype":	"none",
				"option": 	"ro,bind,optional,create=dir"
			},
			{
				"type": 	"directory",
				"from": 	"/run/drm-lease-manager/lease-ivi",
				"to":		"var/display/drm-lease-manager/lease",
				"fstype":	"none",
				"option": 	"bind,create=file"
			},
			{
				"type": 	"directory",
				"from": 	"/run/pipewire/pipewire-0",
				"to":		"var/pipewire-0",
				"fstype":	"none",
				"option": 	"bind,optional,create=file"
			},
			{
				"type": 	"directory",
				"from": 	"/opt/container/guests/agl-qt-ivi-demo/system.conf",
				"to":		"etc/systemd/system.conf.d/10-environment.conf",
				"fstype":	"none",
				"option": 	"bind,optional,create=file"
			}
		]
	},
	"device": {
		"static": [
			{
				"type": 		"devdir",
				"from": 		"/dev/dri",
				"to":			"dev/dri",
				"devnode":		"/dev/dri/card0",
				"optional": 		0,
				"wideallow": 	1,
				"exclusive": 	0
			},
			{
				"type": 		"devdir",
				"from": 		"/dev/input",
				"to":			"dev/input",
				"devnode":		"/dev/input/event0",
				"optional": 		1,
				"wideallow": 	1,
				"exclusive": 	0
			}
		],
		"dynamic": [
			{
				"devpath": "/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/",
				"items": [
					{
						"subsystem": "usb",
						"rule": {
							"devtype": ["usb_device","usb_interface"],
							"action": ["add", "remove"]
						},
						"behavior": {
							"injection": 1,
							"devnode": 0,
							"allow": 0,
							"permission": "rw"
						}
					},
					{
						"subsystem": "block",
						"rule": {
							"action": ["add", "remove","change"],
							"extra" : [
								{
									"checker": "exclude-fs",
									"value": "ext4"
								}
							]
						},
						"behavior": {
							"injection": 1,
							"devnode": 0,
							"allow": 1,
							"permission": "rwm"
						}
					}
				]
			},
			{
				"devpath": "/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/",
				"items": [
					{
						"subsystem": "hid",
						"rule": {
							"action": ["add", "remove"]
						},
						"behavior": {
							"injection": 1,
							"devnode": 1,
							"allow": 1,
							"permission": "rw"
						}
					}
				]
			}
		]
	},
	"network": {
		"static": [
			{
				"type": 	"veth",
				"param": {
					"name":	"veth0",
					"link":	"lxcbr0",
					"flags":	"up",
					"hwaddr":	"00:16:3e:xx:xx:xx",
					"mode": "bridge"
				}
			}
		]
	}
}