{"action":"created","issue":{"url":"https://api.github.com/repos/genodelabs/genode/issues/2990","repository_url":"https://api.github.com/repos/genodelabs/genode","labels_url":"https://api.github.com/repos/genodelabs/genode/issues/2990/labels{/name}","comments_url":"https://api.github.com/repos/genodelabs/genode/issues/2990/comments","events_url":"https://api.github.com/repos/genodelabs/genode/issues/2990/events","html_url":"https://github.com/genodelabs/genode/issues/2990","id":361098614,"node_id":"MDU6SXNzdWUzNjEwOTg2MTQ=","number":2990,"title":"vfs_import copies to the root directory when inside a subdirectory","user":{"login":"NobodyIII","id":10506218,"node_id":"MDQ6VXNlcjEwNTA2MjE4","avatar_url":"https://avatars1.githubusercontent.com/u/10506218?v=4","gravatar_id":"","url":"https://api.github.com/users/NobodyIII","html_url":"https://github.com/NobodyIII","followers_url":"https://api.github.com/users/NobodyIII/followers","following_url":"https://api.github.com/users/NobodyIII/following{/other_user}","gists_url":"https://api.github.com/users/NobodyIII/gists{/gist_id}","starred_url":"https://api.github.com/users/NobodyIII/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NobodyIII/subscriptions","organizations_url":"https://api.github.com/users/NobodyIII/orgs","repos_url":"https://api.github.com/users/NobodyIII/repos","events_url":"https://api.github.com/users/NobodyIII/events{/privacy}","received_events_url":"https://api.github.com/users/NobodyIII/received_events","type":"User","site_admin":false},"labels":[{"id":203356,"node_id":"MDU6TGFiZWwyMDMzNTY=","url":"https://api.github.com/repos/genodelabs/genode/labels/feature","name":"feature","color":"1b7921","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-18T01:09:45Z","updated_at":"2018-09-18T10:07:32Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Currently, the vfs_import plugin always copies to the root directory, regardless of whether it is placed inside the root directory or inside a subdirectory. This is a big limitation that has kept me from using it to test my own VFS plugin, and is also highly counter-intuitive."},"comment":{"url":"https://api.github.com/repos/genodelabs/genode/issues/comments/422334763","html_url":"https://github.com/genodelabs/genode/issues/2990#issuecomment-422334763","issue_url":"https://api.github.com/repos/genodelabs/genode/issues/2990","id":422334763,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMjMzNDc2Mw==","user":{"login":"nfeske","id":1268399,"node_id":"MDQ6VXNlcjEyNjgzOTk=","avatar_url":"https://avatars1.githubusercontent.com/u/1268399?v=4","gravatar_id":"","url":"https://api.github.com/users/nfeske","html_url":"https://github.com/nfeske","followers_url":"https://api.github.com/users/nfeske/followers","following_url":"https://api.github.com/users/nfeske/following{/other_user}","gists_url":"https://api.github.com/users/nfeske/gists{/gist_id}","starred_url":"https://api.github.com/users/nfeske/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nfeske/subscriptions","organizations_url":"https://api.github.com/users/nfeske/orgs","repos_url":"https://api.github.com/users/nfeske/repos","events_url":"https://api.github.com/users/nfeske/events{/privacy}","received_events_url":"https://api.github.com/users/nfeske/received_events","type":"User","site_admin":false},"created_at":"2018-09-18T10:07:32Z","updated_at":"2018-09-18T10:07:32Z","author_association":"MEMBER","body":"Yes, the `<import>` node is only meant to reside within the `<vfs>` node directly. I see how this is a bit unintuitive but - in my opinion - it is not worth spending much effort in changing that.\r\n\r\nYou can already use the `<import>` plugin to populate any subdirectory in the VFS by using `<dir>` nodes inside the `<import>` node. E.g., the following example imports the ROM \"config\" into the `/tmp/` directory.\r\n\r\n```\r\n<vfs>\r\n  <dir name=\"tmp\"> <ram/> </dir>\r\n  <import>\r\n    <dir name=\"tmp\">\r\n      <rom name=\"config\"/>\r\n    </dir>\r\n  </import>\r\n</vfs>\r\n```"}}
{"actor":{"display_login":"nfeske"}}