mirror of
https://git.yoctoproject.org/poky
synced 2026-02-07 01:06:37 +01:00
This ensures any configuration changes made in the GUI are only set when using hob. The default hob.local.conf is generated with a line which adds image_types to INHERITS so that the GUI can introspect the available FSTYPES. (From OE-Core rev: 23335d6c7b62899d2d7336d0c07d7ee2aa6c4ed1) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 lines
418 B
Bash
Executable File
19 lines
418 B
Bash
Executable File
#!/usr/bin/env bash
|
|
if ! (test -r "$BUILDDIR/conf/hob.local.conf"); then
|
|
cat <<EOM
|
|
You had no conf/hob.local.conf file. An initial version of this configuration
|
|
file has therefore been created for you. This file will be used to store any
|
|
configuration values you set in hob.
|
|
|
|
EOM
|
|
(cat <<EOF
|
|
INHERIT += "image_types"
|
|
EOF
|
|
) > conf/hob.local.conf
|
|
fi
|
|
|
|
bitbake -R conf/hob.local.conf -t xmlrpc -u hob
|
|
|
|
ret=$?
|
|
exit $ret
|