2008-08-25 20:53:13 +00:00
|
|
|
#
|
|
|
|
# Creates a root filesystem out of rpm packages
|
|
|
|
#
|
|
|
|
|
2012-11-30 18:59:39 +00:00
|
|
|
ROOTFS_PKGMANAGE = "rpm smartpm"
|
2011-07-07 16:39:32 +00:00
|
|
|
|
2012-11-30 18:59:39 +00:00
|
|
|
# Add 50Meg of extra space for Smart
|
|
|
|
IMAGE_ROOTFS_EXTRA_SPACE_append = "${@base_contains("PACKAGE_INSTALL", "smartpm", " + 51200", "" ,d)}"
|
2011-07-07 16:39:32 +00:00
|
|
|
|
2012-11-29 15:43:16 +00:00
|
|
|
# Smart is python based, so be sure python-native is available to us.
|
|
|
|
EXTRANATIVEPATH += "python-native"
|
|
|
|
|
2011-01-28 17:57:23 +00:00
|
|
|
# Postinstalls on device are handled within this class at present
|
|
|
|
ROOTFS_PKGMANAGE_BOOTSTRAP = ""
|
2008-08-25 20:53:13 +00:00
|
|
|
|
2010-07-20 19:57:19 +00:00
|
|
|
do_rootfs[depends] += "rpm-native:do_populate_sysroot"
|
2012-07-23 09:43:22 +00:00
|
|
|
do_rootfs[depends] += "rpmresolve-native:do_populate_sysroot"
|
2012-11-29 15:43:16 +00:00
|
|
|
do_rootfs[depends] += "python-smartpm-native:do_populate_sysroot"
|
2008-10-31 16:23:11 +00:00
|
|
|
|
|
|
|
# Needed for update-alternatives
|
2009-11-10 14:55:23 +00:00
|
|
|
do_rootfs[depends] += "opkg-native:do_populate_sysroot"
|
2008-10-31 16:23:11 +00:00
|
|
|
|
2011-01-18 10:00:29 +00:00
|
|
|
# Creating the repo info in do_rootfs
|
2012-08-01 09:14:53 +00:00
|
|
|
do_rootfs[depends] += "createrepo-native:do_populate_sysroot"
|
2011-01-18 10:00:29 +00:00
|
|
|
|
2008-08-25 20:53:13 +00:00
|
|
|
do_rootfs[recrdeptask] += "do_package_write_rpm"
|
2013-03-07 03:26:13 +00:00
|
|
|
rootfs_rpm_do_rootfs[vardepsexclude] += "BUILDNAME"
|
2008-08-25 20:53:13 +00:00
|
|
|
|
2012-11-29 15:43:16 +00:00
|
|
|
RPM_PREPROCESS_COMMANDS = "package_update_index_rpm; "
|
|
|
|
RPM_POSTPROCESS_COMMANDS = "rpm_setup_smart_target_config; "
|
2010-09-02 18:28:37 +00:00
|
|
|
|
2010-09-01 21:04:45 +00:00
|
|
|
rpmlibdir = "/var/lib/rpm"
|
2010-08-26 04:39:07 +00:00
|
|
|
opkglibdir = "${localstatedir}/lib/opkg"
|
|
|
|
|
2012-11-29 15:43:16 +00:00
|
|
|
RPMOPTS="--dbpath ${rpmlibdir}"
|
2010-09-03 17:43:41 +00:00
|
|
|
RPM="rpm ${RPMOPTS}"
|
2010-09-01 21:04:45 +00:00
|
|
|
|
2010-10-07 14:41:17 +00:00
|
|
|
# RPM doesn't work with multiple rootfs generation at once due to collisions in the use of files
|
|
|
|
# in ${DEPLOY_DIR_RPM}. This can be removed if package_update_index_rpm can be called concurrently
|
|
|
|
do_rootfs[lockfiles] += "${DEPLOY_DIR_RPM}/rpm.lock"
|
|
|
|
|
2008-08-25 20:53:13 +00:00
|
|
|
fakeroot rootfs_rpm_do_rootfs () {
|
2008-10-07 16:47:22 +00:00
|
|
|
${RPM_PREPROCESS_COMMANDS}
|
2008-08-25 20:53:13 +00:00
|
|
|
|
2011-08-01 16:56:37 +00:00
|
|
|
# install packages
|
|
|
|
# This needs to work in the same way as populate_sdk_rpm.bbclass!
|
|
|
|
export INSTALL_ROOTFS_RPM="${IMAGE_ROOTFS}"
|
2013-02-21 23:18:29 +00:00
|
|
|
export INSTALL_PLATFORM_RPM="$(echo ${TARGET_ARCH} | tr - _)${TARGET_VENDOR}-${TARGET_OS}"
|
2011-11-08 06:19:37 +00:00
|
|
|
export INSTALL_PACKAGES_RPM="${PACKAGE_INSTALL}"
|
2011-08-01 17:34:51 +00:00
|
|
|
export INSTALL_PACKAGES_ATTEMPTONLY_RPM="${PACKAGE_INSTALL_ATTEMPTONLY}"
|
|
|
|
export INSTALL_PACKAGES_LINGUAS_RPM="${LINGUAS_INSTALL}"
|
|
|
|
export INSTALL_PROVIDENAME_RPM=""
|
|
|
|
export INSTALL_TASK_RPM="rootfs_rpm_do_rootfs"
|
Rework installation of dev, dbg, doc, and locale packages
Use a similar mechanism that was previously used to install locales at
rootfs generation time to install other "complementary" packages (e.g.
*-dev packages) - i.e. install all of the explicitly requested packages
and their dependencies, then get a list of the packages that were
installed, and use that list to install the complementary packages. This
has been implemented by using a list of globs which should make it
easier to extend in future.
The previous locale package installation code assumed that the locale
packages did not have any dependencies that were not already installed;
now that we are installing non-locale packages this is no longer
correct. In practice only the rpm backend actually made use of this
assumption, so it needed to be changed to call into the existing package
backend code to do the complementary package installation rather than
calling rpm directly.
This fixes the doc-pkgs IMAGE_FEATURES feature to work correctly, and
also ensures that all dev/dbg packages get installed for
dev-pkgs/dbg-pkgs respectively even if the dependency chains between
those packages was not ensuring that already.
The code has also been adapted to work correctly with the new
SDK-from-image functionality. To that end, an SDKIMAGE_FEATURES variable
has been added to allow specifying what extra image features should go
into the SDK (extra, because by virtue of installing all of the packages
in the image into the target part of the SDK, we already include all of
IMAGE_FEATURES) with a default value of "dev-pkgs dbg-pkgs".
Fixes [YOCTO #2614].
(From OE-Core rev: 72d1048a8381fa4a8c4c0d082047536727b4be47)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-09 13:15:08 +00:00
|
|
|
export INSTALL_COMPLEMENTARY_RPM=""
|
2011-08-01 16:56:37 +00:00
|
|
|
|
2010-07-20 19:57:19 +00:00
|
|
|
# Setup base system configuration
|
2011-08-01 16:56:37 +00:00
|
|
|
mkdir -p ${INSTALL_ROOTFS_RPM}/etc/rpm/
|
2011-01-28 01:13:01 +00:00
|
|
|
|
2011-02-16 04:56:13 +00:00
|
|
|
# List must be prefered to least preferred order
|
2013-02-20 19:31:11 +00:00
|
|
|
default_extra_rpm=""
|
2011-02-25 23:31:50 +00:00
|
|
|
INSTALL_PLATFORM_EXTRA_RPM=""
|
2013-02-21 23:18:29 +00:00
|
|
|
for os in ${MULTILIB_OS_LIST} ; do
|
2012-11-30 22:11:37 +00:00
|
|
|
old_IFS="$IFS"
|
|
|
|
IFS=":"
|
2013-02-21 23:18:29 +00:00
|
|
|
set -- $os
|
2012-11-30 22:11:37 +00:00
|
|
|
IFS="$old_IFS"
|
2013-02-20 19:31:11 +00:00
|
|
|
mlib=$1
|
2013-02-21 23:18:29 +00:00
|
|
|
mlib_os=$2
|
|
|
|
for prefix in ${MULTILIB_PREFIX_LIST} ; do
|
|
|
|
old_IFS="$IFS"
|
|
|
|
IFS=":"
|
|
|
|
set -- $prefix
|
|
|
|
IFS="$old_IFS"
|
|
|
|
if [ "$mlib" != "$1" ]; then
|
|
|
|
continue
|
2013-02-20 19:31:11 +00:00
|
|
|
fi
|
2013-02-21 23:18:29 +00:00
|
|
|
shift #remove mlib
|
|
|
|
while [ -n "$1" ]; do
|
|
|
|
platform="$(echo $1 | tr - _)-.*-$mlib_os"
|
|
|
|
if [ "$mlib" = "${BBEXTENDVARIANT}" ]; then
|
|
|
|
default_extra_rpm="$default_extra_rpm $platform"
|
|
|
|
else
|
|
|
|
INSTALL_PLATFORM_EXTRA_RPM="$INSTALL_PLATFORM_EXTRA_RPM $platform"
|
|
|
|
fi
|
|
|
|
shift
|
|
|
|
done
|
2012-11-30 22:11:37 +00:00
|
|
|
done
|
2011-02-16 04:56:13 +00:00
|
|
|
done
|
2013-02-20 19:31:11 +00:00
|
|
|
if [ -n "$default_extra_rpm" ]; then
|
|
|
|
INSTALL_PLATFORM_EXTRA_RPM="$default_extra_rpm $INSTALL_PLATFORM_EXTRA_RPM"
|
|
|
|
fi
|
2013-01-08 08:37:51 +00:00
|
|
|
export INSTALL_PLATFORM_EXTRA_RPM
|
2011-02-16 04:56:13 +00:00
|
|
|
|
2011-01-30 06:07:50 +00:00
|
|
|
package_install_internal_rpm
|
2010-07-20 19:57:19 +00:00
|
|
|
|
Rework installation of dev, dbg, doc, and locale packages
Use a similar mechanism that was previously used to install locales at
rootfs generation time to install other "complementary" packages (e.g.
*-dev packages) - i.e. install all of the explicitly requested packages
and their dependencies, then get a list of the packages that were
installed, and use that list to install the complementary packages. This
has been implemented by using a list of globs which should make it
easier to extend in future.
The previous locale package installation code assumed that the locale
packages did not have any dependencies that were not already installed;
now that we are installing non-locale packages this is no longer
correct. In practice only the rpm backend actually made use of this
assumption, so it needed to be changed to call into the existing package
backend code to do the complementary package installation rather than
calling rpm directly.
This fixes the doc-pkgs IMAGE_FEATURES feature to work correctly, and
also ensures that all dev/dbg packages get installed for
dev-pkgs/dbg-pkgs respectively even if the dependency chains between
those packages was not ensuring that already.
The code has also been adapted to work correctly with the new
SDK-from-image functionality. To that end, an SDKIMAGE_FEATURES variable
has been added to allow specifying what extra image features should go
into the SDK (extra, because by virtue of installing all of the packages
in the image into the target part of the SDK, we already include all of
IMAGE_FEATURES) with a default value of "dev-pkgs dbg-pkgs".
Fixes [YOCTO #2614].
(From OE-Core rev: 72d1048a8381fa4a8c4c0d082047536727b4be47)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-09 13:15:08 +00:00
|
|
|
rootfs_install_complementary
|
|
|
|
|
2008-09-03 23:22:06 +00:00
|
|
|
export D=${IMAGE_ROOTFS}
|
|
|
|
export OFFLINE_ROOT=${IMAGE_ROOTFS}
|
|
|
|
export IPKG_OFFLINE_ROOT=${IMAGE_ROOTFS}
|
|
|
|
export OPKG_OFFLINE_ROOT=${IMAGE_ROOTFS}
|
2008-08-25 20:53:13 +00:00
|
|
|
|
|
|
|
${ROOTFS_POSTINSTALL_COMMAND}
|
2008-09-03 23:22:06 +00:00
|
|
|
|
2011-11-10 16:30:21 +00:00
|
|
|
# Report delayed package scriptlets
|
|
|
|
for i in ${IMAGE_ROOTFS}/etc/rpm-postinsts/*; do
|
2012-09-26 09:22:16 +00:00
|
|
|
if [ -f $i ]; then
|
|
|
|
echo "Delayed package scriptlet: `head -n 3 $i | tail -n 1`"
|
|
|
|
fi
|
2008-09-03 23:22:06 +00:00
|
|
|
done
|
2008-08-25 20:53:13 +00:00
|
|
|
|
|
|
|
install -d ${IMAGE_ROOTFS}/${sysconfdir}
|
|
|
|
echo ${BUILDNAME} > ${IMAGE_ROOTFS}/${sysconfdir}/version
|
|
|
|
|
2008-10-07 16:21:25 +00:00
|
|
|
${RPM_POSTPROCESS_COMMANDS}
|
2008-08-25 20:53:13 +00:00
|
|
|
${ROOTFS_POSTPROCESS_COMMAND}
|
2013-02-12 16:12:38 +00:00
|
|
|
|
|
|
|
if ${@base_contains("IMAGE_FEATURES", "read-only-rootfs", "true", "false" ,d)}; then
|
|
|
|
if [ -d ${IMAGE_ROOTFS}/etc/rpm-postinsts ] ; then
|
|
|
|
if [ "`ls -A ${IMAGE_ROOTFS}/etc/rpm-postinsts`" != "" ] ; then
|
|
|
|
bberror "Some packages could not be configured offline and rootfs is read-only."
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
2008-08-25 20:53:13 +00:00
|
|
|
rm -rf ${IMAGE_ROOTFS}/var/cache2/
|
|
|
|
rm -rf ${IMAGE_ROOTFS}/var/run2/
|
|
|
|
rm -rf ${IMAGE_ROOTFS}/var/log2/
|
|
|
|
|
2008-10-03 15:23:05 +00:00
|
|
|
# remove lock files
|
2010-09-01 21:04:45 +00:00
|
|
|
rm -f ${IMAGE_ROOTFS}${rpmlibdir}/__db.*
|
2008-10-03 15:23:05 +00:00
|
|
|
|
2011-01-05 18:56:47 +00:00
|
|
|
# Remove all remaining resolver files
|
2011-01-06 00:45:56 +00:00
|
|
|
rm -rf ${IMAGE_ROOTFS}/install
|
2008-10-07 15:34:55 +00:00
|
|
|
|
2009-11-16 10:51:24 +00:00
|
|
|
log_check rootfs
|
2008-08-25 20:53:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
remove_packaging_data_files() {
|
2012-06-07 23:37:10 +00:00
|
|
|
# Save the rpmlib for increment rpm image generation
|
|
|
|
t="${T}/saved_rpmlib/var/lib"
|
|
|
|
rm -fr $t
|
|
|
|
mkdir -p $t
|
|
|
|
mv ${IMAGE_ROOTFS}${rpmlibdir} $t
|
2010-08-26 04:39:07 +00:00
|
|
|
rm -rf ${IMAGE_ROOTFS}${opkglibdir}
|
2012-11-29 15:43:16 +00:00
|
|
|
rm -rf ${IMAGE_ROOTFS}/var/lib/smart
|
|
|
|
}
|
|
|
|
|
|
|
|
rpm_setup_smart_target_config() {
|
|
|
|
# Set up smart configuration for the target
|
|
|
|
rm -rf ${IMAGE_ROOTFS}/var/lib/smart
|
|
|
|
smart --data-dir=${IMAGE_ROOTFS}/var/lib/smart channel --add rpmsys type=rpm-sys -y
|
|
|
|
smart --data-dir=${IMAGE_ROOTFS}/var/lib/smart config --set rpm-nolinktos=1
|
|
|
|
smart --data-dir=${IMAGE_ROOTFS}/var/lib/smart config --set rpm-noparentdirs=1
|
|
|
|
rm -f ${IMAGE_ROOTFS}/var/lib/smart/config.old
|
2008-08-25 20:53:13 +00:00
|
|
|
}
|
|
|
|
|
2011-12-22 14:46:32 +00:00
|
|
|
rootfs_install_packages() {
|
Rework installation of dev, dbg, doc, and locale packages
Use a similar mechanism that was previously used to install locales at
rootfs generation time to install other "complementary" packages (e.g.
*-dev packages) - i.e. install all of the explicitly requested packages
and their dependencies, then get a list of the packages that were
installed, and use that list to install the complementary packages. This
has been implemented by using a list of globs which should make it
easier to extend in future.
The previous locale package installation code assumed that the locale
packages did not have any dependencies that were not already installed;
now that we are installing non-locale packages this is no longer
correct. In practice only the rpm backend actually made use of this
assumption, so it needed to be changed to call into the existing package
backend code to do the complementary package installation rather than
calling rpm directly.
This fixes the doc-pkgs IMAGE_FEATURES feature to work correctly, and
also ensures that all dev/dbg packages get installed for
dev-pkgs/dbg-pkgs respectively even if the dependency chains between
those packages was not ensuring that already.
The code has also been adapted to work correctly with the new
SDK-from-image functionality. To that end, an SDKIMAGE_FEATURES variable
has been added to allow specifying what extra image features should go
into the SDK (extra, because by virtue of installing all of the packages
in the image into the target part of the SDK, we already include all of
IMAGE_FEATURES) with a default value of "dev-pkgs dbg-pkgs".
Fixes [YOCTO #2614].
(From OE-Core rev: 72d1048a8381fa4a8c4c0d082047536727b4be47)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-09 13:15:08 +00:00
|
|
|
# Note - we expect the variables not set here to already have been set
|
|
|
|
export INSTALL_PACKAGES_RPM=""
|
|
|
|
export INSTALL_PACKAGES_ATTEMPTONLY_RPM="`cat $1`"
|
|
|
|
export INSTALL_PROVIDENAME_RPM=""
|
|
|
|
export INSTALL_TASK_RPM="rootfs_install_packages"
|
|
|
|
export INSTALL_COMPLEMENTARY_RPM="1"
|
|
|
|
|
|
|
|
package_install_internal_rpm
|
2008-08-25 20:53:13 +00:00
|
|
|
}
|
|
|
|
|
2008-10-07 16:47:22 +00:00
|
|
|
python () {
|
Convert to use direct access to the data store (instead of bb.data.*Var*())
This is the result of running the following over the metadata:
sed \
-e 's:bb.data.\(setVar([^,()]*,[^,()]*\), *\([^ )]*\) *):\2.\1):g' \
-e 's:bb.data.\(setVarFlag([^,()]*,[^,()]*,[^,()]*\), *\([^) ]*\) *):\2.\1):g' \
-e 's:bb.data.\(getVar([^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \
-e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \
-e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^() ]*\) *):\2.\1):g' \
-e 's:bb.data.\(getVar([^,()]*\), *\([^) ]*\) *):\2.\1):g' \
-i `grep -ril bb.data *`
(From OE-Core rev: b22831fd63164c4db9c0b72934d7d734a6585251)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-09 15:00:01 +00:00
|
|
|
if d.getVar('BUILD_IMAGES_FROM_FEEDS', True):
|
|
|
|
flags = d.getVarFlag('do_rootfs', 'recrdeptask')
|
2008-10-07 16:47:22 +00:00
|
|
|
flags = flags.replace("do_package_write_rpm", "")
|
|
|
|
flags = flags.replace("do_deploy", "")
|
2009-11-10 14:55:23 +00:00
|
|
|
flags = flags.replace("do_populate_sysroot", "")
|
Convert to use direct access to the data store (instead of bb.data.*Var*())
This is the result of running the following over the metadata:
sed \
-e 's:bb.data.\(setVar([^,()]*,[^,()]*\), *\([^ )]*\) *):\2.\1):g' \
-e 's:bb.data.\(setVarFlag([^,()]*,[^,()]*,[^,()]*\), *\([^) ]*\) *):\2.\1):g' \
-e 's:bb.data.\(getVar([^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \
-e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \
-e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^() ]*\) *):\2.\1):g' \
-e 's:bb.data.\(getVar([^,()]*\), *\([^) ]*\) *):\2.\1):g' \
-i `grep -ril bb.data *`
(From OE-Core rev: b22831fd63164c4db9c0b72934d7d734a6585251)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-09 15:00:01 +00:00
|
|
|
d.setVarFlag('do_rootfs', 'recrdeptask', flags)
|
|
|
|
d.setVar('RPM_PREPROCESS_COMMANDS', '')
|
|
|
|
d.setVar('RPM_POSTPROCESS_COMMANDS', '')
|
2011-07-18 20:55:28 +00:00
|
|
|
|
2012-07-06 19:13:59 +00:00
|
|
|
# The following code should be kept in sync w/ the populate_sdk_rpm version.
|
2012-11-30 22:11:37 +00:00
|
|
|
|
|
|
|
# package_arch order is reversed. This ensures the -best- match is listed first!
|
|
|
|
package_archs = d.getVar("PACKAGE_ARCHS", True) or ""
|
|
|
|
package_archs = ":".join(package_archs.split()[::-1])
|
2013-02-21 23:18:29 +00:00
|
|
|
package_os = d.getVar("TARGET_OS", True) or ""
|
2012-11-30 22:11:37 +00:00
|
|
|
ml_prefix_list = "%s:%s" % ('default', package_archs)
|
2013-02-21 23:18:29 +00:00
|
|
|
ml_os_list = "%s:%s" % ('default', package_os)
|
2011-07-18 20:55:28 +00:00
|
|
|
multilibs = d.getVar('MULTILIBS', True) or ""
|
|
|
|
for ext in multilibs.split():
|
|
|
|
eext = ext.split(':')
|
|
|
|
if len(eext) > 1 and eext[0] == 'multilib':
|
|
|
|
localdata = bb.data.createCopy(d)
|
2011-09-02 03:38:43 +00:00
|
|
|
default_tune = localdata.getVar("DEFAULTTUNE_virtclass-multilib-" + eext[1], False)
|
|
|
|
if default_tune:
|
|
|
|
localdata.setVar("DEFAULTTUNE", default_tune)
|
2013-02-21 23:18:29 +00:00
|
|
|
bb.data.update_data(localdata)
|
2011-09-08 13:35:37 +00:00
|
|
|
package_archs = localdata.getVar("PACKAGE_ARCHS", True) or ""
|
2012-11-30 22:11:37 +00:00
|
|
|
package_archs = ":".join([i in "all noarch any".split() and i or eext[1]+"_"+i for i in package_archs.split()][::-1])
|
2013-02-21 23:18:29 +00:00
|
|
|
package_os = localdata.getVar("TARGET_OS", True) or ""
|
2012-11-30 22:11:37 +00:00
|
|
|
ml_prefix_list += " %s:%s" % (eext[1], package_archs)
|
2013-02-21 23:18:29 +00:00
|
|
|
ml_os_list += " %s:%s" % (eext[1], package_os)
|
Convert to use direct access to the data store (instead of bb.data.*Var*())
This is the result of running the following over the metadata:
sed \
-e 's:bb.data.\(setVar([^,()]*,[^,()]*\), *\([^ )]*\) *):\2.\1):g' \
-e 's:bb.data.\(setVarFlag([^,()]*,[^,()]*,[^,()]*\), *\([^) ]*\) *):\2.\1):g' \
-e 's:bb.data.\(getVar([^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \
-e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \
-e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^() ]*\) *):\2.\1):g' \
-e 's:bb.data.\(getVar([^,()]*\), *\([^) ]*\) *):\2.\1):g' \
-i `grep -ril bb.data *`
(From OE-Core rev: b22831fd63164c4db9c0b72934d7d734a6585251)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-09 15:00:01 +00:00
|
|
|
d.setVar('MULTILIB_PREFIX_LIST', ml_prefix_list)
|
2013-02-21 23:18:29 +00:00
|
|
|
d.setVar('MULTILIB_OS_LIST', ml_os_list)
|
2008-10-07 16:47:22 +00:00
|
|
|
}
|