The info was first added to bitbake-setup, but this is actually the
correct place to do it.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
def create_conf(self, confpath):
if not os.path.exists(confpath):
with open(confpath, 'w') as f:
- f.write('# Automated config file controlled by tools\n')
+ f.write("""# Automated config file controlled by tools
+#
+# Run 'bitbake-config-build enable-fragment <fragment-name>' to enable additional fragments
+# or replace built-in ones (e.g. machine/<name> or distro/<name> to change MACHINE or DISTRO).
+""")
with open(confpath, 'r') as f:
lines = f.read()
if "OE_FRAGMENTS += " not in lines: