Once ipk meet errors, the log will show "Collected errors:\n xxxx ".
so keyword "Collected errors" is more general to catch errors.
Signed-off-by: Yu Ke <ke.yu@intel.com>
avahi will create an empty /var/run dir, which will conflict with base-files package.
This patch fix this by using populate-volatiles.sh approach recommended by OE handbook.
Signed-off-by: Yu Ke <ke.yu@intel.com>
The X server on some netbooks don't interact well with HAL with their
keyboard or mouse and consequently one or both is unusable. This
patch adds AutoAddDevices = False to a new netbook-specific
xorg.conf. If this breaks any systems which currently work, we'll
have to figure out what's really going on with hotplug and the X
server.
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
genext2fs 1.4.1 creates minimal inode number based on specified rootfs
directory. This is desired in some embedded devices as storage/memory
are precious. However it's not suitable in development phase where target
rootfs may be changed heavily on the fly (remote debug, test, ...).
Sometimes this may even cause "No space on device" error due to limited
free inodes exhaulted at the 1st boot.
Here a new option is added to allow falling back to original 1.3 behavior,
i.e caculating inode number based on specified bytes-per-inode parameter.
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Fix parse error with packages such as spectrum-fw whose name has no
version string. Later we may have per-recipe option to disable automatic
check for those known with troubles, to reduce complexity in this part.
Signed-off-by Kevin Tian <kevin.tian@intel.com>
default cmake behavior for FIND_***, is to first search listed directories prefixed
with CMAKE_FIND_ROOT_PATH, and if not found then go to unprefixed directories. This
is not desired as build system may be referenced.
this commit refine the search path only on prefixed directories, and thus fix
libmusicbrains build failure on some systems
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
install a proper script /etc/init.d/tcf-agent
make it autostart in runlevels 3 and 5
Signed-off-by: Qing He <qing.he@intel.com>
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Imported OE patches into the poky recipes.
- Use elfutils instead of libelf
Converted OE's svn source into tar ball & a patch.
Added a patch to revert the baseversion to 4.5.0
Merge OE & poky extra_oeconf_options
Fix the zlib (inside gcc) make issue by providing the --with-system-zlib switch in EXTRA_OECONF
Found out that some header file dirs were soft linked to non-existing
locations like c_std. Changed the configure options to point them to
existing locations like c_global.
gcc-cross-canadian_4.5.0: fix configure issue
Thanks to Saul Wold for providing poky gcc patches rebased to the 4.5.0
sources.
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Import the recipe from OE
Upgrade from 0.8.1 to 0.8.2, and it solved the build failure
Cleaned up the libmpc-native recipe for poky tree
Add nativesdk target for gcc-cross-canadian_4.5.0
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Add the new cross prelink support as the prelink-native integration.
Set the prelinker to use the prelink-cross.git repository as the upstream.
Note: libiberty.a is required on the host at this time
Signed-off-by: Mark Hatle <mhatle@windriver.com>
Add elfutils native, also change the binaries being installed to be
prefixed with 'eu-' to avoid conflict with binutils
Signed-off-by: Mark Hatle <mhatle@windriver.com>
Enable use of BBCLASSEXTEND to generate a native verison of binutils for the
libiberty, libbfd and libopcodes libs.
Also stop installing useless libs in the cross-canadian recipe.
Partially based on a patch by Mark Hatle <mhatle@windriver.com>.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
When using the fake chroot ability of pseudo, it will expand absolute
symlinks to their full non-fake path by default. The simple change disables
that behavior, as it is undesired when generating a rootfs.
Signed-off-by: Mark Hatle <mhatle@windriver.com>
Re implement the rootfs generation using rpm5. This also gets rid of the
need for yum, and handles all dep resolving internal to the script itself.
The new file scripts/rootfs_rpm-extract-postinst.awk comes from the original
yum integration work. It has been unchanged, but since yum is no longer used
we needed to move the script somewhere else.
Signed-off-by: Mark Hatle <mhatle@windriver.com>
Switch to RPM5 as our rpm provider of choice and update the recipe to the latest
stable release.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Modify the package_rpm.bbclass to understand the macro and command line changes
present in rpm5.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Add new patches to fix visiblity of C++ methods and to disable running a
program to detect the ICU version.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Enable changing the data directory on the fly from the environment and then use
this feature within poky to confine pseudo usage to each WORKDIR.
This fixes issues that could be seen under heavy inode reusage e.g.
with rm_work.
Work based mainly off a patch from Joshua Lock but finished by Richard
Purdie.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* tar 1.23 is GPLv3
* tar 1.17 is latest GPLv2
Recipes and patches dervied from OpenEmbedded and Debian
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* at 3.1.12 is GPLv3
* at 3.1.10.2 is latest GPLv2
Recipes and patches derived from OpenEmbedded
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
New dependency on libfm & menu-cache, which are added in previous commits
following patches are removed as they either don't apply or this new version
has no those problems:
desktop.patch
no-fam.patch
no-warnings.patch
pcmanfm-mips-fix.patch
the pending one is aowl-window-menu.patch, which need more work as the sources
have changed a lot. So far w/o this patch it still works. but we need more
verification later
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
older versions are kept untouched for now
changes:
- udev has diverged a lot, the udev.inc was based on a quite dated
version, thus doesn't reflect current status of udev, create a
new include file udev-new.inc to adapt
- separate libudev{,-dev,-dbg} apart from udev
- --with-udev-prefix is removed. change ${libexecdir} to
${base_libdir}/udev, which is described in INSTALL file.
- udev.pc is provided in ${datadir}/pkgconfig, since it's used
to indicate the existence of udev itself instead of development
headers and libs, pack it in udev instead of udev-dev
- udev-extras is disabled since we are missing libacl, this also
means gudev is missing as for now
- other cleanups, e.g. do_stage, do_install, EXTRA_OEMAKE
todo:
- udev-extras
- remove old udev versions
- rebase udev-145 on udev-new.inc as well
Signed-off-by: Qing He <qing.he@intel.com>
* Update the following files with 1.3.2 version in upstream:
GNUmakefile.am
Makefile
Makefile.shared
autogen.sh
configure.ac
* Update the .bb with the one in openembeded(91eefa1e)
* inherit pkgconfig and remove dolt stuff according to RP's comments
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
New file for tracking the following new packages:
* at
* cpio
* cronie
* crontabs
* grep
* mailx
* openssh
* tar
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
expat 2.0.1 archive is generated with DOS format, which causes CRC
error for some version of gzip (<1.4), e.g. on Unbuntu 10.04. This
commit adds do_unpack dependency to gzip-native, and thus to use
local compiled binary to address this issue. Since 1.4 is a known
version solving this issue, also specify a default version for
gzip-native
also move most lines into expat.inc as cleanup
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
borrow from OE gzip 1.3.13 after some cleanups:
- no ${S} redefinition
- configure.patch is not required
also add native support
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
libusb, libusb1, libusb-compat
remove libusb, upgrade libusb1 and libusb-compat. libusb-compat
now provides libusb
util-linux
update the latest version to 2.17.2
hal
hal-info
udev
dhcp
Signed-off-by: Qing He <qing.he@intel.com>
from version 4.1.0
changes:
original .bb file is based on dhcp3, whose build system differs from
dhcp 4.x, add a new dhcp4.inc and preserve dhcp3.inc for reference,
this should fix the conf file location bug of dhclient/dhcpd 4.1.0
- defining _PATH_DHC{LIENT,PD}_CONF in make parameter no longer works,
put these definition to includes/site.h
- delete upstream version of conf files, which are not used, and
with an installation path hardcoded to ${sysconfdir}
- similar thing happen for leases file, use new configure option to
specify
- RANLIB, LIBDIR, etc. as make parameter are no longer necessary
Signed-off-by: Qing He <qing.he@intel.com>
from 2.17
changes:
- clarify license. the package does contains a standalone utility
called lscpu that is under GPLv3+, fortunately it's note packaged
as for now
- the installation path of getopt has changed
todo:
- move libblkid and libuuid into separate packages
Signed-off-by: Qing He <qing.he@intel.com>
from 20090414
changes:
- consolidate hal-info.inc and hal-info_git.bb, git version is used
as a reference and is not preferred
- preferred version updated to 20091130
Signed-off-by: Qing He <qing.he@intel.com>
from 0.5.13
changes:
- udev rules dir has been changing to /lib/udev/rules.d in udev
upstream, add an override to stay in /etc/rules.d for compatibility
- consolidate hal.inc and hal_git.bb, hal_git.bb is used as a
reference thus should have a negative preference
- change preferred version of hal to 0.5.14
- remove hal_0.5.11+0.5.12rc1
- remove RRECOMMENDS on udev-utils, the package is to be removed
Signed-off-by: Qing He <qing.he@intel.com>
from 0.0.9, also remove libusb recipe (see below)
changes:
- remove some unnecessary logics derived from libusb-0.1
- now PROVIDES libusb
- bluez4 depends on libusb instead of libusb-compat
libusb-0.1 vs. libusb-compat
libusb-compat is intended to be a drop-in replacement of libusb-0.1,
building on top of libusb-1.0 (which has different API from -0.1).
Few known packages don't work with libusb-compat, notable example
is libmtp. Since most packages work very well with libusb-compat,
and libusb-compat doesn't suffer from power consumption issue of
libusb-0.1 (which is often very important for embedded systems),
drop libusb-0.1 and move to libusb-compat completely. If we see
any problems in the future, either the package should be fixed
or we can add back libusb-0.1 as needed.
Signed-off-by: Qing He <qing.he@intel.com>
from 0.9.2
changes:
- the previous recipe was derived from libusb-0.1 and thus had many
inconsistencies, e.g. binconfig and lib_packages are not necessary,
libusb1 doesn't provide libusb++, etc. Remove these legacies
- remove the patch 0.9.0-gcc3.4-compat-fix
Signed-off-by: Qing He <qing.he@intel.com>
Required when updating pcmanfm to 0.9.7
[with cleanup from Richard Purdie]
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
required when adding libfm
[with cleanup from Richard Purdie]
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
startup-notification_0.10 depends on xcb-util, so I add this package.
xcb-util.inc and xcb-util_0.3.6.bb are based on recipes from OpenEmbedded;
The changes I made are: updating HOMEPAGE,BUGTRACKER,LICENSE and
LIC_FILES_CHKSUM, and changing "include xcb-util.inc" to
"require xcb-util.inc", and using the latest version 0.3.6.
add gperf dependency and remove do_staging
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
The current free space doesn't leave much room for using the image,
increase it. Patch from Saul Wold with tweaks.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Per bpo#109 dependency failure during rootfs generation did not cause an error
despite that it would cause errors later on in the process. This patch updates
the key phrases searched for in the log checking function.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
this is one existing for stale reason when package's own Makefile doesn't
handle .pc correctly. After previous commits to remove unnecessary inheritage
on it (sqlite3, libpng), the only remaining is libgcrypt. Libgcrypt itself
doesn't ship a .pc and poky generates one. In this case, simply move the
manual installation to its own do_install.
Then it's safe to remove this class file
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Since scripts is now in PATH thanks to the layer functionality there is
no longer any need to have this recipe full of special cases, the scripts
can just be placed there.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
NATIVE_INSTALL_WORKS implicates an explicit do_install required or else
its binaries are not installed to sysroot, which result in error like:
sh: opkg-build not found
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Kevin Tian <kevin.tian@intel.com>