aboutsummaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-09-06 09:57:31 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-09-06 09:57:33 +0100
commitd49ba0243e3d28672d16cd02753eb7e85d91bbab (patch)
treed3d10b4bcbcb90af0bdf9545eef2d6ee1f924aaa /meta
parent76ade5a2a55eda2975dfa5d6a30ac4cb74421567 (diff)
downloadopenembedded-core-d49ba0243e3d28672d16cd02753eb7e85d91bbab.tar.gz
openembedded-core-d49ba0243e3d28672d16cd02753eb7e85d91bbab.tar.bz2
openembedded-core-d49ba0243e3d28672d16cd02753eb7e85d91bbab.zip
utils: Drop obsolete oe_machinstall function
This function does something similar to the bitbake fetcher file search paths and is an old remnant of how this could have once been handled. There are no users in OE-Core and we'd always prefer the fetcher to handle this now as it handles signatures correctly. The direct OVERRIDES reference would likely break any user of the function. Remove it to be safe and ensure it isn't being used anywhere. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/utils.bbclass30
1 files changed, 0 insertions, 30 deletions
diff --git a/meta/classes/utils.bbclass b/meta/classes/utils.bbclass
index ab06019560..b4eb3d38ab 100644
--- a/meta/classes/utils.bbclass
+++ b/meta/classes/utils.bbclass
@@ -154,36 +154,6 @@ oe_libinstall() {
__runcmd cd "$olddir"
}
-oe_machinstall() {
- # Purpose: Install machine dependent files, if available
- # If not available, check if there is a default
- # If no default, just touch the destination
- # Example:
- # $1 $2 $3 $4
- # oe_machinstall -m 0644 fstab ${D}/etc/fstab
- #
- # TODO: Check argument number?
- #
- filename=`basename $3`
- dirname=`dirname $3`
-
- for o in `echo ${OVERRIDES} | tr ':' ' '`; do
- if [ -e $dirname/$o/$filename ]; then
- bbnote $dirname/$o/$filename present, installing to $4
- install $1 $2 $dirname/$o/$filename $4
- return
- fi
- done
-# bbnote overrides specific file NOT present, trying default=$3...
- if [ -e $3 ]; then
- bbnote $3 present, installing to $4
- install $1 $2 $3 $4
- else
- bbnote $3 NOT present, touching empty $4
- touch $4
- fi
-}
-
create_cmdline_wrapper () {
# Create a wrapper script where commandline options are needed
#