summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/attr
Commit message (Collapse)AuthorAgeFilesLines
* attr: narrow fix_symlink to populate_sysrootRoy Li2015-08-161-0/+5
| | | | | | | | | | | | | | | | | fix_symlink will be called many times, like populate_sysroot and populate_lic; which maybe lead to rpm-native building failure, due to the below error: ".../usr/lib/libacl.so: No such file or directory" since after acl/attr finished populate_sysroot task, rpm start to be compiled but acl/attr populate_lic, which run fix_symlink, maybe remove the .../usr/lib/libacl.so In fact, fix_symlink only needs to be called after populate_sysroot (From OE-Core rev: 6882b65489c74907709021532578270e8f7f03f0) Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* acl/attr: remove extra dev and staticdev from PACKAGESRobert Yang2015-04-131-12/+1
| | | | | | | | | There should be only one dev and dbg package. (From OE-Core rev: 93afa6fcc0f84f305fad97407ef408e7a1e37652) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* attr: use EXTRA_AUTORECONF to disable autoheaderRoss Burton2014-12-031-1/+1
| | | | | | | | | | Disable autoheader by setting EXTRA_AUTORECONF to --exclude=autoheader instead of setting AUTOHEADER to true. (From OE-Core rev: aa4c06ca7375faacd055ba98d59d48efadd87f59) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* acl: add acl dependency to acl-ptestRoss Burton2014-11-061-1/+1
| | | | | | | | | | The acl test suite doesn't work without the acl binaries, so add an explicit dependency. (From OE-Core rev: 3720478dbdc7efa5d38a53182bab14985c698d8d) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* attr: Allow use during build and SDKOtavio Salvador2014-08-151-0/+2
| | | | | | | (From OE-Core rev: 38ec4e261aed75ee776aea27a8bf80bb0a9644e4) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mirrors.bbclass: Add mirror site for savannahChanghyeok Bae2014-05-112-2/+2
| | | | | | | | | | | | | | | | * The SRC_URI is not accessible. So need to add mirror site referred by the original site. * The problem is that http://download.savannah.gnu.org/releases redirects to closest mirror and few mirrors (e.g. .jp) weren't working correctly while http://download-mirror.savannah.gnu.org/releases/ seems to be reliable. * Add SAVANNAH_GNU_MIRROR and SAVANNAH_NONGNU_MIRROR variable in bitbake.conf. * Change the SRC_URI using the new variable. (From OE-Core rev: af00b6544f60e4d7581f9d9767f9d3f574392359) Signed-off-by: Changhyeok Bae <changhyeok.bae@lge.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* attr: Fix uclibc buildsRichard Purdie2014-05-082-3/+3
| | | | | | | | | | attr needs libintl headers and libs. Add in the missing dependency and ensure the linker flag gets passed in multilib builds by replacing the PN == BPN check with a class-target override instead. (From OE-Core rev: c19fb913006eb53025e5db1574d973c8d7ceec76) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* acl: fix the order of expected output of getfaclChong Lu2014-03-252-0/+199
| | | | | | | | | | | | The result of getfacl is sorted by user id. In Centos or RHEL, bin user id is 1 and daemon user id is 2. But in our image, bin user id is 2 and daemon user id is 1. The patch fixes this issue to make ptest pass. (From OE-Core rev: a5180e942c9315d280580773e72fe67f27629a3c) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autotools-brokensep: Mark recipes with broken separate build dir supportRichard Purdie2014-02-281-1/+1
| | | | | | | | | | | | This patch goes through the OE-Core recipes and marks those which use autotools but don't support a separate build directory (${S} != ${B}). A new class, autotools-brokensep is used for this purpose. This doesn't introduce any change in behaviour in its own right. (From OE-Core rev: 006b8a7808a58713af16c326dc37d07765334b12) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* attr: enable ptest supportChong Lu2014-02-172-1/+21
| | | | | | | | | | | | Install attr test suite and run it as ptest. ext test cases need depend on specific filesystem. So exclude them order to make ptest all pass. (From OE-Core rev: 4395504e5f2af16e108a67962ab7cbcab26aa444) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* acl: enable ptest supportChong Lu2014-02-172-1/+20
| | | | | | | | | | | | Install acl test suite and run it as ptest. nfs test cases need depend on nfs service. So exclude them order to make ptest all pass. (From OE-Core rev: 9b42aacca362ea5c404e2fd3ac25a51790ba41a5) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Replace one-line DESCRIPTION with SUMMARYPaul Eggleton2014-01-022-2/+2
| | | | | | | | | | | | | | A lot of our recipes had short one-line DESCRIPTION values and no SUMMARY value set. In this case it's much better to just set SUMMARY since DESCRIPTION is defaulted from SUMMARY anyway and then the SUMMARY is at least useful. I also took the opportunity to fix up a lot of the new SUMMARY values, making them concisely explain the function of the recipe / package where possible. (From OE-Core rev: b8feee3cf21f70ba4ec3b822d2f596d4fc02a292) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* acl: Update to 2.2.52Saul Wold2013-12-093-8/+68
| | | | | | | | | Need to add configure.ac since it was not delivered in the tarball (From OE-Core rev: 3cedb6f45f596f755c471a320df3b184492b9d6c) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* attr: Add patch tracking detailsNathan Rossi2013-12-051-0/+1
| | | | | | | | | | Add author tracking information to the attr patch added by commit b28f12a272a9e2f0c3084a58b91605acb05f58f8. (From OE-Core rev: 9b4bc93b7281d596b818533e013a13b3b69fea81) Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* attr: attr_2.4.47 release tarball missing configure.acNathan Rossi2013-11-252-0/+65
| | | | | | | | | | | | | | | | | | The release tarball of attr 2.4.47 is missing the configure.ac file. This prevents the autotools bbclass from being able to regenerate the configure script which leads to other side affects. (e.g. using outdated config.sub) This patch adds the configure.ac file via a patch. (obtained via the source repository at the v2.4.47 tag) See the mailing list thread for additional information: http://lists.nongnu.org/archive/html/acl-devel/2013-05/msg00024.html (From OE-Core rev: b28f12a272a9e2f0c3084a58b91605acb05f58f8) Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* attr: upgrade to 2.4.47Saul Wold2013-10-304-198/+8
| | | | | | | | | Remove the patch that has been integrated upstream (From OE-Core rev: 39c556756d1af274d7868710ef80663ae8042f97) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* acl: Add nativesdk in BBCLASSEXTENDDavid Nyström2013-10-181-0/+2
| | | | | | | (From OE-Core rev: f534e0aa19b285fb69ac805a77d8852d4d06eb3c) Signed-off-by: David Nyström <david.nystrom@enea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* attr: Add nativesdk in BBCLASSEXTENDDavid Nyström2013-10-181-0/+2
| | | | | | | (From OE-Core rev: 6f527443e57bd5f565975888ada014b68365207e) Signed-off-by: David Nyström <david.nystrom@enea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* attr: convert to generic syscall numbersRiku Voipio2013-01-202-1/+190
| | | | | | | | | | | | | xattr system calls are old enough that we can switch to just pulling the system call numbers from kernel headers. Upstream-Status: Submitted acl-devel@nongnu.org (From OE-Core rev: 4dab91a4109a452f43483ef11ea9037ca8df1b33) Signed-off-by: Riku Voipio <riku.voipio@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes-support: replace virtclass-native(sdk) with class-native(sdk)Robert Yang2012-11-021-2/+2
| | | | | | | | | | | | | | | | | | | | | The overrides virtclass-native and virtclass-nativesdk are deprecated, which should be replaced by class-native and class-nativesdk. NOTE: There were 2 errors in libcap.inc, the BUILD_LDFLAGS_virtclass_native should be BUILD_LDFLAGS_virtclass-native (the "_" should be "-"), otherwise it doesn't work, and the value was: "-Wl,rpath=...", this is incorrect, it shoudl be: "-Wl,-rpath=..." (lacked a - ), but we don't need this line, since it is already in the default BUILD_LDFLAGS. Remove it and we don't need to bump the PR since we just removed a unused line. [YOCTO #3297] (From OE-Core rev: cafb550fe9034754933f1708446dde155dcc3d51) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* PR bump for all recipes that DEPEND on ncursesScott Garman2012-03-151-1/+1
| | | | | | | | | | The packaging changes to ncurses could break package feeds, so bump the PR on everythong that DEPENDS on ncurses. (From OE-Core rev: be92256917c157284ef8370bb93bbf443849b2e1) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* attr/acl: refactor packages for staticdevSaul Wold2012-01-193-8/+8
| | | | | | | (From OE-Core rev: 7c124d7c359729d074a5a55bd3bf7415a0aacd51) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert to use direct access to the data store (instead of bb.data.*Var*())Richard Purdie2011-11-101-2/+2
| | | | | | | | | | | | | | | | | 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>
* gettext: Switch to disabling nls and reducing -native build dependencies to ↵Richard Purdie2011-11-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | a set of pre built m4 macros When analysing our build performance, its apparent that binutils-cross takes an age to get built. This is due to its dependencies on flex-native and bison-native which in turn depend on gettext-native. gettext-native is problematic as it has a significant dependency chain of its own and takes an age to build. What is worse is that we never care about the native language support in -native and -cross packages since we always force the C locale. This patch therefore disables nls for all -native packages (its already disabled for -cross) and adds a new gettext-minimal-native package which contains the m4 macros to keep autoconf/automake happy. This means we gain a significant build time speedup by the removal of gettext-native from most dependency chains (only being part of gettext for the target now). For now the LICENCE field says GPLv3, the macros are actually under a FSF MIT like licence so we need to update this part of the patch in due course. (From OE-Core rev: 01b2a16beb4a924077b74943ad4d6e7976563ff1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* acl/attr: don't make symlink if base_libdir = libdirSaul Wold2011-10-071-0/+3
| | | | | | | (From OE-Core rev: 46cd3527217821a7e9a8223dc45a43294b6c5e8d) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* attr/acl: add SSTATEPOSTINSTFUNCSaul Wold2011-09-253-2/+19
| | | | | | | | | | | Added a native sstate post install function to fix the links created between /lib and /usr/lib for the library files. These links could point to an invalid build area when using shared state. (From OE-Core rev: 8ab7b681cdb43c6c21c187b8cd01faa39727824a) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* acl: Use BPN instead of PN for style like lib${PN}Dongxiao Xu2011-08-191-1/+1
| | | | | | | | | | | When supporting multilib, ${PN} will be extended with MLPREFIX. However if a package name contains ${PN} with styles like lib${PN}, such extension will cause error. Use BPN in this case. (From OE-Core rev: 58c66c0ef6f9233a308362f0aad36a753206770c) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* attr: Use BPN instead of PN for style like lib${PN}Dongxiao Xu2011-08-191-1/+1
| | | | | | | | | | | When supporting multilib, ${PN} will be extended with MLPREFIX. However if a package name contains ${PN} with styles like lib${PN}, such extension will cause error. Use BPN in this case. (From OE-Core rev: 4bb32686a727e0458f091a34800345938fb56606) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ea-acl: Use BPN instead of PN for style like lib${PN}Dongxiao Xu2011-08-191-3/+3
| | | | | | | | | | | When supporting multilib, ${PN} will be extended with MLPREFIX. However if a package name contains ${PN} with styles like lib${PN}, such extension will cause error. Use BPN in this case. (From OE-Core rev: 2768b3b26d392d988d392c80e52e1f5e9da23c5c) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* multilib: Use BPN instead of PN for style like lib${PN}Dongxiao Xu2011-08-031-1/+1
| | | | | | | | | | | When supporting multilib, ${PN} will be extended with MLPREFIX. However if a package name contains ${PN} with styles like lib${PN}, such extension will cause error. Use BPN in this case. (From OE-Core rev: fbb734e5753655de30c82c0a036c9043820e02cb) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* acl,attr: Fix build failures when NLS is disabled on uclibcKhem Raj2011-07-204-6/+5
| | | | | | | | | Disable gettext support when NLS is not enabled (From OE-Core rev: f7de0a4f02cfd021176759fc4ea7ebbc88da8ff8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* update patch upstream statusQing He2011-05-131-0/+2
| | | | | | | | | | | | | | | | | This patch includes the update of patch upstream status of the following recipes (50 in all): grub pciutils setserial dhcp iproute2 libnss-mdns nfs-utils openssl portmap busybox coreutils dbus dropbear ncurses readline sysfsutils sysvinit tinylogin udev update-rc.d util-linux elfutils file pkgconfig syslinux ubootchart yaffs2 findutils gamin hdparm libaio libzypp parted procps sat-solver screen sed sysklogd tcp-wrapper time zypper attr boost createrepo gnutls hal js libgcrypt libnl libusb-compat (From OE-Core rev: 1e6f767663b7d5fb6277fd2b214f4a50e24d4ffd) Signed-off-by: Qing He <qing.he@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* acl: upgrade to version 2.2.51Qing He2011-05-042-6/+6
| | | | | | | | | from 2.2.49 (From OE-Core rev: ce278d2a763d4f4f2c71c7cbdf073ab1f4c43c61) Signed-off-by: Qing He <qing.he@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* attr: upgrade to version 2.4.46Qing He2011-05-049-238/+7
| | | | | | | | | | | from 2.4.44 - remove the backported patch that is now in the tarball - prog path issue has also been fixed in the upstream (From OE-Core rev: b56ab842a8c0bc183f839edc035dc89399d783c3) Signed-off-by: Qing He <qing.he@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* attr: Fix compilation on uclibcKhem Raj2011-04-282-3/+5
| | | | | | | | | | | It needs -lintl added to LDFLAGS for uclibc inherit gettext class instead of adding gettext to DEPENDS directly (From OE-Core rev: 53f421bd2a7dc4caf8cbf4ea1b04cf00ea158b2c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* attr: Added ncurses to dependsSaul Wold2011-03-081-0/+2
| | | | | | | (From OE-Core rev: 21f294d9600a369fff5eafb0c7358694d9ff0221) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* attr: Change SRC_URI to a correct locationDongxiao Xu2011-03-012-2/+2
| | | | | | | | attr has changed its download link, thus change accordingly. This fixes [BUGID #710] Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* attr: fix SRC_URIQing He2010-12-282-2/+2
| | | | Signed-off-by: Qing He <qing.he@intel.com>
* acl: use correct Savannah download linkKevin Tian2010-12-282-2/+2
| | | | Signed-off-by: Kevin Tian <kevin.tian@intel.com>
* SRC_URI Checksums AdditionalsSaul Wold2010-12-092-0/+6
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* attr: fix the hardcoded search path in the AC_PATH_PROGDexuan Cui2010-10-092-1/+101
| | | | | | | | | | | | We should respect $PATH. The patch is from Qing. Fixes [BUGID #369]. BTW: the bug was triggered on a build host that didn't install gettext. Signed-off-by: Qing He <qing.he@intel.com> Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* packages: Separate out most of the remaining packages into recipesRichard Purdie2010-09-0111-0/+242
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>