summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* wic: Remove selinux_check()Tom Zanussi2013-10-301-4/+0
| | | | | | | | | | | This seems to be an obsolete check - we don't have any problems with image creation under selinux, so remove it. (From OE-Core rev: 12e81eceab9e0a483765566ad3791b14718195b5) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: remove += assignment of a OVERRIDES variableMing Liu2013-10-301-2/+1
| | | | | | | | | | | | In some cases, it's unfit to use "+=" in a conditional appending, we would end up with the variable being set rather than being appended, which is not it mean to. (From OE-Core rev: 7eae843aaa4eaa534a2b825949563ca11bd3680c) Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pigz: Add pigz to buildtools tarballKonrad Scherer2013-10-302-1/+2
| | | | | | | | | | | | | | When using the tar executable in the buildtools, tar will execute gzip. If this happens before zlib-native is built, then the gzip on the host will be used and can fail if the libz in the buildtools is not compatible. Adding pigz to the build tools avoids this host contamination. (From OE-Core rev: af6424e8c2bf3a938fddabc669c0956d68964ed0) Signed-off-by: Konrad Scherer <Konrad.Scherer@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* debugedit: fix segment fault while file's bss offset have a large numberHongxu Jia2013-10-302-0/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | While ELF_C_RDWR_MMAP was used, elf_begin invoked mmap() to map file into memory. While the file's bss Offset has a large number, elf_update caculated file size by __elf64_updatenull_wrlock and the size was enlarged. In this situation, elf_update invoked ftruncate to enlarge the file, and memory size (elf->maximum_size) also was incorrectly updated. There was segment fault in elf_end which invoked munmap with the length is the enlarged file size, not the mmap's length. Before the above operations, invoke elf_begin/elf_update/elf_end with ELF_C_RDWR and ELF_F_LAYOUT set to enlarge the above file, it could make sure the file is safe for the following elf operations. [YOCTO #5356] https://bugzilla.redhat.com/show_bug.cgi?id=1019707 https://bugzilla.redhat.com/show_bug.cgi?id=1020842 (From OE-Core rev: 35c8b1ac7c3b1e4209b1e30d1dbd1a457286b97b) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cogl-1.0: depend on virtual/mesaAndreas Oberritter2013-10-301-1/+1
| | | | | | | | | | - Wayland support depends on wayland-egl, which is provided by mesa. (From OE-Core rev: a1a379b3c9728a06b086b4c1f06f663f54d7d37d) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Fix FILES_${PN}Richard Purdie2013-10-301-1/+0
| | | | | | | | | | | | | | | | In a recent commit, the FILES expression for rpm accidently moved a large portion of rpm-build into rpm: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=2e557556e03f4e86795cf331ccf06acd4c373045 Since rpm-build requires perl, this caused a number of build failures when the rpm-build package was attempted to be used since it references /usr/bin/perl. This commit restores the previous contents of the rpm package. (From OE-Core rev: a72ca9b8068f71cfed8b7cbe0f08247bd3f0fbe7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/oe-pkgdata-util: fix global name 'debug' is not definedPaul Eggleton2013-10-291-12/+11
| | | | | | | | | | This global variable is no longer present, so pass in the value specified via the command line. (From OE-Core rev: fa90f92e52330a9bf5836c0832412af0927b19a9) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* update-rc.d.bbclass: Fix host/target test in postinstJacob Kroon2013-10-291-1/+1
| | | | | | | | | | | | | | | | | | | When running the postinst script I get a shell warning: sh: argument expected and the service is never stopped. This patch fixes the warning message and stops the service. Patch v2: Hans Beckérus pointed out that the patch is not correct. This version uses the syntax proposed by Hans. I've tested that the postinst script works correctly when run on the target, both when the init script exists and when it doesn't exist. (From OE-Core rev: 7e23557835f756b22b95fa7a1926b5d1d21872c3) Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pcmanfm: upgraded to 1.1.2Valentin Popa2013-10-292-21/+2
| | | | | | | | | | | | Removed cross-compile-fix.patch; pcmanfm doesn't use xml-purge anymore. Tested on core-image-sato (qemuarm & qemux86). (From OE-Core rev: ba93c0faba5f4b5418ecc99da5e04d2ce0642875) Signed-off-by: Valentin Popa <valentin.popa@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grep: upgrade to 2.15Cristiana Voicu2013-10-291-4/+2
| | | | | | | (From OE-Core rev: b4996f3ef827cdc12c39fe58fdb50d7486bfc7f0) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts: Add ksize.py and dirsize.pyDarren Hart2013-10-292-0/+258
| | | | | | | | | | | | | | | | | Fixes [YOCTO #5388] These scripts can be useful when working to reduce the size of the Linux kernel and the root filesystem. ksize.py displays the kernel build size by the built-in.o files. dirsize.py displays the various sizes of the components of the root directory. (From OE-Core rev: 26099eb8ac855aa08e5e1a307affe42fe5f43859) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsoup: upgrade to 2.44.1Valentin Popa2013-10-291-2/+2
| | | | | | | | | | Tested with midori-browser on qemux86 and qemuarm. (From OE-Core rev: 67a562d236735d1bb08e7c2f5ea01409f59741d3) Signed-off-by: Valentin Popa <valentin.popa@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxv: upgrade to 1.0.10Valentin Popa2013-10-291-2/+2
| | | | | | | (From OE-Core rev: db0af1b3ca6b4de61dbcb8b264e418fe40c36fae) Signed-off-by: Valentin Popa <valentin.popa@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pseudo: fix library path in FILES_${PN}Roy Li2013-10-291-2/+5
| | | | | | | | | | | libpseudo.so is always installed into ${prefix}/lib/, not ${libdir}, so fix these paths; and skip libdir WARN_QA checking to ignore the warning in 64bit and multilib enabled system (From OE-Core rev: 47c7850c025994685aa1811057f4f9a5f0f2a3ae) Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pulseaudio: Fix build break on armebKhem Raj2013-10-291-1/+2
| | | | | | | | | | There is no need for += when using append hence removed and added a leading space appropriately (From OE-Core rev: fb9cde0fc1a54b073edf5979f4cb7dc297b790fd) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tzcode & tzdata: update to 2013hJoe Slater2013-10-292-7/+7
| | | | | | | | | | Update recipes to version 2013h of timezone code and data. (From OE-Core rev: 95c9355c35d24b60f44857a8c2e3c9860a91d23b) Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta-toolchain-qt: put QT_CONF_PATH in environment scriptLaurentiu Palcu2013-10-291-0/+1
| | | | | | | | | | | This will allow apps using QLibraryInfo class to find qt.conf. [YOCTO #5339] (From OE-Core rev: fffa4c37c49b169f663d28612b9251819cef9577) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nativesdk-qt4-tools: create qt.conf fileLaurentiu Palcu2013-10-291-0/+6
| | | | | | | | | | | | | | | | | | | | When installing the SDK to another location than the default one, qmake will look for libraries, headers, etc. in the default location. That's because the paths are hard-coded in the binary itself. Luckily, QT allows to override this using a qt.conf file installed in the same directory with the application executable. However, we already have a patch that allows for the installation of qt.conf in another place and read the location from QT_CONF_PATH environment variable. Hence, install qt.conf in ${sysconfdir}. This will allow other apps, that use QLibraryInfo class, to find it. [YOCTO #5339] (From OE-Core rev: 23f88695683a8e428375a8ccb6be935347a8768c) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnome: set UNKNOWN_CONFIGURE_WHITELISTRoss Burton2013-10-291-1/+3
| | | | | | | | | | | | | This class disable introspection support using --enable-introspection=no but not all GNOME modules support introspection. This can cause unknown-configure-options QA warnings, so clarify the option by using --disable-introspection and add it to the sanity test whitelist. (From OE-Core rev: a97600330d626eb0ca75178a9011f1a63c8a29f3) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xorg-proto-common: set UNKNOWN_CONFIGURE_WHITELISTRoss Burton2013-10-291-1/+3
| | | | | | | | | | | | | This include adds configure options globally but not all X libraries support them, so to avoid unknown-configure-option warnings add them to the whitelist. Also change the options from --enable-foo=no to --disable-foo as they're clearer and the whitelist would have to contain --enable-foo. (From OE-Core rev: 2544dc51fdebed77ff6eddf27d0ee897c5f5c257) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssh: upgrade to 6.3p1Paul Eggleton2013-10-2912-80/+2
| | | | | | | | | | Removed the following backported patch(es): * mac.patch (From OE-Core rev: ce04ba6a5385ad2d021d472cf9236787c6ea7357) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ethtool: upgrade to 3.11Paul Eggleton2013-10-292-2/+2
| | | | | | | (From OE-Core rev: ba5a3e7ed4e58865c770e9480e322a4c4a939c02) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: upgrade to 2.8.12Paul Eggleton2013-10-292-7/+4
| | | | | | | (From OE-Core rev: 5d63ad569d6beab5beea82aa51c1625d0e1e8231) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgcrypt: remove --without-pthRoss Burton2013-10-291-1/+1
| | | | | | | | | | This isn't recognised by configure, and the random number daemon that requires Pth isn't enabled. (From OE-Core rev: 6553c807e19042d3b6add4e7c4b3999fb641abe6) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnome-common: inhert gnomebase not gnomeRoss Burton2013-10-291-1/+1
| | | | | | | | | | This recipe doesn't need any of the helpers that come with gnome (GConf, icons, MIME, etc), so just inherit gnomebase. (From OE-Core rev: eadd68010f923edc12b4962074850ea724477a64) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xorg-lib-common: set UNKNOWN_CONFIGURE_WHITELISTRoss Burton2013-10-291-0/+3
| | | | | | | | | | This include adds configure options globally but not all X libraries support them, so to avoid unknown-configure-option warnings add them to the whitelist. (From OE-Core rev: 1f77801e6837b23d9123097dba77ca1374fbbea4) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/oe-pkgdata-util: add ability to find a recipe from a target packagePaul Eggleton2013-10-291-0/+37
| | | | | | | | | | Add a "lookup-recipe" command to show which recipe produced a particular package. (From OE-Core rev: 4ab561ac3df105b4b6487271b6ccc29445518d52) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/oe-pkgdata-util: add ability to look up runtime package namesPaul Eggleton2013-10-291-0/+38
| | | | | | | | | | | Add a "lookup-pkg" command to oe-pkgdata-util that can be used to find the runtime name of a package (after e.g. Debian library package renaming). (From OE-Core rev: d923846d91ae307372f1e48483e86807feeeb09d) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/oe-pkgdata-util: add ability to search for a target pathPaul Eggleton2013-10-291-0/+36
| | | | | | | | | | Add ability to search for a target path in produced packages, in order to find which package provides a specific file. (From OE-Core rev: 0824f2f5cf4e05f82b6986ce6fb22fa1392b7776) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/oe-pkgdata-util: check path arguments to ensure they existPaul Eggleton2013-10-291-0/+12
| | | | | | | | | Show an error if the specified paths don't exist. (From OE-Core rev: eff2690f7976664e6257c1c19c89feea9152eb9e) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/oe-pkgdata-util: improve help text and command line parsingPaul Eggleton2013-10-291-40/+38
| | | | | | | | | | | * Use optparse to parse command line * Make help text actually helpful by describing what each command does * Drop comment at the top listing the commands which is now superfluous (From OE-Core rev: feb317513fff638ad7abdba8ab34b8413f0ab055) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/oe-pkgdata-util: remove remnants of former pkgdata structurePaul Eggleton2013-10-291-6/+6
| | | | | | | | | | | OE-Core commit 1b8e4abd2d9c0901d38d89d0f944fe1ffd019379 removed the vendor-os argument from the command line, and the code using the package architectures, so clean these items up. (From OE-Core rev: 8b9ee57afbbcf633cba66e4b6e8ab7339ad6d391) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pigz: bump to 2.3.1Maxin B. John2013-10-263-26/+3
| | | | | | | | | | Update pigz to latest release - 2.3.1 Drop ldflags.patch as it has been merged upstream (From OE-Core rev: 8081dcb03f54efd551d1c8fe8a0484f8270053e0) Signed-off-by: Maxin B. John <maxin.john@enea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade to upstream version 0.9.22Marko Lindqvist2013-10-261-6/+3
| | | | | | | | | Code that was under ICU license has been removed. (From OE-Core rev: 12e2e82a7cfcbcb989b5254b2148320db69a820d) Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cairo: upgrade to upstream version 1.12.16Marko Lindqvist2013-10-262-58/+3
| | | | | | | | | png.patch dropped as it's part of upstream now (From OE-Core rev: c645545d245e77a83a6ce2feb7211fbea0242d46) Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gtk+: upgrade gtk+ to upstream version 2.24.22Marko Lindqvist2013-10-2613-2/+2
| | | | | | | (From OE-Core rev: f7c43757a0a2ad3b24c9f2ce3ad13059d929ba39) Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cracklib: cracklib-native should not depend on zlibKonrad Scherer2013-10-261-1/+1
| | | | | | | (From OE-Core rev: 89d7d46947d9bb8c7bf568c65e52d5bbe159027f) Signed-off-by: Konrad Scherer <Konrad.Scherer@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nfs-utils: nfsserver restart should kill and recreate nfsd kernel threadsQiang Chen2013-10-261-8/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nfsserver restart without killing kernel threads worked when portmap was the rpc publishing process and portmap was restarted. When rpcbind replaces portmap, nfsserver restart in this way does not work after an rpcbind restart. Steps to reproduce: 1). Make ext3 filesystem image on local host. cd /root dd if=/dev/zero of=test bs=1024K count=50 mkfs.ext3 -F test 2). runqemu qemux86-64 mkdir /mnt/wrtest mount -t ext3 -o loop test /mnt/wrtest echo "/mnt/wrtest *(sync,rw,no_subtree_check,no_root_squash)" > /etc/exports /etc/init.d/rpcbind restart /etc/init.d/nfsserver restart showmount -e localhost mkdir wrtest mount -t nfs localhost:/mnt/wrtest wrtest mount: mounting localhost:/mnt/wrtest on wrtest failed: Connection refused Modifying the nfsserver script to kill and restart kernel threads on restart makes the problem go away and is consistent with current RHEL/SUSE and Ubuntu/Debian mechanisms of handling the nfs server. (From OE-Core rev: 1a96b8d7dfc490fc61bbd470a8b09065750cd563) Signed-off-by: Rich Dubielzig <rich.dubielzig@windriver.com> Signed-off-by: Qiang Chen <qiang.chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libfm: allow build with automake-1.14Marko Lindqvist2013-10-262-0/+15
| | | | | | | | | | Do not consider automake warnings about future incompatibility errors. (From OE-Core rev: f7281ebf1fd593805f2cc10828ecb9723e1554d0) Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libfm: upgrade to upstream version 1.1.2.2Marko Lindqvist2013-10-262-4/+2
| | | | | | | (From OE-Core rev: 47f803a9cc6a7b43f10775172e6bc89632af322e) Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libcheck: allow build with automake-1.14Marko Lindqvist2013-10-262-0/+16
| | | | | | | | | | Do not consider automake warnings about future incompatibility errors. (From OE-Core rev: c7ead34c51e77067cb5dd95cf0aa1bc35567a0f3) Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxcb: fix build with automake-1.14Marko Lindqvist2013-10-262-1/+28
| | | | | | | (From OE-Core rev: f8c9a88082f5acf7835647a98a394d5a44fc556f) Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nfs-utils: Stop rpc.statd correctlyQiang Chen2013-10-261-4/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | An incorrect process name in the nfsserver initscript prevented rpc.statd from being shut down. root@qemux86-64:~# /etc/init.d/nfsserver start creating NFS state directory: done starting 8 nfsd kernel threads: done starting mountd: done starting statd: done root@qemux86-64:~# ps | grep rpc.statd 650 root 10532 S /usr/sbin/rpc.statd 654 root 4720 S grep rpc.statd root@qemux86-64:~# /etc/init.d/nfsserver stop stopping statd: done stopping mountd: done stopping nfsd: done root@qemux86-64:~# ps | grep rpc.statd 650 root 10532 S /usr/sbin/rpc.statd 662 root 4720 S grep rpc.statd As this daemon drops a pid file,simply use that instead. Also add some initialization checks so the daemons are not left partially started in the absence of kernel nfsd support. (From OE-Core rev: 37e70a28e9cfc773bd70f09d7129295ce891ae18) Signed-off-by: Andy Ross <andy.ross@windriver.com> Signed-off-by: Qiang Chen <qiang.chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perf: flag __SANE_USERSPACE_TYPES__ to include int-ll64.h for mips64Wenzong Fan2013-10-261-1/+2
| | | | | | | | | As the same reason to powerpc64, mips64 also need the flag. (From OE-Core rev: d6f3cb0d71c3b6739365f085b6d5a5e20f329fa5) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* screen: dynamically add or remove a entry to/from /etc/shellsMing Liu2013-10-261-0/+10
| | | | | | | | | | | | 1 Add base-files to RDEPENDS. 2 Add pkg_postinst and pkg_postrm to add and remove a entry in /etc/shells. (From OE-Core rev: 95618d6d5c4f8e5f0aec632d35e02ad5a33a1f75) Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bash: dynamically add or remove a entry to/from /etc/shellsMing Liu2013-10-261-3/+7
| | | | | | | | | | | | | 1 Add base-files to RDEPENDS. 2 Use ${base_bindir} in regex to match bash path. 3 Add pkg_postrm to remove the entry from /etc/shells that added by pkg_postinst. (From OE-Core rev: c3f93357e2d3ece910ff0e2d18eba3fb94fb5c3c) Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-files: remove invalid entries from /etc/shellsMing Liu2013-10-262-7/+1
| | | | | | | | | | | | It's more reasonable and secure to keep /etc/shells a minimal file, and then entries for valid shells be added dynamically to the system, only if the packages that provide them are supported. (From OE-Core rev: a1d6b55bfa5daa9ba5fa9a7a99dd8872284b6ad8) Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* relocate_sdk.py: Allow script to work with Python 2.4 and 3.Konrad Scherer2013-10-261-17/+25
| | | | | | | | | | | | | | Python 2.4 does not support the 'b' string literal or the keyword 'as' in exception handling. Python 3 does not accept the old method of exception handling and defaults to unicode. The b() function converts strings to bytes on Python 3 and using sys.exc_info() avoids the exception handling syntax. (From OE-Core rev: 1e2ec5f576f167673d7980737826987fefdc74a9) Signed-off-by: Konrad Scherer <Konrad.Scherer@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Add nativesdk to BBCLASSEXTENDDavid Nyström2013-10-261-6/+24
| | | | | | | | | | | | | | | | | | | | Modified FILES-paths since nativesdk can't handle hardcoded paths, Also added *.real binaries to packaging since this is not done when built as native. As far as /var having to be hardcoded, I have a hard time seeing someone modifying bitbake.conf to place localstatedir somewhere else than /var. If there exists a target/nativesdk portable way of hardcoding FILES, please let me know, and we'll do it that way. Cleanup of FEATURES, since it was the same for native & target. (From OE-Core rev: 39383e9bf1aa5e29d33d8af7f8e690d2238fd14f) Signed-off-by: David Nyström <david.nystrom@enea.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* runqemu-extract-sdk: add --numeric-owner option to tar commandChen Qi2013-10-261-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the same username exists on both target and the build host, but the uids differ, and we start target via NFS, then the uid for the user will be incorrect on target. For example, if postfix's uid on host is 119 and on target is 1024, then if we start target via NFS, the uid for postfix will be 119. The root cause is that when we use runqemu-extract-sdk to generate the NFS rootfs for later use, the tar command will respect the username instead of uid. So if PSEUDO_PASSWD environment is not set correctly, the host /etc/passwd will be used, resulting in wrong uids. The situation for gid is completely analogous to that of uid. It's almost impossible for the runqemu-extract-sdk to guess the correct location of the needed password file merely based on the target tarball name. This patch solves this problem by adding the '--numeric-owner' option to the tar command so that the uid/gid will be used when extracting the tarball using runqemu-extract-sdk. In this situation, we'll always get the correct uid/gid after extracting the tarball. [YOCTO #5364] (From OE-Core rev: acce6ff1a77cfd29e3868faa89b120becb58bbbf) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>