July 27
cover July 27
Richard,
There are a number of M3 features (pam and live images)along with
some bug fixes in this pull request.
Notably is Paul's changes to local.conf.sample, which once propagted will have some changes to the Poky version.
This includes the siteinfo re-work from Tom and Khem, along with the live Image changes from me.
NOTE to all: to create live images, you will need to include the following in your local.conf or IMAGE_FSTYPES list:
IMAGE_FSTYPES += "live" # append live to the end of the list
Thanks
Sau!
The following changes since commit 02031d766f983cd7e01e468cb2c926604313cd2a:
arch-ia32.inc: Fix up TUNE_ARCH variable conflicts (2011-07-26 22:39:49 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib sgw/stage
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=sgw/live
Bruce Ashfield (1):
machine/qemu: set preferred linux-yocto kernel version
Enrico Scholz (2):
console-tools: removed wildcard from SRC_URI
module-init-tools: do not build static utilities for -cross
Kang Kai (5):
libpam: update to 1.1.4 and add subpackage xtests
cups: add pam support
screen: add pam support
sudo: add pam support
shadow: update pam related configure files
Khem Raj (2):
libxcb: Add missing DEPENDS on libxdmcp
siteinfo: Rework the siteinfo for powerpc to fix uclibc fallout
Koen Kooi (1):
dropbear: don't override DISTRO_TYPE if it is already set
Paul Eggleton (6):
meta/conf/local.conf.sample: remove oprofileui-native related
settings
meta/conf/local.conf.sample: improve comments/layout meta/conf/local.conf.sample: improve terminal examples/comments meta/conf/local.conf.sample: remove nonfunctional BBINCLUDELOGS
setting
eglibc: remove unnecessary FILESPATHPKG usage scripts/combo-layer: keep carriage returns at the end of lines
Saul Wold (5):
libcap: Update to 2.22 with License Clarification Remove -live.bb recipes
Remove -directdisk.bb recipes
classes/image*: Revamp creation of live images utils.bbclass: Don't forget to pass the cmdline options
Tom Rini (8):
siteinfo: Move certain samba entries to common-linux
siteinfo: Move certain bash entries to common-linux x86_64-linux siteinfo: Add bash info
siteinfo: Move certain mysql entries to common-linux
siteinfo: Move the rp-pppoe entry to common-linux
siteinfo: Move certain db entries to common-linux
siteinfo: Move general realloc/malloc values to common-$libc
siteinfo: Move (getpgrp|setpgrp|setgrent|*get{pwuid,grgid}) to
common-libc
Wenzong Fan (2):
cronie: enable PAM support for cronie
at: enable pam support
Xiaofeng Yan (3):
openssh: Support PAM
dropbear: Support pam
polkit: Support pam
meta-rt/images/core-image-minimal-rt-directdisk.bb | 15 ---
meta-rt/images/core-image-minimal-rt-live.bb | 15 ---
.../image-empty.bbclass} | 0
meta/classes/image-live.bbclass | 13 +++
meta/classes/image.bbclass | 3 +
meta/classes/image_types.bbclass | 15 +++-
meta/classes/siteinfo.bbclass | 16 ++--
meta/classes/utils.bbclass | 2 +-
meta/conf/local.conf.sample | 45 ++++++----
meta/conf/machine/include/qemu.inc | 1 +
.../openssh/openssh-5.8p2/sshd | 10 ++
meta/recipes-connectivity/openssh/openssh_5.8p2.bb | 13 +++-
.../console-tools/console-tools_0.3.2.bb | 2 +-
meta/recipes-core/dropbear/dropbear.inc | 10 ++-
.../dropbear/dropbear/dropbear-enable-pam.patch | 22 +++++
meta/recipes-core/dropbear/dropbear_0.52.bb | 2 +-
meta/recipes-core/eglibc/eglibc_2.13.bb | 3 +-
meta/recipes-core/images/core-image-directdisk.inc | 11 ---
meta/recipes-core/images/core-image-live.inc | 21 -----
.../images/core-image-minimal-directdisk.bb | 11 ---
.../recipes-core/images/core-image-minimal-live.bb | 11 ---
.../at/at-3.1.12/configure-add-enable-pam.patch | 23 +++++
meta/recipes-extended/at/at-3.1.12/pam.conf.patch | 21 +++++
meta/recipes-extended/at/at_3.1.12.bb | 21 ++++-
.../cronie/cronie/crond_pam_config.patch | 19 ++++
meta/recipes-extended/cronie/cronie_1.4.7.bb | 12 ++-
meta/recipes-extended/cups/cups_1.4.6.bb | 8 +-
.../recipes-extended/images/core-image-lsb-live.bb | 11 ---
.../images/core-image-lsb-sdk-live.bb | 11 ---
.../pam/libpam/libpam-xtests.patch | 35 ++++++++
.../pam/{libpam_1.1.3.bb => libpam_1.1.4.bb} | 14 ++-
.../polkit/polkit-0.101/polkit-1_pam.patch | 23 +++++
meta/recipes-extended/polkit/polkit_0.101.bb | 7 +-
.../screen/screen-4.0.3/screen.pam | 2 +
meta/recipes-extended/screen/screen_4.0.3.bb | 23 ++++-
.../shadow/files/shadow-update-pam-conf.patch | 91 ++++++++++++++++++++
meta/recipes-extended/shadow/shadow_4.1.4.3.bb | 5 +-
meta/recipes-extended/sudo/files/sudo.pam | 6 ++
meta/recipes-extended/sudo/sudo_1.8.1p2.bb | 18 +++-
meta/recipes-graphics/xcb/libxcb_1.7.bb | 4 +-
.../module-init-tools-cross_3.16.bb | 2 +-
.../images/core-image-sato-directdisk.bb | 9 --
meta/recipes-sato/images/core-image-sato-live.bb | 11 ---
.../images/core-image-sato-sdk-directdisk.bb | 9 --
.../images/core-image-sato-sdk-live.bb | 11 ---
meta/recipes-support/libcap/libcap.inc | 4 +-
meta/recipes-support/libcap/libcap_2.20.bb | 6 --
meta/recipes-support/libcap/libcap_2.22.bb | 6 ++
meta/site/arm-common | 35 --------
meta/site/arm-linux | 15 ---
meta/site/arm-linux-uclibc | 12 ---
meta/site/armeb-linux | 10 --
meta/site/armeb-linux-uclibc | 10 --
meta/site/common-glibc | 10 ++
meta/site/common-linux | 39 +++++++++
meta/site/common-uclibc | 11 +++
meta/site/ix86-common | 43 ---------
meta/site/mips-common | 3 -
meta/site/mips-linux | 29 +------
meta/site/mips-linux-uclibc | 29 +------
meta/site/mipsel-linux | 40 +---------
meta/site/mipsel-linux-uclibc | 26 ------
meta/site/powerpc-linux | 13 ---
meta/site/powerpc32-linux | 36 +--------
meta/site/sh-common | 45 +----------
meta/site/sparc-linux | 10 --
meta/site/x86_64-linux | 28 ++-----
meta/site/x86_64-linux-uclibc | 23 -----
scripts/combo-layer | 2 +-
69 files changed, 509 insertions(+), 613 deletions(-)
delete mode 100644 meta-rt/images/core-image-minimal-rt-directdisk.bb
delete mode 100644 meta-rt/images/core-image-minimal-rt-live.bb
rename meta/{site/powerpc-linux-uclibc => classes/image-empty.bbclass} (100%)
create mode 100644 meta/classes/image-live.bbclass
create mode 100644 meta/recipes-connectivity/openssh/openssh-5.8p2/sshd
create mode 100644 meta/recipes-core/dropbear/dropbear/dropbear-enable-pam.patch
delete mode 100644 meta/recipes-core/images/core-image-directdisk.inc
delete mode 100644 meta/recipes-core/images/core-image-live.inc
delete mode 100644 meta/recipes-core/images/core-image-minimal-directdisk.bb
delete mode 100644 meta/recipes-core/images/core-image-minimal-live.bb
create mode 100644 meta/recipes-extended/at/at-3.1.12/configure-add-enable-pam.patch
create mode 100644 meta/recipes-extended/at/at-3.1.12/pam.conf.patch
create mode 100644 meta/recipes-extended/cronie/cronie/crond_pam_config.patch
delete mode 100644 meta/recipes-extended/images/core-image-lsb-live.bb
delete mode 100644 meta/recipes-extended/images/core-image-lsb-sdk-live.bb
create mode 100644 meta/recipes-extended/pam/libpam/libpam-xtests.patch
rename meta/recipes-extended/pam/{libpam_1.1.3.bb => libpam_1.1.4.bb} (85%)
create mode 100644 meta/recipes-extended/polkit/polkit-0.101/polkit-1_pam.patch
create mode 100644 meta/recipes-extended/screen/screen-4.0.3/screen.pam
create mode 100644 meta/recipes-extended/shadow/files/shadow-update-pam-conf.patch
create mode 100644 meta/recipes-extended/sudo/files/sudo.pam
delete mode 100644 meta/recipes-sato/images/core-image-sato-directdisk.bb
delete mode 100644 meta/recipes-sato/images/core-image-sato-live.bb
delete mode 100644 meta/recipes-sato/images/core-image-sato-sdk-directdisk.bb
delete mode 100644 meta/recipes-sato/images/core-image-sato-sdk-live.bb
delete mode 100644 meta/recipes-support/libcap/libcap_2.20.bb
create mode 100644 meta/recipes-support/libcap/libcap_2.22.bbSignature · 1 line
1.7.3.4
PATCH 1/35 meta/conf/local.conf.sample: remove oprofileui-native related settings
From: Paul Eggleton <[email protected]>
oprofileui-nativesdk would be a better way to handle these kinds of requirements with the modern system, and it is not something that most users will need to configure anyway (nor was it supported.)
--- meta/conf/local.conf.sample | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-)
meta/conf/local.conf.sample +0 -6
@@ -119,12 +119,6 @@ PACKAGE_DEBUG_SPLIT_STYLE = '.debug' # Uncomment this if you want BitBake to emit the log if a build fails. BBINCLUDELOGS = "yes" -# Set this if you wish to make pkgconfig libraries from your system available -# for native builds. Combined with extra ASSUME_PROVIDEDs this can allow -# native builds of applications like oprofileui-native (unsupported feature). -#EXTRA_NATIVE_PKGCONFIG_PATH = ":/usr/lib/pkgconfig" -#ASSUME_PROVIDED += "gtk+-native libglade-native" - ENABLE_BINARY_LOCALE_GENERATION = "1" # The architecture to build SDK items for, by setting this you can build SDK
Signature · 1 line
1.7.3.4
PATCH 2/35 meta/conf/local.conf.sample: improve comments/layout
In reply to Saul WoldFrom: Paul Eggleton <[email protected]>
Some additions and grammar fixes to the comments, as well as moving the locale options to the same place.
--- meta/conf/local.conf.sample | 28 ++++++++++++++++++++++------ 1 files changed, 22 insertions(+), 6 deletions(-)
meta/conf/local.conf.sample +22 -6
@@ -2,10 +2,10 @@ CONF_VERSION = "1" # Uncomment and change to cache the files Poky downloads in an alternative -# location, default it ${TOPDIR}/downloads +# location, default is ${TOPDIR}/downloads #DL_DIR ?= "${TOPDIR}/downloads" # Uncomment and change to cache Poky's built staging output in an alternative -# location, default ${TOPDIR}/sstate-cache +# location, default is ${TOPDIR}/sstate-cache #SSTATE_DIR ?= "${TOPDIR}/sstate-cache" # Uncomment and set to allow bitbake to execute multiple tasks at once.
@@ -26,6 +26,8 @@ MACHINE ??= "qemux86" #MACHINE ?= "qemux86" #MACHINE ?= "qemux86-64" +# BBMASK is a regular expression that can be used to tell BitBake to ignore +# certain recipes. BBMASK = "" # EXTRA_IMAGE_FEATURES allows extra packages to be added to the generated images
@@ -41,9 +43,19 @@ BBMASK = "" # "debug-tweaks" - make an image for suitable of development # e.g. ssh root access has a blank password # There are other application targets too, see meta/classes/core-image.bbclass +<<<<<<< HEAD:meta/conf/local.conf.sample # and meta/packages/tasks/task-core.bb for more details. EXTRA_IMAGE_FEATURES = "tools-debug tools-profile tools-testapps debug-tweaks" +======= +# and meta/recipes-core/tasks/task-core.bb for more details. +<<<<<<< HEAD:meta-yocto/conf/local.conf.sample +# The -sdk image includes these features by default now. +EXTRA_IMAGE_FEATURES = "debug-tweaks" +======= +EXTRA_IMAGE_FEATURES = "tools-debug tools-profile tools-testapps debug-tweaks" +>>>>>>> d82e8ed... meta/conf/local.conf.sample: improve comments/layout:meta/conf/local.conf.sample +>>>>>>> 8d50670... meta/conf/local.conf.sample: improve comments/layout:meta-yocto/conf/local.conf.sample # A list of packaging systems used in generated images # The first package type listed will be used for rootfs generation
@@ -119,8 +131,6 @@ PACKAGE_DEBUG_SPLIT_STYLE = '.debug' # Uncomment this if you want BitBake to emit the log if a build fails. BBINCLUDELOGS = "yes" -ENABLE_BINARY_LOCALE_GENERATION = "1" - # The architecture to build SDK items for, by setting this you can build SDK # packages for architectures other than the host i.e. building i686 packages # on an x86_64 host.
@@ -150,6 +160,12 @@ ENABLE_BINARY_LOCALE_GENERATION = "1" #case, which will take much time. #TEST_SERIALIZE = "1" +# ENABLE_BINARY_LOCALE_GENERATION controls the generation of binary locale +# packages at build time using qemu-native. Disabling it (by setting it to 0) +# will save some build time at the expense of breaking i18n on devices with +# less than 128MB RAM. +ENABLE_BINARY_LOCALE_GENERATION = "1" + # Set GLIBC_GENERATE_LOCALES to the locales you wish to generate should you not # wish to perform the time-consuming step of generating all LIBC locales. # NOTE: If removing en_US.UTF-8 you will also need to uncomment, and set
@@ -160,10 +176,10 @@ ENABLE_BINARY_LOCALE_GENERATION = "1" #IMAGE_LINGUAS ?= "en-gb" #LIMIT_BUILT_LOCALES ?= "POSIX en_GB" -# This value is currently used by PSEUDO to determine if the recipe should +# This value is currently used by pseudo to determine if the recipe should # build both the 32-bit and 64-bit wrapper libraries on a 64-bit build system. # -# PSEUDO will attempt to determine if a 32-bit wrapper is necessary, but +# Pseudo will attempt to determine if a 32-bit wrapper is necessary, but # it doesn't always guess properly. If you have 32-bit executables on # your 64-bit build system, you likely want to set this to "0", # otherwise you could end up with incorrect file attributes on the
Signature · 1 line
1.7.3.4
Re: [Consolidated & Tested 02/35] meta/conf/local.conf.sample: improve comments/layout
Quoted 6 lines · Saul Wold
# There are other application targets too, see meta/classes/core-image.bbclass
+<<<<<<< HEAD:meta/conf/local.conf.sample# and meta/packages/tasks/task-core.bb for more details.
EXTRA_IMAGE_FEATURES= "tools-debug tools-profile tools-testapps debug-tweaks"
+=======
meta/conf/local.conf.sample BBMASK = ""
Quoted 8 lines
meta/conf/local.conf.sample +8
-0+# and meta/recipes-core/tasks/task-core.bb for more details. +<<<<<<< HEAD:meta-yocto/conf/local.conf.sample +# The -sdk image includes these features by default now. +EXTRA_IMAGE_FEATURES = "debug-tweaks" +======= +EXTRA_IMAGE_FEATURES = "tools-debug tools-profile tools-testapps debug-tweaks" +>>>>>>> d82e8ed... meta/conf/local.conf.sample: improve comments/layout:meta/conf/local.conf.sample +>>>>>>> 8d50670... meta/conf/local.conf.sample: improve comments/layout:meta-yocto/conf/local.conf.sampl
Er? That doesn't look like it can be right. I'm a bit surprised that you managed to test successfully with those conflict markers in there.
p.
Re: [Consolidated & Tested 02/35] meta/conf/local.conf.sample: improve comments/layout
Quoted 19 lines · Phil Blundell
Quoted 6 lines · Saul Wold
# There are other application targets too, see meta/classes/core-image.bbclass
+<<<<<<< HEAD:meta/conf/local.conf.sample# and meta/packages/tasks/task-core.bb for more details.
EXTRA_IMAGE_FEATURES= "tools-debug tools-profile tools-testapps debug-tweaks"
+=======meta/conf/local.conf.sample BBMASK = ""
Quoted 8 lines
meta/conf/local.conf.sample +8
-0+# and meta/recipes-core/tasks/task-core.bb for more details. +<<<<<<< HEAD:meta-yocto/conf/local.conf.sample +# The -sdk image includes these features by default now. +EXTRA_IMAGE_FEATURES = "debug-tweaks" +======= +EXTRA_IMAGE_FEATURES = "tools-debug tools-profile tools-testapps debug-tweaks" +>>>>>>> d82e8ed... meta/conf/local.conf.sample: improve comments/layout:meta/conf/local.conf.sample +>>>>>>> 8d50670... meta/conf/local.conf.sample: improve comments/layout:meta-yocto/conf/local.conf.samplEr? That doesn't look like it can be right. I'm a bit surprised that you managed to test successfully with those conflict markers in there.
Quoted 3 lines
p.
Your right, this was respun it did not trigger a conflict message though.
Crazy.
Sau!
Quoted 5 lines
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
PATCH 3/35 meta/conf/local.conf.sample: improve terminal examples/comments
In reply to Saul WoldFrom: Paul Eggleton <[email protected]>
Default to XTERM_TERM* instead of KONSOLE_TERM* since Konsole support only works for KDE 3.x, and note this in the comments (see Yocto bug 1294 for further details.) Also add a comment about PATCHRESOLVE = "noop".
--- meta/conf/local.conf.sample | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-)
meta/conf/local.conf.sample +6 -2
@@ -194,8 +194,12 @@ NO32LIBS = "1" # when resolving patches which cannot be applied # Supported shell prefixes for *_TERMCMD and *_TERMCMDRUN ARE: # GNOME, SCREEN, XTERM and KONSOLE -#TERMCMD = "${KONSOLE_TERMCMD}" -#TERMCMDRUN = "${KONSOLE_TERMCMDRUN}" +# Note: currently, Konsole support only works for KDE 3.x due to the way +# newer Konsole versions behave +#TERMCMD = "${XTERM_TERMCMD}" +#TERMCMDRUN = "${XTERM_TERMCMDRUN}" +# Alternatively, if you prefer you can disable patch resolution: +#PATCHRESOLVE = "noop" # Uncomment this if your host distribution provides the help2man tool. #ASSUME_PROVIDED += "help2man-native"
Signature · 1 line
1.7.3.4
PATCH 4/35 meta/conf/local.conf.sample: remove nonfunctional BBINCLUDELOGS setting
In reply to Saul WoldFrom: Paul Eggleton <[email protected]>
This option does nothing in recent versions of BitBake, and the vast majority of users will want the log printed out on failure anyway.
--- meta/conf/local.conf.sample | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-)
meta/conf/local.conf.sample +0 -3
@@ -128,9 +128,6 @@ PACKAGE_DEBUG_SPLIT_STYLE = '.debug' # SELECTED_OPTIMIZATION = "${PROFILE_OPTIMIZATION}" # LDFLAGS =+ "-pg" -# Uncomment this if you want BitBake to emit the log if a build fails. -BBINCLUDELOGS = "yes" - # The architecture to build SDK items for, by setting this you can build SDK # packages for architectures other than the host i.e. building i686 packages # on an x86_64 host.
Signature · 1 line
1.7.3.4
Re: [Consolidated & Tested 04/35] meta/conf/local.conf.sample: remove nonfunctional BBINCLUDELOGS setting
Quoted 22 lines · On Wednesday 27 July 2011 08:46:54 Saul Wold wrote:
From: Paul Eggleton <[email protected]>
This option does nothing in recent versions of BitBake, and the vast majority of users will want the log printed out on failure anyway.
Signed-off-by Paul Eggleton <[email protected]>--- meta/conf/local.conf.sample | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-)meta/conf/local.conf.sample +0
-3@@ -128,9 +128,6 @@ PACKAGE_DEBUG_SPLIT_STYLE = '.debug' # SELECTED_OPTIMIZATION = "${PROFILE_OPTIMIZATION}" # LDFLAGS =+ "-pg" -# Uncomment this if you want BitBake to emit the log if a build fails. -BBINCLUDELOGS = "yes" - # The architecture to build SDK items for, by setting this you can build
Quoted 2 lines
SDK # packages for architectures other than the host i.e. building i686 packages # on an
x86_64host.
I discussed this with Richard today - let's skip this patch since we should really just fix the hardcoded setting in BitBake.
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
PATCH 5/35 libxcb: Add missing DEPENDS on libxdmcp
In reply to Saul WoldFrom: Khem Raj <[email protected]>
Observed this to fail when populating new tmpdir
from shared state
--- meta/recipes-graphics/xcb/libxcb_1.7.bb | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-graphics/xcb/libxcb_1.7.bb +2 -2
@@ -3,9 +3,9 @@ include libxcb.inc LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=d763b081cb10c223435b01e00dc0aba7" -PR = "r1" +PR = "r2" -DEPENDS += "libpthread-stubs xcb-proto-native" +DEPENDS += "libpthread-stubs xcb-proto-native libxdmcp" PACKAGES =+ "libxcb-xinerama"
Signature · 1 line
1.7.3.4
PATCH 6/35 dropbear: don't override DISTRO_TYPE if it is already set
In reply to Saul WoldFrom: Koen Kooi <[email protected]>
The long term solution is to remove the IMAGE_FEATURE check since images are not allowed to influence recipe compile options.
--- meta/recipes-core/dropbear/dropbear.inc | 2 +- meta/recipes-core/dropbear/dropbear_0.52.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-core/dropbear/dropbear.inc +1 -1
@@ -29,7 +29,7 @@ SBINCOMMANDS = "dropbear dropbearkey dropbearconvert" BINCOMMANDS = "dbclient ssh scp" EXTRA_OEMAKE = 'MULTI=1 SCPPROGRESS=1 PROGRAMS="${SBINCOMMANDS} ${BINCOMMANDS}"' -DISTRO_TYPE = "${@base_contains("IMAGE_FEATURES", "debug-tweaks", "debug", "",d)}" +DISTRO_TYPE ?= "${@base_contains("IMAGE_FEATURES", "debug-tweaks", "debug", "",d)}" do_debug_patch() { if [ "${DISTRO_TYPE}" = "debug" ]; then
meta/recipes-core/dropbear/dropbear_0.52.bb +1 -1
@@ -3,4 +3,4 @@ require dropbear.inc SRC_URI[md5sum] = "1c69ec674481d7745452f68f2ea5597e" SRC_URI[sha256sum] = "e3a2ca49ed85ce562240c0ac06e2f72826d7e52a83e80d91c067c8b97bf5c108" -PR = "r2" +PR = "r3"
Signature · 1 line
1.7.3.4
PATCH 7/35 console-tools: removed wildcard from SRC_URI
In reply to Saul WoldFrom: Enrico Scholz <[email protected]>
Wildcards in SRC_URI are not supported by oe-core and work only when last (or first?) FILESPATH element points to the containing directory. Specifying plain dir works fine for this recipe.
--- .../console-tools/console-tools_0.3.2.bb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-core/console-tools/console-tools_0.3.2.bb +1 -1
@@ -11,7 +11,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/lct/console-tools-${PV}.tar.gz \ file://compile.patch;patch=1 \ file://kbdrate.patch;patch=1 \ file://uclibc-fileno.patch;patch=1 \ - file://config/*.m4" + file://config" SRC_URI[md5sum] = "bf21564fc38b3af853ef724babddbacd" SRC_URI[sha256sum] = "eea6b441672dacd251079fc85ed322e196282e0e66c16303ec64c3a2b1c126c2"
Signature · 1 line
1.7.3.4
PATCH 8/35 module-init-tools: do not build static utilities for -cross
In reply to Saul WoldFrom: Enrico Scholz <[email protected]>
There is no need to have static module-init-tools for the cross tools. Building such binaries requires a static libc which is not required by the rest of OE and which is deprecated and not installed by distributions like Fedora.
--- .../module-init-tools-cross_3.16.bb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-kernel/module-init-tools/module-init-tools-cross_3.16.bb +1 -1
@@ -8,4 +8,4 @@ SRC_URI += "file://no-static-binaries.patch" SRC_URI[md5sum] = "bc44832c6e41707b8447e2847d2019f5" SRC_URI[sha256sum] = "e1f2cdcae64a8effc25e545a5e0bdaf312f816ebbcd0916e4e87450755fab64b" -EXTRA_OECONF_append = " --program-prefix=${TARGET_PREFIX}" +EXTRA_OECONF_append = " --program-prefix=${TARGET_PREFIX} --disable-static-utils"
Signature · 1 line
1.7.3.4
PATCH 9/35 eglibc: remove unnecessary FILESPATHPKG usage
In reply to Saul WoldFrom: Paul Eggleton <[email protected]>
This was not doing anything (we don't even have the eglibc-svn directory).
--- meta/recipes-core/eglibc/eglibc_2.13.bb | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
meta/recipes-core/eglibc/eglibc_2.13.bb +1 -2
@@ -3,8 +3,7 @@ require eglibc.inc SRCREV = "14157" DEPENDS += "gperf-native" -FILESPATHPKG =. "eglibc-svn:" -PR = "r8" +PR = "r9" PR_append = "+svnr${SRCPV}" EGLIBC_BRANCH="eglibc-2_13"
Signature · 1 line
1.7.3.4
PATCH 10/35 scripts/combo-layer: keep carriage returns at the end of lines
In reply to Saul WoldFrom: Paul Eggleton <[email protected]>
Use --keep-cr option to "git am" or otherwise we lose carriage returns which can be important for patches against files that use CRs.
--- scripts/combo-layer | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
scripts/combo-layer +1 -1
@@ -254,7 +254,7 @@ def action_apply_patch(conf, args): for line in open(repo['patchlist']): patchfile = line.split()[0] lastrev = line.split()[1] - cmd = "git am -s -p1 %s" % patchfile + cmd = "git am --keep-cr -s -p1 %s" % patchfile logger.info("Apply %s" % patchfile ) try: runcmd(cmd)
Signature · 1 line
1.7.3.4
PATCH 11/35 machine/qemu: set preferred linux-yocto kernel version
In reply to Saul WoldFrom: Bruce Ashfield <[email protected]>
The introduction of the linux-yocto-3.0 kernel is taking precedence over the known working 2.6.37 version. Forcing 2.6.37 until 3.0 is validated on the qemu machines.
--- meta/conf/machine/include/qemu.inc | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
meta/conf/machine/include/qemu.inc +1 -0
@@ -12,6 +12,7 @@ RDEPENDS_kernel-base = "" # Use a common kernel recipe for all QEMU machines PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" +PREFERRED_VERSION_linux-yocto ?= "2.6.37+git%" #PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-yocto" EXTRA_IMAGEDEPENDS += "qemu-native qemu-helper-native"
Signature · 1 line
1.7.3.4
PATCH 12/35 libcap: Update to 2.22 with License Clarification
In reply to Saul Wold--- meta/recipes-support/libcap/libcap.inc | 4 ++-- meta/recipes-support/libcap/libcap_2.20.bb | 6 ------ meta/recipes-support/libcap/libcap_2.22.bb | 6 ++++++ 3 files changed, 8 insertions(+), 8 deletions(-) delete mode 100644 meta/recipes-support/libcap/libcap_2.20.bb create mode 100644 meta/recipes-support/libcap/libcap_2.22.bb
meta/recipes-support/libcap/libcap.inc +2 -2
@@ -2,8 +2,8 @@ DESCRIPTION = "support for getting/setting POSIX.1e capabilities" HOMEPAGE = "http://sites.google.com/site/fullycapable/" # no specific GPL version required -LICENSE = "BSD | GPL" -LIC_FILES_CHKSUM = "file://License;md5=731de803c1ccbcb05a9b3523279c8d7f" +LICENSE = "BSD | GPLv2" +LIC_FILES_CHKSUM = "file://License;md5=3f84fd6f29d453a56514cb7e4ead25f1" DEPENDS = "libpam attr perl-native-runtime" # attr and pam are disabled by EXTRA_OEMAKE_virtclass-native
meta/recipes-support/libcap/libcap_2.20.bb deleted +0 -6
@@ -1,6 +0,0 @@ -require libcap.inc - -PR = "r3" - -SRC_URI[md5sum] = "10e47ed32ca2214eb0e58780282d27b4" -SRC_URI[sha256sum] = "20e7c1ea4d3d5c410efb3a6ff138dc417912fae316d883460dcd58d9803a9220"
meta/recipes-support/libcap/libcap_2.22.bb new file +6 -0
@@ -0,0 +1,6 @@ +require libcap.inc + +PR = "r0" + +SRC_URI[md5sum] = "ce64058bdb3f086ddbfca8ce6c919845" +SRC_URI[sha256sum] = "73ebbd4877b5f69dd28b72098e510c5b318bc480f8201c4061ac98b78c04050f"
Signature · 1 line
1.7.3.4
PATCH 13/35 libpam: update to 1.1.4 and add subpackage xtests
In reply to Saul WoldFrom: Kang Kai <[email protected]>
Update libpam to 1.1.4, and add dependecy cracklib because run xtexts will need pam-plugin-cracklib.
There are some additional checks under subdirectory xtests and make it as a subpackage libpam-xtests.
---
.../pam/libpam/libpam-xtests.patch | 35 ++++++++++++++++++++
.../pam/{libpam_1.1.3.bb => libpam_1.1.4.bb} | 14 +++++---
2 files changed, 44 insertions(+), 5 deletions(-)
create mode 100644 meta/recipes-extended/pam/libpam/libpam-xtests.patch
rename meta/recipes-extended/pam/{libpam_1.1.3.bb => libpam_1.1.4.bb} (85%)meta/recipes-extended/pam/libpam/libpam-xtests.patch new file +35 -0
@@ -0,0 +1,35 @@ +This patch is used to create a new sub package libpam-xtests to do more checks. + +Upstream-Status: Pending + +Signed-off-by: Kang Kai <[email protected]> +--- Linux-PAM-1.1.4/xtests/Makefile.am.orig 2011-07-19 17:00:09.619980001 +0800 ++++ Linux-PAM-1.1.4/xtests/Makefile.am 2011-07-19 16:54:00.229979998 +0800 +@@ -7,7 +7,7 @@ + AM_LDFLAGS = -L$(top_builddir)/libpam -lpam \ + -L$(top_builddir)/libpam_misc -lpam_misc + +-CLEANFILES = *~ $(XTESTS) ++CLEANFILES = *~ + + EXTRA_DIST = run-xtests.sh tst-pam_dispatch1.pamd tst-pam_dispatch2.pamd \ + tst-pam_dispatch3.pamd tst-pam_dispatch4.pamd \ +@@ -51,3 +51,18 @@ + + xtests: $(XTESTS) run-xtests.sh + "$(srcdir)"/run-xtests.sh "$(srcdir)" ${XTESTS} ${NOSRCTESTS} ++ ++all: $(XTESTS) ++ ++install: install_xtests ++ ++install_xtests: ++ $(INSTALL) -d $(DESTDIR)$(pkgdatadir)/xtests ++ for file in $(EXTRA_DIST) ; do \ ++ $(INSTALL) $$file $(DESTDIR)$(pkgdatadir)/xtests ; \ ++ done ++ for file in $(XTESTS); do \ ++ $(INSTALL) .libs/$$file $(DESTDIR)$(pkgdatadir)/xtests ; \ ++ done ++ ++.PHONY: all install_xtests
meta/recipes-extended/pam/libpam_1.1.4.bb renamed from meta/recipes-extended/pam/libpam_1.1.3.bb +9 -5
@@ -11,18 +11,21 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=ca0395de9a86191a078b8b79302e3083" PR = "r0" -DEPENDS = "bison flex" +DEPENDS = "bison flex cracklib" RDEPENDS_${PN}-runtime = "libpam pam-plugin-deny pam-plugin-permit pam-plugin-warn pam-plugin-unix" +RDEPENDS_${PN}-xtests = "libpam pam-plugin-access pam-plugin-debug pam-plugin-cracklib pam-plugin-pwhistory \ + pam-plugin-succeed-if pam-plugin-time coreutils" RRECOMMENDS_${PN} = "libpam-runtime" SRC_URI = "${KERNELORG_MIRROR}/linux/libs/pam/library/Linux-PAM-${PV}.tar.bz2 \ file://99_pam \ - file://pam.d/*" + file://pam.d/* \ + file://libpam-xtests.patch" SRC_URI_append_libc-uclibc = " file://pam-no-innetgr.patch" -SRC_URI[md5sum] = "6db7fcb5db6253350e3a4648ceac40e7" -SRC_URI[sha256sum] = "17b268789b935a76e736a1150210dd12f156972973e79347668f828d43632652" +SRC_URI[md5sum] = "e9af5fb27bb22edb55d077e2888b3ebc" +SRC_URI[sha256sum] = "ccd89331914390b1e9e99c954471d65f19b660d81e15a46eeb96cee125d44056" EXTRA_OECONF = "--with-db-uniquename=_pam \ --includedir=${includedir}/security \
@@ -34,12 +37,13 @@ S = "${WORKDIR}/Linux-PAM-${PV}" inherit autotools gettext -PACKAGES += "${PN}-runtime" +PACKAGES += "${PN}-runtime ${PN}-xtests" FILES_${PN} = "${base_libdir}/lib*${SOLIBS}" FILES_${PN}-dbg += "${base_libdir}/security/.debug \ ${base_libdir}/security/pam_filter/.debug" FILES_${PN}-dev += "${base_libdir}/security/*.la ${base_libdir}/*.la ${base_libdir}/lib*${SOLIBSDEV}" FILES_${PN}-runtime = "${sysconfdir}" +FILES_${PN}-xtests = "${datadir}/Linux-PAM/xtests" PACKAGES_DYNAMIC += " pam-plugin-*"
Signature · 1 line
1.7.3.4
PATCH 14/35 cups: add pam support
In reply to Saul WoldFrom: Kang Kai <[email protected]>
According to distro_feature then add pam support for cups or not.
--- meta/recipes-extended/cups/cups_1.4.6.bb | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-)
meta/recipes-extended/cups/cups_1.4.6.bb +5 -3
@@ -1,7 +1,8 @@ require cups14.inc -PR = "r0" -DEPENDS += "libusb" +PR = "r1" +DEPENDS += "libusb \ + ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=956e7600195e6139f12de8c2a5bbefa9" SRC_URI += " \
@@ -12,6 +13,7 @@ SRC_URI += " \ SRC_URI[md5sum] = "de8fb5a29c36554925c0c6a6e2c0dae1" SRC_URI[sha256sum] = "f08711702a77b52c7150f96fe1f45482f6151cb95ef601268c528607fe6ad514" -EXTRA_OECONF += " --disable-gssapi --enable-debug --disable-relro --enable-libusb" +EXTRA_OECONF += " --disable-gssapi --enable-debug --disable-relro --enable-libusb \ + ${@base_contains('DISTRO_FEATURES', 'pam', '--enable-pam', '--disable-pam', d)}" CONFFILES_${PN} += "${sysconfdir}/cups/cupsd.conf"
Signature · 1 line
1.7.3.4
PATCH 15/35 screen: add pam support
In reply to Saul WoldFrom: Kang Kai <[email protected]>
According to DISTRO_FEATURES then add screen pam support or not. Press "Ctrl+a x" will lock the screen terminal, then unlock it will use pam.
Add pam related configure file sceen.pam from Fedora.
--- .../screen/screen-4.0.3/screen.pam | 2 + meta/recipes-extended/screen/screen_4.0.3.bb | 23 +++++++++++++++---- 2 files changed, 20 insertions(+), 5 deletions(-) create mode 100644 meta/recipes-extended/screen/screen-4.0.3/screen.pam
meta/recipes-extended/screen/screen-4.0.3/screen.pam new file +2 -0
@@ -0,0 +1,2 @@ +#%PAM-1.0 +auth include common-auth
meta/recipes-extended/screen/screen_4.0.3.bb +18 -5
@@ -10,12 +10,16 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0774d66808b0f602e94448108f59448b \ file://screen.h;endline=23;md5=9a7ae69a2aafed891bf7c38ddf9f6b7d" SECTION = "console/utils" -DEPENDS = "ncurses" -PR = "r0" +DEPENDS = "ncurses \ + ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" +PR = "r1" SRC_URI = "${GNU_MIRROR}/screen/screen-${PV}.tar.gz;name=tarball \ ${DEBIAN_MIRROR}/main/s/screen/screen_4.0.3-11+lenny1.diff.gz;name=patch \ - file://configure.patch" + file://configure.patch \ + ${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)}" + +PAM_SRC_URI = "file://screen.pam" SRC_URI[tarball.md5sum] = "8506fd205028a96c741e4037de6e3c42" SRC_URI[tarball.sha256sum] = "78f0d5b1496084a5902586304d4a73954b2bfe33ea13edceecf21615c39e6c77"
@@ -25,5 +29,14 @@ SRC_URI[patch.sha256sum] = "19130d097e9ed897c84a2c640634dd36ee3233c17b0bf5d18549 inherit autotools -EXTRA_OECONF = "--with-pty-mode=0620 --with-pty-group=5" - +EXTRA_OECONF = "--with-pty-mode=0620 --with-pty-group=5 \ + ${@base_contains('DISTRO_FEATURES', 'pam', '--enable-pam', '--disable-pam', d)}" + +do_install_append () { + for feature in ${DISTRO_FEATURES}; do + if [ "$feature" = "pam" ]; then + install -D -m 644 ${WORKDIR}/screen.pam ${D}/${sysconfdir}/pam.d/screen + break + fi + done +}
Signature · 1 line
1.7.3.4
PATCH 16/35 sudo: add pam support
In reply to Saul WoldFrom: Kang Kai <[email protected]>
According to DISTRO_FEATURES to add pam support for sudo, and import configure file from Fedora.
--- meta/recipes-extended/sudo/files/sudo.pam | 6 ++++++ meta/recipes-extended/sudo/sudo_1.8.1p2.bb | 18 +++++++++++++++--- 2 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 meta/recipes-extended/sudo/files/sudo.pam
meta/recipes-extended/sudo/files/sudo.pam new file +6 -0
@@ -0,0 +1,6 @@ +#%PAM-1.0 +auth include common-auth +account include common-account +password include common-password +session required pam_keyinit.so revoke +session required pam_limits.so
meta/recipes-extended/sudo/sudo_1.8.1p2.bb +15 -3
@@ -1,11 +1,23 @@ require sudo.inc -PR = "r0" +PR = "r1" SRC_URI = "http://ftp.sudo.ws/sudo/dist/sudo-${PV}.tar.gz \ - file://libtool.patch" + file://libtool.patch \ + ${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)}" + +PAM_SRC_URI = "file://sudo.pam" SRC_URI[md5sum] = "e8330f0e63b0ecb2e12b5c76922818cc" SRC_URI[sha256sum] = "281f90c80547cf22132e351e7f61c25ba4ba9cf393438468f318f9a7884026fb" -EXTRA_OECONF += " --with-pam=no" +EXTRA_OECONF += " ${@base_contains('DISTRO_FEATURES', 'pam', '--with-pam', '--without-pam', d)}" + +do_install_append () { + for feature in ${DISTRO_FEATURES}; do + if [ "$feature" = "pam" ]; then + install -D -m 664 ${WORKDIR}/sudo.pam ${D}/${sysconfdir}/pam.d/sudo + break + fi + done +}
Signature · 1 line
1.7.3.4
PATCH 17/35 cronie: enable PAM support for cronie
In reply to Saul WoldFrom: Wenzong Fan <[email protected]>
Enable PAM support for cronie and update its pam config file 'crond'.
--- .../cronie/cronie/crond_pam_config.patch | 19 +++++++++++++++++++ meta/recipes-extended/cronie/cronie_1.4.7.bb | 12 ++++++++++-- 2 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-extended/cronie/cronie/crond_pam_config.patch
meta/recipes-extended/cronie/cronie/crond_pam_config.patch new file +19 -0
@@ -0,0 +1,19 @@ +password-auth is the Fedora's common pam configure file, use oe common pam +configure files instead. + +Upstream-Status: Pending + +Signed-off-by: Wenzong Fan <[email protected]> +--- cronie-1.4.7/pam/crond.orig 2010-12-16 16:59:02.000000000 +0800 ++++ cronie-1.4.7/pam/crond 2011-07-20 09:47:16.080819203 +0800 +@@ -4,7 +4,7 @@ + # + # No PAM authentication called, auth modules not needed + account required pam_access.so +-account include password-auth ++account include common-account + session required pam_loginuid.so +-session include password-auth +-auth include password-auth ++session include common-session-noninteractive ++auth include common-auth
meta/recipes-extended/cronie/cronie_1.4.7.bb +10 -2
@@ -14,17 +14,25 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=963ea0772a2adbdcd607a9b2ec320c11 \ SECTION = "utils" -PR = "r2" +DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" +PR = "r3" SRC_URI = "https://fedorahosted.org/releases/c/r/cronie/cronie-${PV}.tar.gz \ file://crond.init \ - file://crontab" + file://crontab \ + ${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)}" + +PAM_SRC_URI = "file://crond_pam_config.patch" + SRC_URI[md5sum] = "dfc26c47756d0c40ee27ae3c7ee98e0d" SRC_URI[sha256sum] = "83bae15ae5504454ba74f4142f5db3aa22be594327fea19d2534f65803137fbd" inherit autotools update-rc.d +EXTRA_OECONF += "\ + ${@base_contains('DISTRO_FEATURES', 'pam', '--with-libpam', '--without-libpam', d)}" + INITSCRIPT_NAME = "crond" INITSCRIPT_PARAMS = "start 90 2 3 4 5 . stop 60 0 1 6 ."
Signature · 1 line
1.7.3.4
PATCH 18/35 shadow: update pam related configure files
In reply to Saul WoldFrom: Kang Kai <[email protected]>
add shadow-update-pam-conf.patch to update the pam related configure files in oe way rather than Fedora.
--- .../shadow/files/shadow-update-pam-conf.patch | 91 ++++++++++++++++++++ meta/recipes-extended/shadow/shadow_4.1.4.3.bb | 5 +- 2 files changed, 94 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-extended/shadow/files/shadow-update-pam-conf.patch
meta/recipes-extended/shadow/files/shadow-update-pam-conf.patch new file +91 -0
@@ -0,0 +1,91 @@ +The system-auth in the configure files is from Fedora which put all the 4 pam type rules +in one file. +In yocto it obey the way with Debian/Ubuntu, and the names are common-auth, common-account, +common-password and common-session. +So update them with oe way. + +Upstream-Status: Pending + +Signed-off-by: Kang Kai <[email protected]> + +diff -Nur shadow-4.1.4.3/etc/pam.d.orig/chage shadow-4.1.4.3/etc/pam.d/chage +--- shadow-4.1.4.3/etc/pam.d.orig/chage 2011-07-20 19:02:27.384844958 +0800 ++++ shadow-4.1.4.3/etc/pam.d/chage 2011-07-20 19:03:08.964844958 +0800 +@@ -1,4 +1,4 @@ + #%PAM-1.0 + auth sufficient pam_rootok.so + account required pam_permit.so +-password include system-auth ++password include common-password +diff -Nur shadow-4.1.4.3/etc/pam.d.orig/chgpasswd shadow-4.1.4.3/etc/pam.d/chgpasswd +--- shadow-4.1.4.3/etc/pam.d.orig/chgpasswd 2011-07-20 19:02:27.384844958 +0800 ++++ shadow-4.1.4.3/etc/pam.d/chgpasswd 2011-07-20 19:03:26.544844958 +0800 +@@ -1,4 +1,4 @@ + #%PAM-1.0 + auth sufficient pam_rootok.so + account required pam_permit.so +-password include system-auth ++password include common-password +diff -Nur shadow-4.1.4.3/etc/pam.d.orig/groupadd shadow-4.1.4.3/etc/pam.d/groupadd +--- shadow-4.1.4.3/etc/pam.d.orig/groupadd 2011-07-20 19:02:27.384844958 +0800 ++++ shadow-4.1.4.3/etc/pam.d/groupadd 2011-07-20 19:04:08.124844958 +0800 +@@ -1,4 +1,4 @@ + #%PAM-1.0 + auth sufficient pam_rootok.so + account required pam_permit.so +-password include system-auth ++password include common-password +diff -Nur shadow-4.1.4.3/etc/pam.d.orig/groupdel shadow-4.1.4.3/etc/pam.d/groupdel +--- shadow-4.1.4.3/etc/pam.d.orig/groupdel 2011-07-20 19:02:27.384844958 +0800 ++++ shadow-4.1.4.3/etc/pam.d/groupdel 2011-07-20 19:04:26.114844958 +0800 +@@ -1,4 +1,4 @@ + #%PAM-1.0 + auth sufficient pam_rootok.so + account required pam_permit.so +-password include system-auth ++password include common-password +diff -Nur shadow-4.1.4.3/etc/pam.d.orig/groupmems shadow-4.1.4.3/etc/pam.d/groupmems +--- shadow-4.1.4.3/etc/pam.d.orig/groupmems 2011-07-20 19:02:27.384844958 +0800 ++++ shadow-4.1.4.3/etc/pam.d/groupmems 2011-07-20 19:04:35.074844958 +0800 +@@ -1,4 +1,4 @@ + #%PAM-1.0 + auth sufficient pam_rootok.so + account required pam_permit.so +-password include system-auth ++password include common-password +diff -Nur shadow-4.1.4.3/etc/pam.d.orig/groupmod shadow-4.1.4.3/etc/pam.d/groupmod +--- shadow-4.1.4.3/etc/pam.d.orig/groupmod 2011-07-20 19:02:27.384844958 +0800 ++++ shadow-4.1.4.3/etc/pam.d/groupmod 2011-07-20 19:04:44.864844958 +0800 +@@ -1,4 +1,4 @@ + #%PAM-1.0 + auth sufficient pam_rootok.so + account required pam_permit.so +-password include system-auth ++password include common-password +diff -Nur shadow-4.1.4.3/etc/pam.d.orig/useradd shadow-4.1.4.3/etc/pam.d/useradd +--- shadow-4.1.4.3/etc/pam.d.orig/useradd 2011-07-20 19:02:27.384844958 +0800 ++++ shadow-4.1.4.3/etc/pam.d/useradd 2011-07-20 19:07:26.244844958 +0800 +@@ -1,4 +1,4 @@ + #%PAM-1.0 + auth sufficient pam_rootok.so + account required pam_permit.so +-password include system-auth ++password include common-password +diff -Nur shadow-4.1.4.3/etc/pam.d.orig/userdel shadow-4.1.4.3/etc/pam.d/userdel +--- shadow-4.1.4.3/etc/pam.d.orig/userdel 2011-07-20 19:02:27.384844958 +0800 ++++ shadow-4.1.4.3/etc/pam.d/userdel 2011-07-20 19:07:35.734844958 +0800 +@@ -1,4 +1,4 @@ + #%PAM-1.0 + auth sufficient pam_rootok.so + account required pam_permit.so +-password include system-auth ++password include common-password +diff -Nur shadow-4.1.4.3/etc/pam.d.orig/usermod shadow-4.1.4.3/etc/pam.d/usermod +--- shadow-4.1.4.3/etc/pam.d.orig/usermod 2011-07-20 19:02:27.384844958 +0800 ++++ shadow-4.1.4.3/etc/pam.d/usermod 2011-07-20 19:07:42.024844958 +0800 +@@ -1,4 +1,4 @@ + #%PAM-1.0 + auth sufficient pam_rootok.so + account required pam_permit.so +-password include system-auth ++password include common-password
meta/recipes-extended/shadow/shadow_4.1.4.3.bb +3 -2
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=08c553a87d4e51bbed50b20e0adcaede \ DEPENDS = "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" RDEPENDS_${PN} = "${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_PLUGINS}', '', d)}" -PR = "r2" +PR = "r3" SRC_URI = "ftp://pkg-shadow.alioth.debian.org/pub/pkg-shadow/shadow-${PV}.tar.bz2 \ file://login_defs_pam.sed \
@@ -19,7 +19,8 @@ SRC_URI = "ftp://pkg-shadow.alioth.debian.org/pub/pkg-shadow/shadow-${PV}.tar.bz file://shadow-4.1.3-dots-in-usernames.patch \ file://shadow-4.1.4.2-env-reset-keep-locale.patch \ file://shadow-4.1.4.2-groupmod-pam-check.patch \ - file://shadow-4.1.4.2-su_no_sanitize_env.patch" + file://shadow-4.1.4.2-su_no_sanitize_env.patch \ + file://shadow-update-pam-conf.patch" SRC_URI[md5sum] = "b8608d8294ac88974f27b20f991c0e79" SRC_URI[sha256sum] = "633f5bb4ea0c88c55f3642c97f9d25cbef74f82e0b4cf8d54e7ad6f9f9caa778"
Signature · 1 line
1.7.3.4
PATCH 19/35 at: enable pam support
In reply to Saul WoldFrom: Wenzong Fan <[email protected]>
add patches to make at enable pam support
--- .../at/at-3.1.12/configure-add-enable-pam.patch | 23 ++++++++++++++++++++ meta/recipes-extended/at/at-3.1.12/pam.conf.patch | 21 ++++++++++++++++++ meta/recipes-extended/at/at_3.1.12.bb | 21 ++++++++++++++--- 3 files changed, 61 insertions(+), 4 deletions(-) create mode 100644 meta/recipes-extended/at/at-3.1.12/configure-add-enable-pam.patch create mode 100644 meta/recipes-extended/at/at-3.1.12/pam.conf.patch
meta/recipes-extended/at/at-3.1.12/configure-add-enable-pam.patch new file +23 -0
@@ -0,0 +1,23 @@ +--- at-3.1.12/configure.ac 2011-06-23 14:51:03.653572945 +0800 ++++ at-3.1.12/configure.ac.new 2011-06-27 16:12:14.903572945 +0800 +@@ -81,10 +81,18 @@ + AC_FUNC_VPRINTF + AC_FUNC_GETLOADAVG + AC_CHECK_FUNCS(getcwd mktime strftime setreuid setresuid sigaction waitpid) ++ ++AC_ARG_WITH([pam], ++ [AS_HELP_STRING([--without-pam], [without PAM support])]) ++ ++if test "x$with_pam" != xno; then + AC_CHECK_HEADERS(security/pam_appl.h, [ + PAMLIB="-lpam" +- AC_DEFINE(HAVE_PAM, 1, [Define to 1 for PAM support]) +-]) ++ AC_DEFINE(HAVE_PAM, 1, [Define to 1 for PAM support])], ++ [if test "x$with_pam" = xyes; then ++ AC_MSG_ERROR([PAM selected but security/pam_misc.h not found]) ++ fi]) ++fi + + dnl Checking for programs +
meta/recipes-extended/at/at-3.1.12/pam.conf.patch new file +21 -0
@@ -0,0 +1,21 @@ +oe doesn't support "@include", use the concrete directive instead. + +Upstream-Status: Pending + +Signed-off-by: Wenzong Fan <[email protected]> +--- at-3.1.12/pam.conf.orig 2009-11-23 23:11:52.000000000 +0800 ++++ at-3.1.12/pam.conf 2011-07-15 11:14:04.132818950 +0800 +@@ -2,8 +2,8 @@ + # The PAM configuration file for the at daemon + # + +-auth required pam_env.so +-@include common-auth +-@include common-account +-@include common-session-noninteractive +-session required pam_limits.so ++auth required pam_env.so ++auth include common-auth ++account include common-account ++session include common-session-noninteractive ++session required pam_limits.so
meta/recipes-extended/at/at_3.1.12.bb +17 -4
@@ -4,10 +4,11 @@ the system load levels drop to a particular level." SECTION = "base" LICENSE="GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=4325afd396febcb659c36b49533135d4" -DEPENDS = "flex libpam initscripts" +DEPENDS = "flex libpam initscripts \ + ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" RCONFLICTS_${PN} = "atd" RREPLACES_${PN} = "atd" -PR = "r4" +PR = "r5" SRC_URI = "${DEBIAN_MIRROR}/main/a/at/at_${PV}.orig.tar.gz \ file://configure.patch \
@@ -17,7 +18,11 @@ SRC_URI = "${DEBIAN_MIRROR}/main/a/at/at_${PV}.orig.tar.gz \ file://posixtm.c \ file://posixtm.h \ file://file_replacement_with_gplv2.patch \ - file://S99at" + file://S99at \ + ${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)}" + +PAM_SRC_URI = "file://pam.conf.patch \ + file://configure-add-enable-pam.patch" SRC_URI[md5sum] = "1e67991776148fb319fd77a2e599a765" SRC_URI[sha256sum] = "7c55c6ab4fbe8add9e68f31b2b0ebf3fe805c9a4e7cfb2623a3d8a4789cc18f3"
@@ -26,7 +31,8 @@ EXTRA_OECONF += "ac_cv_path_SENDMAIL=/bin/true \ --with-daemon_username=root \ --with-daemon_groupname=root \ --with-jobdir=/var/spool/at/jobs \ - --with-atspool=/var/spool/at/spool" + --with-atspool=/var/spool/at/spool \ + ${@base_contains('DISTRO_FEATURES', 'pam', '--with-pam', '--without-pam', d)} " inherit autotools
@@ -41,6 +47,13 @@ do_install () { install -d ${D}${sysconfdir}/rcS.d install -m 0755 ${WORKDIR}/S99at ${D}${sysconfdir}/init.d/atd ln -sf ../init.d/atd ${D}${sysconfdir}/rcS.d/S99at + + for feature in ${DISTRO_FEATURES}; do + if [ "$feature" = "pam" ]; then + install -D -m 0644 ${WORKDIR}/${P}/pam.conf ${D}${sysconfdir}/pam.d/atd + break + fi + done } pkg_postinst_${PN} () {
Signature · 1 line
1.7.3.4
PATCH 20/35 openssh: Support PAM
In reply to Saul WoldFrom: Xiaofeng Yan <[email protected]>
Adding configuration file "sshd" in /etc/pam.d/ for supporting pam.
--- .../openssh/openssh-5.8p2/sshd | 10 ++++++++++ meta/recipes-connectivity/openssh/openssh_5.8p2.bb | 13 +++++++++++-- 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-connectivity/openssh/openssh-5.8p2/sshd
meta/recipes-connectivity/openssh/openssh-5.8p2/sshd new file +10 -0
@@ -0,0 +1,10 @@ +#%PAM-1.0 + +auth include common-auth +account required pam_nologin.so +account include common-account +password include common-password +session optional pam_keyinit.so force revoke +session include common-session +session required pam_loginuid.so +
meta/recipes-connectivity/openssh/openssh_5.8p2.bb +11 -2
@@ -7,7 +7,7 @@ SECTION = "console/network" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://LICENCE;md5=bae9a689be41581503bcf95d8fb42c4e" -PR = "r0" +PR = "r1" DEPENDS = "zlib openssl" DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
@@ -23,7 +23,9 @@ SRC_URI = "ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar. file://sshd_config \ file://ssh_config \ file://init \ - " + ${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)}" + +PAM_SRC_URI = "file://sshd" SRC_URI[md5sum] = "0541579adf9d55abb15ef927048d372e" SRC_URI[sha256sum] = "5c35ec7c966ce05cc4497ac59c0b54a556e55ae7368165cc8c4129694654f314"
@@ -58,6 +60,13 @@ do_compile_append () { } do_install_append () { + for i in ${DISTRO_FEATURES}; + do + if [ ${i} = "pam" ]; then + install -d ${D}${sysconfdir}/pam.d + install -m 0755 ${WORKDIR}/sshd ${D}${sysconfdir}/pam.d/sshd + fi + done install -d ${D}${sysconfdir}/init.d install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/sshd mv ${D}${bindir}/scp ${D}${bindir}/scp.${PN}
Signature · 1 line
1.7.3.4
PATCH 21/35 dropbear: Support pam
In reply to Saul WoldFrom: Xiaofeng Yan <[email protected]>
I make a patch and some changes in dropbear.inc for supporting pam.
- Enable pam in configure
- Modify file option.h to open pam supporting
--- meta/recipes-core/dropbear/dropbear.inc | 8 ++++++- .../dropbear/dropbear/dropbear-enable-pam.patch | 22 ++++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletions(-) create mode 100644 meta/recipes-core/dropbear/dropbear/dropbear-enable-pam.patch
meta/recipes-core/dropbear/dropbear.inc +7 -1
@@ -9,13 +9,17 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3a5b0c2f0d0c49dfde9558ae2036683c" DEPENDS = "zlib" RPROVIDES = "ssh sshd" +DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" SRC_URI = "http://matt.ucc.asn.au/dropbear/releases/dropbear-${PV}.tar.gz \ file://urandom-xauth-changes-to-options.h.patch \ file://configure.patch \ file://fix-2kb-keys.patch \ file://allow-nopw.patch;apply=no \ - file://init" + file://init \ + ${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)} " + +PAM_SRC_URI = "file://dropbear-enable-pam.patch" inherit autotools update-rc.d
@@ -28,6 +32,8 @@ LD = "${CC}" SBINCOMMANDS = "dropbear dropbearkey dropbearconvert" BINCOMMANDS = "dbclient ssh scp" EXTRA_OEMAKE = 'MULTI=1 SCPPROGRESS=1 PROGRAMS="${SBINCOMMANDS} ${BINCOMMANDS}"' +EXTRA_OECONF += "\ + ${@base_contains('DISTRO_FEATURES', 'pam', '--enable-pam', '--disable-pam', d)}" DISTRO_TYPE ?= "${@base_contains("IMAGE_FEATURES", "debug-tweaks", "debug", "",d)}"
meta/recipes-core/dropbear/dropbear/dropbear-enable-pam.patch new file +22 -0
@@ -0,0 +1,22 @@ +dropbear: We need modify file option.h besides enabling pam in \ +configure if we want dropbear to support pam. + +Upstream-Status: Pending + +Signed-off-by: Xiaofeng Yan <[email protected]> + +--- a/options.h 2011-07-12 13:27:39.008819183 +0800 ++++ b/options.h.new 2011-07-12 13:37:37.780819308 +0800 +@@ -149,9 +149,9 @@ + * but there's an interface via a PAM module - don't bother using it otherwise. + * You can't enable both PASSWORD and PAM. */ + +-#define ENABLE_SVR_PASSWORD_AUTH ++//#define ENABLE_SVR_PASSWORD_AUTH + /* PAM requires ./configure --enable-pam */ +-/*#define ENABLE_SVR_PAM_AUTH*/ ++#define ENABLE_SVR_PAM_AUTH + #define ENABLE_SVR_PUBKEY_AUTH + + /* Wether to ake public key options in authorized_keys file into account */ +
Signature · 1 line
1.7.3.4
PATCH 22/35 polkit: Support pam
In reply to Saul WoldFrom: Xiaofeng Yan <[email protected]>
Modify configuration "polkit-1" in /etc/pam.d/ for supporting pam.
--- .../polkit/polkit-0.101/polkit-1_pam.patch | 23 ++++++++++++++++++++ meta/recipes-extended/polkit/polkit_0.101.bb | 7 ++++- 2 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-extended/polkit/polkit-0.101/polkit-1_pam.patch
meta/recipes-extended/polkit/polkit-0.101/polkit-1_pam.patch new file +23 -0
@@ -0,0 +1,23 @@ +polkit: No system-auth in OE-Core, we can use common-* in place of it. + +Upstream-Status:Inappropriate [configuration] + +Signed-off-by: Xiaofeng Yan <[email protected]> + +--- a/configure.ac 2011-03-04 02:26:20.000000000 +0800 ++++ b/configure.ac.new 2011-07-18 10:14:12.516818852 +0800 +@@ -350,10 +350,10 @@ + PAM_FILE_INCLUDE_PASSWORD=system + PAM_FILE_INCLUDE_SESSION=system + else +- PAM_FILE_INCLUDE_AUTH=system-auth +- PAM_FILE_INCLUDE_ACCOUNT=system-auth +- PAM_FILE_INCLUDE_PASSWORD=system-auth +- PAM_FILE_INCLUDE_SESSION=system-auth ++ PAM_FILE_INCLUDE_AUTH=common-auth ++ PAM_FILE_INCLUDE_ACCOUNT=common-account ++ PAM_FILE_INCLUDE_PASSWORD=common-password ++ PAM_FILE_INCLUDE_SESSION=common-session + fi + + AC_SUBST(PAM_FILE_INCLUDE_AUTH)
meta/recipes-extended/polkit/polkit_0.101.bb +5 -2
@@ -7,8 +7,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=155db86cdbafa7532b41f390409283eb \ file://docs/polkit/html/license.html;md5=07ddbf5f29e44c80c99be19c1690ec1f" SRC_URI = "http://hal.freedesktop.org/releases/polkit-${PV}.tar.gz \ - file://introspection.patch" -PR = "r0" + file://introspection.patch \ + ${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)}" + +PAM_SRC_URI = "file://polkit-1_pam.patch" +PR = "r1" DEPENDS = "libpam expat dbus-glib eggdbus intltool" RDEPENDS_${PN} = "libpam" EXTRA_OECONF = "--with-authfw=pam --with-os-type=moblin --disable-man-pages --disable-gtk-doc --disable-introspection"
Signature · 1 line
1.7.3.4
PATCH 23/35 siteinfo: Move certain samba entries to common-linux
In reply to Saul WoldFrom: Tom Rini <[email protected]>
Part of re-syncing with oe.dev, move samba_cv_HAVE_IFACE_* to common-linux
--- meta/site/arm-linux | 4 ---- meta/site/arm-linux-uclibc | 4 ---- meta/site/armeb-linux | 2 -- meta/site/armeb-linux-uclibc | 2 -- meta/site/common-linux | 5 +++++ meta/site/mipsel-linux-uclibc | 3 --- meta/site/powerpc32-linux | 3 --- meta/site/sh-common | 2 -- 8 files changed, 5 insertions(+), 20 deletions(-)
meta/site/arm-linux +0 -4
@@ -60,13 +60,10 @@ samba_cv_HAVE_FCNTL_LOCK=${samba_cv_HAVE_FCNTL_LOCK=yes} samba_cv_HAVE_FTRUNCATE_EXTEND=${samba_cv_HAVE_FTRUNCATE_EXTEND=yes} samba_cv_HAVE_FUNCTION_MACRO=${samba_cv_HAVE_FUNCTION_MACRO=yes} samba_cv_HAVE_GETTIMEOFDAY_TZ=${samba_cv_HAVE_GETTIMEOFDAY_TZ=yes} -samba_cv_HAVE_IFACE_AIX=${samba_cv_HAVE_IFACE_AIX=no} -samba_cv_HAVE_IFACE_IFCONF=${samba_cv_HAVE_IFACE_IFCONF=yes} samba_cv_HAVE_INO64_T=${samba_cv_HAVE_INO64_T=no} samba_cv_HAVE_INT16_FROM_RPC_RPC_H=${samba_cv_HAVE_INT16_FROM_RPC_RPC_H=no} samba_cv_HAVE_INT32_FROM_RPC_RPC_H=${samba_cv_HAVE_INT32_FROM_RPC_RPC_H=no} samba_cv_HAVE_KERNEL_CHANGE_NOTIFY=${samba_cv_HAVE_KERNEL_CHANGE_NOTIFY=yes} -samba_cv_HAVE_KERNEL_OPLOCKS_IRIX=${samba_cv_HAVE_KERNEL_OPLOCKS_IRIX=no} samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=${samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=yes} samba_cv_HAVE_KERNEL_SHARE_MODES=${samba_cv_HAVE_KERNEL_SHARE_MODES=yes} samba_cv_HAVE_MAKEDEV=${samba_cv_HAVE_MAKEDEV=yes}
@@ -145,7 +142,6 @@ samba_cv_unixsocket=${samba_cv_unixsocket=yes} samba_cv_volatile=${samba_cv_volatile=yes} #older sambe defines -samba_cv_HAVE_IFACE_IFREQ=${samba_cv_HAVE_IFACE_IFREQ=yes} samba_cv_USE_SETEUID=${samba_cv_USE_SETEUID=yes} samba_cv_USE_SETREUID=${samba_cv_USE_SETREUID=yes} samba_cv_USE_SETUIDX=${samba_cv_USE_SETUIDX=yes}
meta/site/arm-linux-uclibc +0 -4
@@ -44,14 +44,10 @@ samba_cv_HAVE_FCNTL_LOCK=${samba_cv_HAVE_FCNTL_LOCK=yes} samba_cv_HAVE_FTRUNCATE_EXTEND=${samba_cv_HAVE_FTRUNCATE_EXTEND=yes} samba_cv_HAVE_FUNCTION_MACRO=${samba_cv_HAVE_FUNCTION_MACRO=yes} samba_cv_HAVE_GETTIMEOFDAY_TZ=${samba_cv_HAVE_GETTIMEOFDAY_TZ=yes} -samba_cv_HAVE_IFACE_AIX=${samba_cv_HAVE_IFACE_AIX=no} -samba_cv_HAVE_IFACE_IFCONF=${samba_cv_HAVE_IFACE_IFCONF=yes} samba_cv_HAVE_INO64_T=${samba_cv_HAVE_INO64_T=no} samba_cv_HAVE_INT16_FROM_RPC_RPC_H=${samba_cv_HAVE_INT16_FROM_RPC_RPC_H=no} samba_cv_HAVE_INT32_FROM_RPC_RPC_H=${samba_cv_HAVE_INT32_FROM_RPC_RPC_H=no} -samba_cv_HAVE_IRIX_SPECIFIC_CAPABILITIES=${samba_cv_HAVE_IRIX_SPECIFIC_CAPABILITIES=no} samba_cv_HAVE_KERNEL_CHANGE_NOTIFY=${samba_cv_HAVE_KERNEL_CHANGE_NOTIFY=yes} -samba_cv_HAVE_KERNEL_OPLOCKS_IRIX=${samba_cv_HAVE_KERNEL_OPLOCKS_IRIX=no} samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=${samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=yes} samba_cv_HAVE_KERNEL_SHARE_MODES=${samba_cv_HAVE_KERNEL_SHARE_MODES=yes} samba_cv_HAVE_MMAP=${samba_cv_HAVE_MMAP=yes}
meta/site/armeb-linux +0 -2
@@ -31,8 +31,6 @@ ac_cv_time_r_type=${ac_cv_time_r_type=POSIX} # samba samba_cv_HAVE_GETTIMEOFDAY_TZ=${samba_cv_HAVE_GETTIMEOFDAY_TZ=yes} -samba_cv_HAVE_IFACE_IFCONF=${samba_cv_HAVE_IFACE_IFCONF=yes} -samba_cv_HAVE_IFACE_IFREQ=${samba_cv_HAVE_IFACE_IFREQ=yes} samba_cv_USE_SETEUID=${samba_cv_USE_SETEUID=yes} samba_cv_USE_SETRESUID=${samba_cv_USE_SETRESUID=yes} samba_cv_USE_SETREUID=${samba_cv_USE_SETREUID=yes}
meta/site/armeb-linux-uclibc +0 -2
@@ -31,8 +31,6 @@ ac_cv_time_r_type=${ac_cv_time_r_type=POSIX} # samba samba_cv_HAVE_GETTIMEOFDAY_TZ=${samba_cv_HAVE_GETTIMEOFDAY_TZ=yes} -samba_cv_HAVE_IFACE_IFCONF=${samba_cv_HAVE_IFACE_IFCONF=yes} -samba_cv_HAVE_IFACE_IFREQ=${samba_cv_HAVE_IFACE_IFREQ=yes} samba_cv_USE_SETEUID=${samba_cv_USE_SETEUID=yes} samba_cv_USE_SETRESUID=${samba_cv_USE_SETRESUID=yes} samba_cv_USE_SETREUID=${samba_cv_USE_SETREUID=yes}
meta/site/common-linux +5 -0
@@ -0,0 +1,5 @@ +# samba +samba_cv_HAVE_IFACE_AIX=${samba_cv_HAVE_IFACE_AIX=no} +samba_cv_HAVE_IFACE_IFCONF=${samba_cv_HAVE_IFACE_IFCONF=yes} +samba_cv_HAVE_IFACE_IFREQ=${samba_cv_HAVE_IFACE_IFREQ=yes} +samba_cv_HAVE_IRIX_SPECIFIC_CAPABILITIES=${samba_cv_HAVE_IRIX_SPECIFIC_CAPABILITIES=no}
meta/site/mipsel-linux-uclibc +0 -3
@@ -93,10 +93,7 @@ samba_cv_HAVE_EXPLICIT_LARGEFILE_SUPPORT=${samba_cv_HAVE_EXPLICIT_LARGEFILE_SUPP samba_cv_HAVE_FCNTL_LOCK=${samba_cv_HAVE_FCNTL_LOCK=yes} samba_cv_HAVE_FTRUNCATE_EXTEND=${samba_cv_HAVE_FTRUNCATE_EXTEND=yes} samba_cv_HAVE_GETTIMEOFDAY_TZ=${samba_cv_HAVE_GETTIMEOFDAY_TZ=yes} -samba_cv_HAVE_IFACE_AIX=${samba_cv_HAVE_IFACE_AIX=no} -samba_cv_HAVE_IFACE_IFCONF=${samba_cv_HAVE_IFACE_IFCONF=yes} samba_cv_HAVE_INO64_T=${samba_cv_HAVE_INO64_T=no} -samba_cv_HAVE_IRIX_SPECIFIC_CAPABILITIES=${samba_cv_HAVE_IRIX_SPECIFIC_CAPABILITIES=no} samba_cv_HAVE_KERNEL_CHANGE_NOTIFY=${samba_cv_HAVE_KERNEL_CHANGE_NOTIFY=yes} samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=${samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=yes} samba_cv_HAVE_KERNEL_SHARE_MODES=${samba_cv_HAVE_KERNEL_SHARE_MODES=yes}
meta/site/powerpc32-linux +0 -3
@@ -272,9 +272,6 @@ samba_cv_HAVE_DEVICE_MINOR_FN=${samba_cv_HAVE_DEVICE_MINOR_FN=yes} samba_cv_HAVE_FCNTL_LOCK=${samba_cv_HAVE_FCNTL_LOCK=yes} samba_cv_HAVE_FTRUNCATE_EXTEND=${samba_cv_HAVE_FTRUNCATE_EXTEND=yes} samba_cv_HAVE_GETTIMEOFDAY_TZ=${samba_cv_HAVE_GETTIMEOFDAY_TZ=yes} -samba_cv_HAVE_IFACE_AIX=${samba_cv_HAVE_IFACE_AIX=no} -samba_cv_HAVE_IFACE_IFCONF=${samba_cv_HAVE_IFACE_IFCONF=yes} -samba_cv_HAVE_IFACE_IFREQ=${samba_cv_HAVE_IFACE_IFREQ=yes} samba_cv_HAVE_INO64_T=${samba_cv_HAVE_INO64_T=no} samba_cv_HAVE_KERNEL_CHANGE_NOTIFY=${samba_cv_HAVE_KERNEL_CHANGE_NOTIFY=yes} samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=${samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=yes}
meta/site/sh-common +0 -2
@@ -84,8 +84,6 @@ ac_cv_lib_png_png_create_info_struct=${ac_cv_lib_png_png_create_info_struct=yes} # samba samba_cv_HAVE_GETTIMEOFDAY_TZ=${samba_cv_HAVE_GETTIMEOFDAY_TZ=yes} -samba_cv_HAVE_IFACE_IFCONF=${samba_cv_HAVE_IFACE_IFCONF=yes} -samba_cv_HAVE_IFACE_IFREQ=${samba_cv_HAVE_IFACE_IFREQ=yes} samba_cv_USE_SETEUID=${samba_cv_USE_SETEUID=yes} samba_cv_USE_SETRESUID=${samba_cv_USE_SETRESUID=yes} samba_cv_USE_SETREUID=${samba_cv_USE_SETREUID=yes}
Signature · 1 line
1.7.3.4
PATCH 24/35 siteinfo: Move certain bash entries to common-linux
In reply to Saul WoldFrom: Tom Rini <[email protected]>
More re-sync with oe.dev
--- meta/site/arm-common | 14 -------------- meta/site/common-linux | 16 ++++++++++++++++ meta/site/ix86-common | 14 -------------- meta/site/mips-linux | 3 --- meta/site/mips-linux-uclibc | 3 --- meta/site/mipsel-linux | 14 -------------- meta/site/mipsel-linux-uclibc | 14 -------------- meta/site/powerpc-linux | 3 --- meta/site/powerpc32-linux | 13 ------------- meta/site/sh-common | 14 -------------- meta/site/sparc-linux | 3 --- meta/site/x86_64-linux | 1 - meta/site/x86_64-linux-uclibc | 1 - 13 files changed, 16 insertions(+), 97 deletions(-)
meta/site/arm-common +0 -14
@@ -14,21 +14,7 @@ apr_cv_tcp_nodelay_with_cork=${apr_cv_tcp_nodelay_with_cork=yes} # bash ac_cv_c_long_double=${ac_cv_c_long_double=yes} -bash_cv_have_mbstate_t=${bash_cv_have_mbstate_t=yes} bash_cv_func_sigsetjmp=${bash_cv_func_sigsetjmp=missing} -bash_cv_must_reinstall_sighandlers=${bash_cv_must_reinstall_sighandlers=no} -bash_cv_func_strcoll_broken=${bash_cv_func_strcoll_broken=no} -bash_cv_dup2_broken=${bash_cv_dup2_broken=no} -bash_cv_opendir_not_robust=${bash_cv_opendir_not_robust=no} -bash_cv_type_rlimit=${bash_cv_type_rlimit=rlim_t} -bash_cv_getenv_redef=${bash_cv_getenv_redef=yes} -bash_cv_ulimit_maxfds=${bash_cv_ulimit_maxfds=yes} -bash_cv_getcwd_calls_popen=${bash_cv_getcwd_calls_popen=no} -bash_cv_printf_a_format=${bash_cv_printf_a_format=yes} -bash_cv_pgrp_pipe=${bash_cv_pgrp_pipe=no} -bash_cv_job_control_missing=${bash_cv_job_control_missing=present} -bash_cv_sys_named_pipes=${bash_cv_sys_named_pipes=present} -bash_cv_unusable_rtsigs=${bash_cv_unusable_rtsigs=no} # coreutils utils_cv_sys_open_max=${utils_cv_sys_open_max=1019}
meta/site/common-linux +16 -0
@@ -3,3 +3,19 @@ samba_cv_HAVE_IFACE_AIX=${samba_cv_HAVE_IFACE_AIX=no} samba_cv_HAVE_IFACE_IFCONF=${samba_cv_HAVE_IFACE_IFCONF=yes} samba_cv_HAVE_IFACE_IFREQ=${samba_cv_HAVE_IFACE_IFREQ=yes} samba_cv_HAVE_IRIX_SPECIFIC_CAPABILITIES=${samba_cv_HAVE_IRIX_SPECIFIC_CAPABILITIES=no} + +# bash +bash_cv_have_mbstate_t=${bash_cv_have_mbstate_t=yes} +bash_cv_must_reinstall_sighandlers=${bash_cv_must_reinstall_sighandlers=no} +bash_cv_func_strcoll_broken=${bash_cv_func_strcoll_broken=no} +bash_cv_dup2_broken=${bash_cv_dup2_broken=no} +bash_cv_opendir_not_robust=${bash_cv_opendir_not_robust=no} +bash_cv_type_rlimit=${bash_cv_type_rlimit=rlim_t} +bash_cv_getenv_redef=${bash_cv_getenv_redef=yes} +bash_cv_ulimit_maxfds=${bash_cv_ulimit_maxfds=yes} +bash_cv_getcwd_calls_popen=${bash_cv_getcwd_calls_popen=no} +bash_cv_printf_a_format=${bash_cv_printf_a_format=yes} +bash_cv_pgrp_pipe=${bash_cv_pgrp_pipe=no} +bash_cv_job_control_missing=${bash_cv_job_control_missing=present} +bash_cv_sys_named_pipes=${bash_cv_sys_named_pipes=present} +bash_cv_unusable_rtsigs=${bash_cv_unusable_rtsigs=no}
meta/site/ix86-common +0 -14
@@ -58,21 +58,7 @@ ac_cv_file_lib_src_libmad_frame_h=${ac_cv_file_lib_src_libmad_frame_h=no} # bash ac_cv_c_long_double=${ac_cv_c_long_double=yes} -bash_cv_have_mbstate_t=${bash_cv_have_mbstate_t=yes} bash_cv_func_sigsetjmp=${bash_cv_func_sigsetjmp=missing} -bash_cv_must_reinstall_sighandlers=${bash_cv_must_reinstall_sighandlers=no} -bash_cv_func_strcoll_broken=${bash_cv_func_strcoll_broken=no} -bash_cv_dup2_broken=${bash_cv_dup2_broken=no} -bash_cv_opendir_not_robust=${bash_cv_opendir_not_robust=no} -bash_cv_type_rlimit=${bash_cv_type_rlimit=rlim_t} -bash_cv_getenv_redef=${bash_cv_getenv_redef=yes} -bash_cv_ulimit_maxfds=${bash_cv_ulimit_maxfds=yes} -bash_cv_getcwd_calls_popen=${bash_cv_getcwd_calls_popen=no} -bash_cv_printf_a_format=${bash_cv_printf_a_format=yes} -bash_cv_pgrp_pipe=${bash_cv_pgrp_pipe=no} -bash_cv_job_control_missing=${bash_cv_job_control_missing=present} -bash_cv_sys_named_pipes=${bash_cv_sys_named_pipes=present} -bash_cv_unusable_rtsigs=${bash_cv_unusable_rtsigs=no} # clamav clamav_av_func_working_snprintf_long=${clamav_av_func_working_snprintf_long=yes}
meta/site/mips-linux +0 -3
@@ -118,9 +118,6 @@ mono_cv_uscore=${mono_cv_uscore=no} ac_cv_va_copy=${ac_cv_va_copy=yes} ac_cv___va_copy=${ac_cv___va_copy=yes} -# readline -bash_cv_have_mbstate_t=${bash_cv_have_mbstate_t=yes} - # eds-dbus ac_cv_libiconv_utf8=${ac_cv_libiconv_utf8=yes}
meta/site/mips-linux-uclibc +0 -3
@@ -118,9 +118,6 @@ mono_cv_uscore=${mono_cv_uscore=no} ac_cv_va_copy=${ac_cv_va_copy=yes} ac_cv___va_copy=${ac_cv___va_copy=yes} -# readline -bash_cv_have_mbstate_t=${bash_cv_have_mbstate_t=yes} - # eds-dbus ac_cv_libiconv_utf8=${ac_cv_libiconv_utf8=yes}
meta/site/mipsel-linux +0 -14
@@ -8,21 +8,7 @@ ac_cv_func_malloc_0_nonnull=${ac_cv_func_malloc_0_nonnull=yes} # bash ac_cv_c_long_double=${ac_cv_c_long_double=no} -bash_cv_have_mbstate_t=${bash_cv_have_mbstate_t=yes} bash_cv_func_sigsetjmp=${bash_cv_func_sigsetjmp=present} -bash_cv_must_reinstall_sighandlers=${bash_cv_must_reinstall_sighandlers=no} -bash_cv_func_strcoll_broken=${bash_cv_func_strcoll_broken=no} -bash_cv_dup2_broken=${bash_cv_dup2_broken=no} -bash_cv_opendir_not_robust=${bash_cv_opendir_not_robust=no} -bash_cv_type_rlimit=${bash_cv_type_rlimit=rlim_t} -bash_cv_getenv_redef=${bash_cv_getenv_redef=yes} -bash_cv_ulimit_maxfds=${bash_cv_ulimit_maxfds=yes} -bash_cv_getcwd_calls_popen=${bash_cv_getcwd_calls_popen=no} -bash_cv_printf_a_format=${bash_cv_printf_a_format=yes} -bash_cv_pgrp_pipe=${bash_cv_pgrp_pipe=no} -bash_cv_job_control_missing=${bash_cv_job_control_missing=present} -bash_cv_sys_named_pipes=${bash_cv_sys_named_pipes=present} -bash_cv_unusable_rtsigs=${bash_cv_unusable_rtsigs=no} # openssh ac_cv_have_accrights_in_msghdr=${ac_cv_have_accrights_in_msghdr=no}
meta/site/mipsel-linux-uclibc +0 -14
@@ -8,21 +8,7 @@ ac_cv_func_malloc_0_nonnull=${ac_cv_func_malloc_0_nonnull=yes} # bash ac_cv_c_long_double=${ac_cv_c_long_double=no} -bash_cv_have_mbstate_t=${bash_cv_have_mbstate_t=yes} bash_cv_func_sigsetjmp=${bash_cv_func_sigsetjmp=present} -bash_cv_must_reinstall_sighandlers=${bash_cv_must_reinstall_sighandlers=no} -bash_cv_func_strcoll_broken=${bash_cv_func_strcoll_broken=no} -bash_cv_dup2_broken=${bash_cv_dup2_broken=no} -bash_cv_opendir_not_robust=${bash_cv_opendir_not_robust=no} -bash_cv_type_rlimit=${bash_cv_type_rlimit=rlim_t} -bash_cv_getenv_redef=${bash_cv_getenv_redef=yes} -bash_cv_ulimit_maxfds=${bash_cv_ulimit_maxfds=yes} -bash_cv_getcwd_calls_popen=${bash_cv_getcwd_calls_popen=no} -bash_cv_printf_a_format=${bash_cv_printf_a_format=yes} -bash_cv_pgrp_pipe=${bash_cv_pgrp_pipe=no} -bash_cv_job_control_missing=${bash_cv_job_control_missing=present} -bash_cv_sys_named_pipes=${bash_cv_sys_named_pipes=present} -bash_cv_unusable_rtsigs=${bash_cv_unusable_rtsigs=no} # openssh ac_cv_have_accrights_in_msghdr=${ac_cv_have_accrights_in_msghdr=no}
meta/site/powerpc-linux +0 -3
@@ -4,9 +4,6 @@ ac_cv_func_setgrent_void=yes ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes} -# bash -bash_cv_have_mbstate_t=${bash_cv_have_mbstate_t=yes} - # startup-notification lf_cv_sane_realloc=yes
meta/site/powerpc32-linux +0 -13
@@ -205,19 +205,6 @@ cvs_cv_func_printf_ptr=${cvs_cv_func_printf_ptr=yes} # bash ac_cv_c_long_double=${ac_cv_c_long_double=yes} bash_cv_func_sigsetjmp=${bash_cv_func_sigsetjmp=missing} -bash_cv_must_reinstall_sighandlers=${bash_cv_must_reinstall_sighandlers=no} -bash_cv_func_strcoll_broken=${bash_cv_func_strcoll_broken=no} -bash_cv_dup2_broken=${bash_cv_dup2_broken=no} -bash_cv_opendir_not_robust=${bash_cv_opendir_not_robust=no} -bash_cv_type_rlimit=${bash_cv_type_rlimit=rlim_t} -bash_cv_getenv_redef=${bash_cv_getenv_redef=yes} -bash_cv_ulimit_maxfds=${bash_cv_ulimit_maxfds=yes} -bash_cv_getcwd_calls_popen=${bash_cv_getcwd_calls_popen=no} -bash_cv_printf_a_format=${bash_cv_printf_a_format=yes} -bash_cv_pgrp_pipe=${bash_cv_pgrp_pipe=no} -bash_cv_job_control_missing=${bash_cv_job_control_missing=present} -bash_cv_sys_named_pipes=${bash_cv_sys_named_pipes=present} -bash_cv_unusable_rtsigs=${bash_cv_unusable_rtsigs=no} # openssh ac_cv_have_broken_dirname=${ac_cv_have_broken_dirname='yes'}
meta/site/sh-common +0 -14
@@ -222,21 +222,7 @@ cvs_cv_func_printf_ptr=${cvs_cv_func_printf_ptr=yes} # bash ac_cv_c_long_double=${ac_cv_c_long_double=yes} -bash_cv_have_mbstate_t=${bash_cv_have_mbstate_t=yes} bash_cv_func_sigsetjmp=${bash_cv_func_sigsetjmp=missing} -bash_cv_must_reinstall_sighandlers=${bash_cv_must_reinstall_sighandlers=no} -bash_cv_func_strcoll_broken=${bash_cv_func_strcoll_broken=no} -bash_cv_dup2_broken=${bash_cv_dup2_broken=no} -bash_cv_opendir_not_robust=${bash_cv_opendir_not_robust=no} -bash_cv_type_rlimit=${bash_cv_type_rlimit=rlim_t} -bash_cv_getenv_redef=${bash_cv_getenv_redef=yes} -bash_cv_ulimit_maxfds=${bash_cv_ulimit_maxfds=yes} -bash_cv_getcwd_calls_popen=${bash_cv_getcwd_calls_popen=no} -bash_cv_printf_a_format=${bash_cv_printf_a_format=yes} -bash_cv_pgrp_pipe=${bash_cv_pgrp_pipe=no} -bash_cv_job_control_missing=${bash_cv_job_control_missing=present} -bash_cv_sys_named_pipes=${bash_cv_sys_named_pipes=present} -bash_cv_unusable_rtsigs=${bash_cv_unusable_rtsigs=no} # mono cv_mono_sizeof_sunpath=108
meta/site/sparc-linux +0 -3
@@ -53,6 +53,3 @@ glib_cv_stack_grows=${glib_cv_stack_grows=no} #linux ac_cv_linux_vers=${ac_cv_linux_vers=2} - -#bash -bash_cv_have_mbstate_t=${bash_cv_have_mbstate_t=yes}
meta/site/x86_64-linux +0 -1
@@ -32,7 +32,6 @@ ac_cv_sizeof_ino_t=${ac_cv_sizeof_ino_t=8} ac_cv_sizeof_dev_t=${ac_cv_sizeof_dev_t=8} ac_cv_sizeof_void_p=${ac_cv_sizeof_void_p=8} ac_cv_strerror_r_SUSv3=${ac_cv_strerror_r_SUSv3=no} -bash_cv_have_mbstate_t=${bash_cv_have_mbstate_t=yes} db_cv_alignp_t=${db_cv_alignp_t='unsigned long long'} db_cv_align_t=${db_cv_align_t='unsigned long long'} db_cv_fcntl_f_setfd=${db_cv_fcntl_f_setfd=yes}
meta/site/x86_64-linux-uclibc +0 -1
@@ -24,7 +24,6 @@ ac_cv_sizeof_short_int=${ac_cv_sizeof_short_int=2} ac_cv_sizeof_size_t=${ac_cv_sizeof_size_t=8} ac_cv_sizeof_void_p=${ac_cv_sizeof_void_p=8} ac_cv_strerror_r_SUSv3=${ac_cv_strerror_r_SUSv3=no} -bash_cv_have_mbstate_t=${bash_cv_have_mbstate_t=yes} db_cv_alignp_t=${db_cv_alignp_t='unsigned long long'} db_cv_align_t=${db_cv_align_t='unsigned long long'} db_cv_fcntl_f_setfd=${db_cv_fcntl_f_setfd=yes}
Signature · 1 line
1.7.3.4
Re: [Consolidated & Tested 24/35] siteinfo: Move certain bash entries to common-linux
meta/site/arm-common apr_cv_tcp_nodelay_with_cork=${apr_cv_tcp_nodelay_with_cork=yes} · line 17
Quoted 10 lines · Saul Wold
meta/site/arm-common +0
-1@@ -14,21 +14,7 @@ apr_cv_tcp_nodelay_with_cork=${apr_cv_tcp_nodelay_with_cork=yes} # bash ac_cv_c_long_double=${ac_cv_c_long_double=yes} -bash_cv_have_mbstate_t=${bash_cv_have_mbstate_t=yes} bash_cv_func_sigsetjmp=${bash_cv_func_sigsetjmp=missing}
That sigsetjmp thing looks pretty bogus to me. sigsetjmp() is POSIX.1; it isn't (shouldn't be) architecture specific in any way, and both eglibc and uclibc implement it nowadays. I think you should probably have sigsetjmp=present in linux-common.
p.
Re: [Consolidated & Tested 24/35] siteinfo: Move certain bash entries to common-linux
Quoted 7 lines · Phil Blundell
Quoted 6 lines · Saul Wold
meta/site/arm-common +0
-0@@ -14,21 +14,7 @@ apr_cv_tcp_nodelay_with_cork=${apr_cv_tcp_nodelay_with_cork=yes}
Quoted 9 lines
meta/site/arm-common apr_cv_tcp_nodelay_with_cork=${apr_cv_tcp_nodelay_with_cork=yes} · line 17
Quoted 4 lines
meta/site/arm-common +0
-1# bash ac_cv_c_long_double=${ac_cv_c_long_double=yes} -bash_cv_have_mbstate_t=${bash_cv_have_mbstate_t=yes} bash_cv_func_sigsetjmp=${bash_cv_func_sigsetjmp=missing}That sigsetjmp thing looks pretty bogus to me.
sigsetjmp()is POSIX.1; it isn't (shouldn't be) architecture specific in any way, and both eglibc and uclibc implement it nowadays. I think you should probably have sigsetjmp=present in linux-common.
This is tangential to this patch, could you send one handling that issue please? :)
Cheers,
Richard
Re: [Consolidated & Tested 24/35] siteinfo: Move certain bash entries to common-linux
In reply to Phil BlundellQuoted 7 lines · Phil Blundell
Quoted 6 lines · Saul Wold
meta/site/arm-common +0
-0@@ -14,21 +14,7 @@ apr_cv_tcp_nodelay_with_cork=${apr_cv_tcp_nodelay_with_cork=yes}
Quoted 9 lines
meta/site/arm-common apr_cv_tcp_nodelay_with_cork=${apr_cv_tcp_nodelay_with_cork=yes} · line 17
Quoted 4 lines
meta/site/arm-common +0
-1# bash ac_cv_c_long_double=${ac_cv_c_long_double=yes} -bash_cv_have_mbstate_t=${bash_cv_have_mbstate_t=yes} bash_cv_func_sigsetjmp=${bash_cv_func_sigsetjmp=missing}That sigsetjmp thing looks pretty bogus to me.
sigsetjmp()is POSIX.1; it isn't (shouldn't be) architecture specific in any way, and both eglibc and uclibc implement it nowadays. I think you should probably have sigsetjmp=present in linux-common.
Agreed that we're far from complete here. oe.dev has this one done and once I've got the rest of the oe.dev re-sync done I'm just going to wipe the site files clean and see what's needed anywhere, really.
Signature · 2 lines
Tom Rini Mentor Graphics Corporation
Re: [Consolidated & Tested 24/35] siteinfo: Move certain bash entries to common-linux
Quoted 3 lines · Tom Rini
Agreed that we're far from complete here. oe.dev has this one done and once I've got the rest of the oe.dev re-sync done I'm just going to wipe the site files clean and see what's needed anywhere, really.
Out of interest, why are you doing the resync first? It seems like it would be a better use of time to wipe the site files clean and see which bits we need before spending time on syncing them up.
p.
Re: [Consolidated & Tested 24/35] siteinfo: Move certain bash entries to common-linux
Quoted 8 lines · Phil Blundell
Quoted 3 lines · Tom Rini
Agreed that we're far from complete here. oe.dev has this one done and once I've got the rest of the oe.dev re-sync done I'm just going to wipe the site files clean and see what's needed anywhere, really.
Out of interest, why are you doing the resync first? It seems like it would be a better use of time to wipe the site files clean and see which bits we need before spending time on syncing them up.
Partly to go from something working to something working better and partly since I didn't realize just how bad things were until I started digging.
Signature · 2 lines
Tom Rini Mentor Graphics Corporation
PATCH 25/35 x86_64-linux siteinfo: Add bash info
In reply to Saul WoldFrom: Tom Rini <[email protected]>
Taken from oe.dev
--- meta/site/x86_64-linux | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
meta/site/x86_64-linux +5 -0
@@ -89,6 +89,11 @@ ac_cv_lib_m_sin=${ac_cv_lib_m_sin=yes} #orbit libIDL_cv_long_long_format=ll + +# bash +bash_cv_func_sigsetjmp=${bash_cv_func_sigsetjmp=present} + +# ORBit2 ac_cv_alignof_CORBA_boolean=1 ac_cv_alignof_CORBA_char=1 ac_cv_alignof_CORBA_double=8
Signature · 1 line
1.7.3.4
PATCH 26/35 siteinfo: Move certain mysql entries to common-linux
In reply to Saul WoldFrom: Tom Rini <[email protected]>
More re-sync with oe.dev
--- meta/site/arm-common | 1 - meta/site/arm-linux | 1 - meta/site/arm-linux-uclibc | 1 - meta/site/armeb-linux | 1 - meta/site/armeb-linux-uclibc | 1 - meta/site/common-linux | 4 ++++ meta/site/ix86-common | 3 --- meta/site/powerpc32-linux | 2 -- meta/site/sh-common | 2 -- meta/site/sparc-linux | 1 - 10 files changed, 4 insertions(+), 13 deletions(-)
meta/site/arm-common +0 -1
@@ -138,7 +138,6 @@ cv_mono_sizeof_sunpath=108 # mysql mysql_cv_func_atomic_sub=${mysql_cv_func_atomic_sub=no} mysql_cv_func_atomic_add=${mysql_cv_func_atomic_add=no} -ac_cv_conv_longlong_to_float=${ac_cv_conv_longlong_to_float=yes} # nano ac_cv_regexec_segfault_emptystr=${ac_cv_regexec_segfault_emptystr=no}
meta/site/arm-linux +0 -1
@@ -34,7 +34,6 @@ ac_cv_sizeof_unsigned_long=${ac_cv_sizeof_unsigned_long=4} ac_cv_sizeof_unsigned_long_long=${ac_cv_sizeof_unsigned_long_long=8} ac_cv_sizeof_signed_char=${ac_cv_sizeof_signed_char=1} -ac_cv_sys_restartable_syscalls=yes ac_cv_uchar=${ac_cv_uchar=no} ac_cv_uint=${ac_cv_uint=yes} ac_cv_ulong=${ac_cv_ulong=yes}
meta/site/arm-linux-uclibc +0 -1
@@ -18,7 +18,6 @@ ac_cv_sizeof_size_t=${ac_cv_sizeof_size_t=4} ac_cv_sizeof_void_p=${ac_cv_sizeof_void_p=4} ac_cv_sizeof_long_double=${ac_cv_sizeof_long_double=8} -ac_cv_sys_restartable_syscalls=yes ac_cv_uchar=${ac_cv_uchar=no} ac_cv_uint=${ac_cv_uint=yes} ac_cv_ulong=${ac_cv_ulong=yes}
meta/site/armeb-linux +0 -1
@@ -21,7 +21,6 @@ ac_cv_sizeof_char_p=${ac_cv_sizeof_char_p=4} ac_cv_sizeof_unsigned=${ac_cv_sizeof_unsigned=4} ac_cv_sizeof_ptrdiff_t=${glib_cv_sizeof_ptrdiff_t=4} -ac_cv_sys_restartable_syscalls=yes ac_cv_uchar=${ac_cv_uchar=no} ac_cv_uint=${ac_cv_uint=yes} ac_cv_ulong=${ac_cv_ulong=yes}
meta/site/armeb-linux-uclibc +0 -1
@@ -21,7 +21,6 @@ ac_cv_sizeof_char_p=${ac_cv_sizeof_char_p=4} ac_cv_sizeof_unsigned=${ac_cv_sizeof_unsigned=4} ac_cv_sizeof_ptrdiff_t=${glib_cv_sizeof_ptrdiff_t=4} -ac_cv_sys_restartable_syscalls=yes ac_cv_uchar=${ac_cv_uchar=no} ac_cv_uint=${ac_cv_uint=yes} ac_cv_ulong=${ac_cv_ulong=yes}
meta/site/common-linux +4 -0
@@ -19,3 +19,7 @@ bash_cv_pgrp_pipe=${bash_cv_pgrp_pipe=no} bash_cv_job_control_missing=${bash_cv_job_control_missing=present} bash_cv_sys_named_pipes=${bash_cv_sys_named_pipes=present} bash_cv_unusable_rtsigs=${bash_cv_unusable_rtsigs=no} + +# mysql +ac_cv_sys_restartable_syscalls=${ac_cv_sys_restartable_syscalls=yes} +ac_cv_conv_longlong_to_float=${ac_cv_conv_longlong_to_float=yes}
meta/site/ix86-common +0 -3
@@ -47,7 +47,6 @@ lf_cv_sane_realloc=yes jm_cv_func_gettimeofday_clobber=no samba_cv_HAVE_GETTIMEOFDAY_TZ=yes bf_lsbf=1 -ac_cv_sys_restartable_syscalls=yes ac_cv_uchar=${ac_cv_uchar=no} ac_cv_uint=${ac_cv_uint=yes} ac_cv_ulong=${ac_cv_ulong=yes}
@@ -126,7 +125,6 @@ glib_cv_use_pid_surrogate=${glib_cv_use_pid_surrogate=yes} ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes} # guile -ac_cv_sys_restartable_syscalls=yes ac_cv_uchar=${ac_cv_uchar=no} ac_cv_uint=${ac_cv_uint=yes} ac_cv_ulong=${ac_cv_ulong=yes}
@@ -165,7 +163,6 @@ cv_mono_sizeof_sunpath=108 # mysql mysql_cv_func_atomic_sub=${mysql_cv_func_atomic_sub=yes} mysql_cv_func_atomic_add=${mysql_cv_func_atomic_add=yes} -ac_cv_conv_longlong_to_float=${ac_cv_conv_longlong_to_float=yes} # ORBit2 ac_cv_alignof_CORBA_boolean=1
meta/site/powerpc32-linux +0 -2
@@ -28,7 +28,6 @@ ac_cv_sizeof_unsigned_short=${ac_cv_sizeof_unsigned_short=2} ac_cv_sizeof_unsigned_short_int=${ac_cv_sizeof_unsigned_short_int=2} ac_cv_sizeof_void_p=${ac_cv_sizeof_void_p=4} ac_cv_sizeof_wchar_t=${ac_cv_sizeof_wchar_t=4} -ac_cv_sys_restartable_syscalls=yes ac_cv_type___int64=${ac_cv_type___int64=no} ac_cv_type_size_t=${ac_cv_type_size_t=yes} ac_cv_type_void_p=${ac_cv_type_void_p=yes}
@@ -296,7 +295,6 @@ ac_cv_sync_with_stdio_2=${ac_cv_sync_with_stdio_2=yes} # mysql mysql_cv_func_atomic_sub=${mysql_cv_func_atomic_sub=no} mysql_cv_func_atomic_add=${mysql_cv_func_atomic_add=no} -ac_cv_conv_longlong_to_float=${ac_cv_conv_longlong_to_float=yes} # sudo sudo_cv_uid_t_len=${sudo_cv_uid_t_len=10}
meta/site/sh-common +0 -2
@@ -24,7 +24,6 @@ ac_cv_sizeof_signed_char=${ac_cv_sizeof_signed_char=1} # lzo ac_cv_sizeof_char_p=${ac_cv_sizeof_char_p=4} -ac_cv_sys_restartable_syscalls=yes ac_cv_uchar=${ac_cv_uchar=no} ac_cv_uint=${ac_cv_uint=yes} ac_cv_ulong=${ac_cv_ulong=yes}
@@ -230,7 +229,6 @@ cv_mono_sizeof_sunpath=108 # mysql mysql_cv_func_atomic_sub=${mysql_cv_func_atomic_sub=no} mysql_cv_func_atomic_add=${mysql_cv_func_atomic_add=no} -ac_cv_conv_longlong_to_float=${ac_cv_conv_longlong_to_float=yes} # rp-pppoe rpppoe_cv_pack_bitfields=${rpppoe_cv_pack_bitfields=rev}
meta/site/sparc-linux +0 -1
@@ -29,7 +29,6 @@ ac_cv_alignof_CORBA_long_double=4 ac_cv_c_long_double=${ac_cv_c_long_double=yes} -ac_cv_sys_restartable_syscalls=yes ac_cv_uchar=${ac_cv_uchar=no} ac_cv_uint=${ac_cv_uint=yes} ac_cv_ulong=${ac_cv_ulong=yes}
Signature · 1 line
1.7.3.4
PATCH 27/35 siteinfo: Move the rp-pppoe entry to common-linux
In reply to Saul WoldFrom: Tom Rini <[email protected]>
More oe.dev re-sync.
--- meta/site/arm-linux | 3 --- meta/site/common-linux | 3 +++ meta/site/ix86-common | 3 --- meta/site/mips-linux | 3 --- meta/site/mips-linux-uclibc | 3 --- meta/site/mipsel-linux | 3 --- meta/site/mipsel-linux-uclibc | 2 -- meta/site/sh-common | 3 --- 8 files changed, 3 insertions(+), 20 deletions(-)
meta/site/arm-linux +0 -3
@@ -171,6 +171,3 @@ ac_cv_func_pthread_attr_getstack=${ac_cv_func_pthread_attr_getstack=yes} ac_cv_member_struct_sockaddr_sa_len=${ac_cv_member_struct_sockaddr_sa_len=no} ac_cv_gnet_have_abstract_sockets=${ac_cv_gnet_have_abstract_sockets=no} gnet_sockaddr_family_field_name=${gnet_sockaddr_family_field_name=ss_family} - -# rp-pppoe -rpppoe_cv_pack_bitfields=${rpppoe_cv_pack_bitfields=rev}
meta/site/common-linux +3 -0
@@ -23,3 +23,6 @@ bash_cv_unusable_rtsigs=${bash_cv_unusable_rtsigs=no} # mysql ac_cv_sys_restartable_syscalls=${ac_cv_sys_restartable_syscalls=yes} ac_cv_conv_longlong_to_float=${ac_cv_conv_longlong_to_float=yes} + +# rp-pppoe +rpppoe_cv_pack_bitfields=${rpppoe_cv_pack_bitfields=rev}
meta/site/ix86-common +0 -3
@@ -187,9 +187,6 @@ ac_cv_pread=${ac_cv_pread=no} ac_cv_pwrite=${ac_cv_pwrite=no} php_cv_lib_cookie_io_functions_use_off64_t=${php_cv_lib_cookie_io_functions_use_off64_t=yes} -# rp-pppoe -rpppoe_cv_pack_bitfields=${rpppoe_cv_pack_bitfields=rev} - # rsync rsync_cv_HAVE_BROKEN_LARGEFILE=${rsync_cv_HAVE_BROKEN_LARGEFILE=no} rsync_cv_HAVE_SOCKETPAIR=${rsync_cv_HAVE_SOCKETPAIR=yes}
meta/site/mips-linux +0 -3
@@ -63,9 +63,6 @@ wi_cv_struct_timeval_tv_sec=${wi_cv_struct_timeval_tv_sec=long} wi_cv_struct_timeval_tv_usec=${wi_cv_struct_timeval_tv_usec=long} wi_cv_unix_domain_sockets=${wi_cv_unix_domain_sockets=yes} -# rp-pppoe -rpppoe_cv_pack_bitfields=${rpppoe_cv_pack_bitfields=rev} - # db3 db_cv_align_t=${db_cv_align_t='unsigned long long'} db_cv_alignp_t=${db_cv_alignp_t='unsigned long'}
meta/site/mips-linux-uclibc +0 -3
@@ -63,9 +63,6 @@ wi_cv_struct_timeval_tv_sec=${wi_cv_struct_timeval_tv_sec=long} wi_cv_struct_timeval_tv_usec=${wi_cv_struct_timeval_tv_usec=long} wi_cv_unix_domain_sockets=${wi_cv_unix_domain_sockets=yes} -# rp-pppoe -rpppoe_cv_pack_bitfields=${rpppoe_cv_pack_bitfields=rev} - # db3 db_cv_align_t=${db_cv_align_t='unsigned long long'} db_cv_alignp_t=${db_cv_alignp_t='unsigned long'}
meta/site/mipsel-linux +0 -3
@@ -64,9 +64,6 @@ wi_cv_struct_timeval_tv_sec=${wi_cv_struct_timeval_tv_sec=long} wi_cv_struct_timeval_tv_usec=${wi_cv_struct_timeval_tv_usec=long} wi_cv_unix_domain_sockets=${wi_cv_unix_domain_sockets=yes} -# rp-pppoe -rpppoe_cv_pack_bitfields=${rpppoe_cv_pack_bitfields=rev} - # db3 db_cv_align_t=${db_cv_align_t='unsigned long long'} db_cv_alignp_t=${db_cv_alignp_t='unsigned long'}
meta/site/mipsel-linux-uclibc +0 -2
@@ -113,5 +113,3 @@ samba_cv_sysquotas_file=${samba_cv_sysquotas_file=lib/sysquotas_4A.c} # doesn't cache it. samba_cv_LINUX_LFS_SUPPORT=${samba_cv_LINUX_LFS_SUPPORT=yes} -# rp-pppoe -rpppoe_cv_pack_bitfields=${rpppoe_cv_pack_bitfields=rev}
meta/site/sh-common +0 -3
@@ -230,9 +230,6 @@ cv_mono_sizeof_sunpath=108 mysql_cv_func_atomic_sub=${mysql_cv_func_atomic_sub=no} mysql_cv_func_atomic_add=${mysql_cv_func_atomic_add=no} -# rp-pppoe -rpppoe_cv_pack_bitfields=${rpppoe_cv_pack_bitfields=rev} - # gettext am_cv_func_working_getline=${am_cv_func_working_getline=yes}
Signature · 1 line
1.7.3.4
Re: [Consolidated & Tested 27/35] siteinfo: Move the rp-pppoe entry to common-linux
meta/site/common-linux bash_cv_unusable_rtsigs=${bash_cv_unusable_rtsigs=no} · line 28
Quoted 9 lines · Saul Wold
meta/site/common-linux +3
-0@@ -23,3 +23,6 @@ bash_cv_unusable_rtsigs=${bash_cv_unusable_rtsigs=no} # mysql ac_cv_sys_restartable_syscalls=${ac_cv_sys_restartable_syscalls=yes} ac_cv_conv_longlong_to_float=${ac_cv_conv_longlong_to_float=yes} + +# rp-pppoe +rpppoe_cv_pack_bitfields=${rpppoe_cv_pack_bitfields=rev}
Per previous discussion, I am pretty sure this is wrong.
p.
Re: [Consolidated & Tested 27/35] siteinfo: Move the rp-pppoe entry to common-linux
Quoted 12 lines · Phil Blundell
meta/site/common-linux bash_cv_unusable_rtsigs=${bash_cv_unusable_rtsigs=no} · line 28
Quoted 9 lines · Saul Wold
meta/site/common-linux +3
-0@@ -23,3 +23,6 @@ bash_cv_unusable_rtsigs=${bash_cv_unusable_rtsigs=no} # mysql ac_cv_sys_restartable_syscalls=${ac_cv_sys_restartable_syscalls=yes} ac_cv_conv_longlong_to_float=${ac_cv_conv_longlong_to_float=yes} + +# rp-pppoe +rpppoe_cv_pack_bitfields=${rpppoe_cv_pack_bitfields=rev}Per previous discussion, I am pretty sure this is wrong.
Agreed. This is actually fixed right now in meta-oe and doesn't belong in oe-core (until someone argues rp-pppoe needs to be in oe-core).
Signature · 2 lines
Tom Rini Mentor Graphics Corporation
Re: [Consolidated & Tested 27/35] siteinfo: Move the rp-pppoe entry to common-linux
Quoted 14 lines · Tom Rini
Quoted 12 lines · Phil Blundell
meta/site/common-linux bash_cv_unusable_rtsigs=${bash_cv_unusable_rtsigs=no} · line 28
Quoted 9 lines · Saul Wold
meta/site/common-linux +3
-0@@ -23,3 +23,6 @@ bash_cv_unusable_rtsigs=${bash_cv_unusable_rtsigs=no} # mysql ac_cv_sys_restartable_syscalls=${ac_cv_sys_restartable_syscalls=yes} ac_cv_conv_longlong_to_float=${ac_cv_conv_longlong_to_float=yes} + +# rp-pppoe +rpppoe_cv_pack_bitfields=${rpppoe_cv_pack_bitfields=rev}Per previous discussion, I am pretty sure this is wrong.
Quoted 2 lines
Agreed. This is actually fixed right now in meta-oe and doesn't belong in oe-core (until someone argues rp-pppoe needs to be in oe-core).
Can someone send me the removal patch please? :)
Cheers,
Richard
Re: [Consolidated & Tested 27/35] siteinfo: Move the rp-pppoe entry to common-linux
Quoted 15 lines · Richard Purdie
Quoted 14 lines · Tom Rini
Quoted 12 lines · Phil Blundell
meta/site/common-linux bash_cv_unusable_rtsigs=${bash_cv_unusable_rtsigs=no} · line 28
Quoted 9 lines · Saul Wold
meta/site/common-linux +3
-0@@ -23,3 +23,6 @@ bash_cv_unusable_rtsigs=${bash_cv_unusable_rtsigs=no} # mysql ac_cv_sys_restartable_syscalls=${ac_cv_sys_restartable_syscalls=yes} ac_cv_conv_longlong_to_float=${ac_cv_conv_longlong_to_float=yes} + +# rp-pppoe +rpppoe_cv_pack_bitfields=${rpppoe_cv_pack_bitfields=rev}Per previous discussion, I am pretty sure this is wrong.
Quoted 4 lines
Quoted 2 lines
Agreed. This is actually fixed right now in meta-oe and doesn't belong in oe-core (until someone argues rp-pppoe needs to be in oe-core).
Can someone send me the removal patch please? :)
I've got another pile of these siteinfo bits waiting on the first pile going in. I'll add dropping this in my next pile.
Signature · 2 lines
Tom Rini Mentor Graphics Corporation
Re: [Consolidated & Tested 27/35] siteinfo: Move the rp-pppoe entry to common-linux
Quoted 16 lines · Tom Rini
Quoted 15 lines · Richard Purdie
Quoted 14 lines · Tom Rini
Quoted 12 lines · Phil Blundell
meta/site/common-linux bash_cv_unusable_rtsigs=${bash_cv_unusable_rtsigs=no} · line 28
Quoted 9 lines · Saul Wold
meta/site/common-linux +3
-0@@ -23,3 +23,6 @@ bash_cv_unusable_rtsigs=${bash_cv_unusable_rtsigs=no} # mysql ac_cv_sys_restartable_syscalls=${ac_cv_sys_restartable_syscalls=yes} ac_cv_conv_longlong_to_float=${ac_cv_conv_longlong_to_float=yes} + +# rp-pppoe +rpppoe_cv_pack_bitfields=${rpppoe_cv_pack_bitfields=rev}Per previous discussion, I am pretty sure this is wrong.
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
Agreed. This is actually fixed right now in meta-oe and doesn't belong in oe-core (until someone argues rp-pppoe needs to be in oe-core).
Can someone send me the removal patch please? :)
I've got another pile of these siteinfo bits waiting on the first pile going in. I'll add dropping this in my next pile.
And, it's harmless for the wrong one to be in oe-core as the meta-oe sitefile wins.
Signature · 2 lines
Tom Rini Mentor Graphics Corporation
PATCH 28/35 siteinfo: Move certain db entries to common-linux
In reply to Saul WoldFrom: Tom Rini <[email protected]>
Note that we had a number of unused and ignored settings wrt mutex support. These have been dropped as they weren't being used and implied some odd things to boot. This is also a partial resync with oe.dev which had some, but not all of these changes.
--- meta/site/arm-common | 12 ------------ meta/site/common-linux | 11 +++++++++++ meta/site/ix86-common | 12 ------------ meta/site/mips-linux | 14 +------------- meta/site/mips-linux-uclibc | 14 +------------- meta/site/mipsel-linux | 14 +------------- meta/site/powerpc32-linux | 14 +------------- meta/site/sh-common | 14 +------------- meta/site/x86_64-linux | 14 ++------------ meta/site/x86_64-linux-uclibc | 12 ------------ 10 files changed, 18 insertions(+), 113 deletions(-)
meta/site/arm-common +0 -12
@@ -25,20 +25,8 @@ cvs_cv_func_printf_ptr=${cvs_cv_func_printf_ptr=yes} # db (sleepycat) db_cv_fcntl_f_setfd=${db_cv_fcntl_f_setfd=yes} db_cv_sprintf_count=${db_cv_sprintf_count=yes} -db_cv_path_ar=${db_cv_path_ar=/usr/bin/ar} -db_cv_path_chmod=${db_cv_path_chmod=/bin/chmod} -db_cv_path_cp=${db_cv_path_cp=/bin/cp} -db_cv_path_ln=${db_cv_path_ln=/bin/ln} -db_cv_path_mkdir=${db_cv_path_mkdir=/bin/mkdir} -db_cv_path_ranlib=${db_cv_path_ranlib=/usr/bin/ranlib} -db_cv_path_rm=${db_cv_path_rm=/bin/rm} -db_cv_path_sh=${db_cv_path_sh=/bin/sh} -db_cv_path_strip=${db_cv_path_strip=/usr/bin/strip} db_cv_align_t=${db_cv_align_t='unsigned long long'} db_cv_alignp_t=${db_cv_alignp_t='unsigned long'} -db_cv_mutex=${db_cv_mutex=no} -db_cv_posixmutexes=${db_cv_posixmutexes=no} -db_cv_uimutexes=${db_cv_uimutexes=no} # D-BUS ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
meta/site/common-linux +11 -0
@@ -4,6 +4,17 @@ samba_cv_HAVE_IFACE_IFCONF=${samba_cv_HAVE_IFACE_IFCONF=yes} samba_cv_HAVE_IFACE_IFREQ=${samba_cv_HAVE_IFACE_IFREQ=yes} samba_cv_HAVE_IRIX_SPECIFIC_CAPABILITIES=${samba_cv_HAVE_IRIX_SPECIFIC_CAPABILITIES=no} +# db +db_cv_path_ar=${db_cv_path_ar=/usr/bin/ar} +db_cv_path_chmod=${db_cv_path_chmod=/bin/chmod} +db_cv_path_cp=${db_cv_path_cp=/bin/cp} +db_cv_path_ln=${db_cv_path_ln=/bin/ln} +db_cv_path_mkdir=${db_cv_path_mkdir=/bin/mkdir} +db_cv_path_ranlib=${db_cv_path_ranlib=/usr/bin/ranlib} +db_cv_path_rm=${db_cv_path_rm=/bin/rm} +db_cv_path_sh=${db_cv_path_sh=/bin/sh} +db_cv_path_strip=${db_cv_path_strip=/usr/bin/strip} + # bash bash_cv_have_mbstate_t=${bash_cv_have_mbstate_t=yes} bash_cv_must_reinstall_sighandlers=${bash_cv_must_reinstall_sighandlers=no}
meta/site/ix86-common +0 -12
@@ -72,19 +72,7 @@ cvs_cv_func_printf_ptr=${cvs_cv_func_printf_ptr=yes} db_cv_alignp_t=${db_cv_alignp_t='unsigned long'} db_cv_align_t=${db_cv_align_t='unsigned long long'} db_cv_fcntl_f_setfd=${db_cv_fcntl_f_setfd=yes} -db_cv_mutex=${db_cv_mutex=x86/gcc-assembly} -db_cv_path_ar=${db_cv_path_ar=/usr/bin/ar} -db_cv_path_chmod=${db_cv_path_chmod=/bin/chmod} -db_cv_path_cp=${db_cv_path_cp=/bin/cp} -db_cv_path_ln=${db_cv_path_ln=/bin/ln} -db_cv_path_mkdir=${db_cv_path_mkdir=/bin/mkdir} -db_cv_path_ranlib=${db_cv_path_ranlib=/usr/bin/ranlib} -db_cv_path_rm=${db_cv_path_rm=/bin/rm} -db_cv_path_sh=${db_cv_path_sh=/bin/sh} -db_cv_path_strip=${db_cv_path_strip=/usr/bin/strip} -db_cv_posixmutexes=${db_cv_posixmutexes=no} db_cv_sprintf_count=${db_cv_sprintf_count=yes} -db_cv_uimutexes=${db_cv_uimutexes=no} # D-BUS ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
meta/site/mips-linux +1 -13
@@ -63,23 +63,11 @@ wi_cv_struct_timeval_tv_sec=${wi_cv_struct_timeval_tv_sec=long} wi_cv_struct_timeval_tv_usec=${wi_cv_struct_timeval_tv_usec=long} wi_cv_unix_domain_sockets=${wi_cv_unix_domain_sockets=yes} -# db3 +# db db_cv_align_t=${db_cv_align_t='unsigned long long'} db_cv_alignp_t=${db_cv_alignp_t='unsigned long'} -db_cv_mutex=${db_cv_mutex=POSIX/pthreads/library} -db_cv_posixmutexes=${db_cv_posixmutexes=no} -db_cv_uimutexes=${db_cv_uimutexes=no} db_cv_fcntl_f_setfd=${db_cv_fcntl_f_setfd=yes} db_cv_sprintf_count=${db_cv_sprintf_count=yes} -db_cv_path_ar=${db_cv_path_ar=/usr/bin/ar} -db_cv_path_chmod=${db_cv_path_chmod=/bin/chmod} -db_cv_path_cp=${db_cv_path_cp=/bin/cp} -db_cv_path_ln=${db_cv_path_ln=/bin/ln} -db_cv_path_mkdir=${db_cv_path_mkdir=/bin/mkdir} -db_cv_path_ranlib=${db_cv_path_ranlib=/usr/bin/ranlib} -db_cv_path_rm=${db_cv_path_rm=/bin/rm} -db_cv_path_sh=${db_cv_path_sh=/bin/sh} -db_cv_path_strip=${db_cv_path_strip=/usr/bin/strip} # rrdtool rd_cv_ieee_works=${rd_cv_ieee_works=yes}
meta/site/mips-linux-uclibc +1 -13
@@ -63,23 +63,11 @@ wi_cv_struct_timeval_tv_sec=${wi_cv_struct_timeval_tv_sec=long} wi_cv_struct_timeval_tv_usec=${wi_cv_struct_timeval_tv_usec=long} wi_cv_unix_domain_sockets=${wi_cv_unix_domain_sockets=yes} -# db3 +# db db_cv_align_t=${db_cv_align_t='unsigned long long'} db_cv_alignp_t=${db_cv_alignp_t='unsigned long'} -db_cv_mutex=${db_cv_mutex=POSIX/pthreads/library} -db_cv_posixmutexes=${db_cv_posixmutexes=no} -db_cv_uimutexes=${db_cv_uimutexes=no} db_cv_fcntl_f_setfd=${db_cv_fcntl_f_setfd=yes} db_cv_sprintf_count=${db_cv_sprintf_count=yes} -db_cv_path_ar=${db_cv_path_ar=/usr/bin/ar} -db_cv_path_chmod=${db_cv_path_chmod=/bin/chmod} -db_cv_path_cp=${db_cv_path_cp=/bin/cp} -db_cv_path_ln=${db_cv_path_ln=/bin/ln} -db_cv_path_mkdir=${db_cv_path_mkdir=/bin/mkdir} -db_cv_path_ranlib=${db_cv_path_ranlib=/usr/bin/ranlib} -db_cv_path_rm=${db_cv_path_rm=/bin/rm} -db_cv_path_sh=${db_cv_path_sh=/bin/sh} -db_cv_path_strip=${db_cv_path_strip=/usr/bin/strip} # rrdtool rd_cv_ieee_works=${rd_cv_ieee_works=yes}
meta/site/mipsel-linux +1 -13
@@ -64,23 +64,11 @@ wi_cv_struct_timeval_tv_sec=${wi_cv_struct_timeval_tv_sec=long} wi_cv_struct_timeval_tv_usec=${wi_cv_struct_timeval_tv_usec=long} wi_cv_unix_domain_sockets=${wi_cv_unix_domain_sockets=yes} -# db3 +# db db_cv_align_t=${db_cv_align_t='unsigned long long'} db_cv_alignp_t=${db_cv_alignp_t='unsigned long'} -db_cv_mutex=${db_cv_mutex=no} -db_cv_posixmutexes=${db_cv_posixmutexes=no} -db_cv_uimutexes=${db_cv_uimutexes=no} db_cv_fcntl_f_setfd=${db_cv_fcntl_f_setfd=yes} db_cv_sprintf_count=${db_cv_sprintf_count=yes} -db_cv_path_ar=${db_cv_path_ar=/usr/bin/ar} -db_cv_path_chmod=${db_cv_path_chmod=/bin/chmod} -db_cv_path_cp=${db_cv_path_cp=/bin/cp} -db_cv_path_ln=${db_cv_path_ln=/bin/ln} -db_cv_path_mkdir=${db_cv_path_mkdir=/bin/mkdir} -db_cv_path_ranlib=${db_cv_path_ranlib=/usr/bin/ranlib} -db_cv_path_rm=${db_cv_path_rm=/bin/rm} -db_cv_path_sh=${db_cv_path_sh=/bin/sh} -db_cv_path_strip=${db_cv_path_strip=/usr/bin/strip} # rrdtool rd_cv_ieee_works=${rd_cv_ieee_works=yes}
meta/site/powerpc32-linux +1 -13
@@ -93,23 +93,11 @@ sc_cv_termios_ispeed=${sc_cv_termios_ispeed=yes} # links ac_cv_lib_png_png_create_info_struct=${ac_cv_lib_png_png_create_info_struct=yes} -# sleepycat db +# db db_cv_fcntl_f_setfd=${db_cv_fcntl_f_setfd=yes} db_cv_sprintf_count=${db_cv_sprintf_count=yes} -db_cv_path_ar=${db_cv_path_ar=/usr/bin/ar} -db_cv_path_chmod=${db_cv_path_chmod=/bin/chmod} -db_cv_path_cp=${db_cv_path_cp=/bin/cp} -db_cv_path_ln=${db_cv_path_ln=/bin/ln} -db_cv_path_mkdir=${db_cv_path_mkdir=/bin/mkdir} -db_cv_path_ranlib=${db_cv_path_ranlib=/usr/bin/ranlib} -db_cv_path_rm=${db_cv_path_rm=/bin/rm} -db_cv_path_sh=${db_cv_path_sh=/bin/sh} -db_cv_path_strip=${db_cv_path_strip=/usr/bin/strip} db_cv_align_t=${db_cv_align_t='unsigned long long'} db_cv_alignp_t=${db_cv_alignp_t='unsigned long'} -db_cv_mutex=${db_cv_mutex=no} -db_cv_posixmutexes=${db_cv_posixmutexes=no} -db_cv_uimutexes=${db_cv_uimutexes=no} # php ac_cv_pread=${ac_cv_pread=no}
meta/site/sh-common +1 -13
@@ -102,23 +102,11 @@ samba_cv_SIZEOF_OFF_T=${samba_cv_SIZEOF_OFF_T=yes} samba_cv_SIZEOF_INO_T=${samba_cv_SIZEOF_INO_T=yes} samba_cv_HAVE_STRUCT_FLOCK64=${samba_cv_HAVE_STRUCT_FLOCK64=yes} -# sleepycat db +# db db_cv_fcntl_f_setfd=${db_cv_fcntl_f_setfd=yes} db_cv_sprintf_count=${db_cv_sprintf_count=yes} -db_cv_path_ar=${db_cv_path_ar=/usr/bin/ar} -db_cv_path_chmod=${db_cv_path_chmod=/bin/chmod} -db_cv_path_cp=${db_cv_path_cp=/bin/cp} -db_cv_path_ln=${db_cv_path_ln=/bin/ln} -db_cv_path_mkdir=${db_cv_path_mkdir=/bin/mkdir} -db_cv_path_ranlib=${db_cv_path_ranlib=/usr/bin/ranlib} -db_cv_path_rm=${db_cv_path_rm=/bin/rm} -db_cv_path_sh=${db_cv_path_sh=/bin/sh} -db_cv_path_strip=${db_cv_path_strip=/usr/bin/strip} db_cv_align_t=${db_cv_align_t='unsigned long long'} db_cv_alignp_t=${db_cv_alignp_t='unsigned long'} -db_cv_mutex=${db_cv_mutex=no} -db_cv_posixmutexes=${db_cv_posixmutexes=no} -db_cv_uimutexes=${db_cv_uimutexes=no} # php ac_cv_pread=${ac_cv_pread=no}
meta/site/x86_64-linux +2 -12
@@ -35,19 +35,9 @@ ac_cv_strerror_r_SUSv3=${ac_cv_strerror_r_SUSv3=no} db_cv_alignp_t=${db_cv_alignp_t='unsigned long long'} db_cv_align_t=${db_cv_align_t='unsigned long long'} db_cv_fcntl_f_setfd=${db_cv_fcntl_f_setfd=yes} -db_cv_mutex=${db_cv_mutex=POSIX/pthreads/library} -db_cv_path_ar=${db_cv_path_ar=/usr/bin/ar} -db_cv_path_chmod=${db_cv_path_chmod=/bin/chmod} -db_cv_path_cp=${db_cv_path_cp=/bin/cp} -db_cv_path_ln=${db_cv_path_ln=/bin/ln} -db_cv_path_mkdir=${db_cv_path_mkdir=/bin/mkdir} -db_cv_path_ranlib=${db_cv_path_ranlib=/usr/bin/ranlib} -db_cv_path_rm=${db_cv_path_rm=/bin/rm} -db_cv_path_sh=${db_cv_path_sh=/bin/sh} -db_cv_path_strip=${db_cv_path_strip=/usr/bin/strip} -db_cv_posixmutexes=${db_cv_posixmutexes=no} db_cv_sprintf_count=${db_cv_sprintf_count=yes} -db_cv_uimutexes=${db_cv_uimutexes=no} + +# glib glib_cv_hasinline=${glib_cv_hasinline=yes} glib_cv_has__inline=${glib_cv_has__inline=yes} glib_cv_has__inline__=${glib_cv_has__inline__=yes}
meta/site/x86_64-linux-uclibc +0 -12
@@ -27,19 +27,7 @@ ac_cv_strerror_r_SUSv3=${ac_cv_strerror_r_SUSv3=no} db_cv_alignp_t=${db_cv_alignp_t='unsigned long long'} db_cv_align_t=${db_cv_align_t='unsigned long long'} db_cv_fcntl_f_setfd=${db_cv_fcntl_f_setfd=yes} -db_cv_mutex=${db_cv_mutex=no} -db_cv_path_ar=${db_cv_path_ar=/usr/bin/ar} -db_cv_path_chmod=${db_cv_path_chmod=/bin/chmod} -db_cv_path_cp=${db_cv_path_cp=/bin/cp} -db_cv_path_ln=${db_cv_path_ln=/bin/ln} -db_cv_path_mkdir=${db_cv_path_mkdir=/bin/mkdir} -db_cv_path_ranlib=${db_cv_path_ranlib=/usr/bin/ranlib} -db_cv_path_rm=${db_cv_path_rm=/bin/rm} -db_cv_path_sh=${db_cv_path_sh=/bin/sh} -db_cv_path_strip=${db_cv_path_strip=/usr/bin/strip} -db_cv_posixmutexes=${db_cv_posixmutexes=no} db_cv_sprintf_count=${db_cv_sprintf_count=yes} -db_cv_uimutexes=${db_cv_uimutexes=no} glib_cv_hasinline=${glib_cv_hasinline=yes} glib_cv_has__inline=${glib_cv_has__inline=yes} glib_cv_has__inline__=${glib_cv_has__inline__=yes}
Signature · 1 line
1.7.3.4
PATCH 29/35 siteinfo: Move general realloc/malloc values to common-$libc
In reply to Saul WoldFrom: Tom Rini <[email protected]>
These are tests for glibc behavior which we have enabled in uclibc. Note that if we ever disable MALLOC_GLIBC_COMPAT the uclibc tests will need to be changed (but I believe this would also entail massive patching to the rest of userspace so this should be unlikely).
--- meta/site/arm-common | 4 ---- meta/site/arm-linux | 2 -- meta/site/arm-linux-uclibc | 2 -- meta/site/armeb-linux | 2 -- meta/site/armeb-linux-uclibc | 2 -- meta/site/common-glibc | 3 +++ meta/site/common-uclibc | 4 ++++ meta/site/ix86-common | 5 ----- meta/site/mips-common | 3 --- meta/site/mips-linux | 3 --- meta/site/mips-linux-uclibc | 3 --- meta/site/mipsel-linux | 3 --- meta/site/mipsel-linux-uclibc | 3 --- meta/site/powerpc-linux | 4 ---- meta/site/powerpc32-linux | 4 ---- meta/site/sh-common | 6 ------ meta/site/sparc-linux | 2 -- meta/site/x86_64-linux | 2 -- meta/site/x86_64-linux-uclibc | 5 ----- 19 files changed, 7 insertions(+), 55 deletions(-)
meta/site/arm-common +0 -4
@@ -180,10 +180,6 @@ screen_cv_sys_terminfo_used=${screen_cv_sys_terminfo_used=yes} slrn_cv___va_copy=${slrn_cv___va_copy=yes} slrn_cv_va_copy=${slrn_cv_va_copy=yes} slrn_cv_va_val_copy=${slrn_cv_va_val_copy=yes} -ac_cv_func_realloc_works=${ac_cv_func_realloc_works=yes} -ac_cv_func_realloc_0_nonnull=${ac_cv_func_realloc_0_nonnull=yes} -ac_cv_func_malloc_works=${ac_cv_func_malloc_works=yes} -ac_cv_func_malloc_0_nonnull=${ac_cv_func_malloc_0_nonnull=yes} # socat ac_cv_ispeed_offset=${ac_cv_ispeed_offset=13}
meta/site/arm-linux +0 -2
@@ -1,8 +1,6 @@ ac_cv_func_getpgrp_void=yes ac_cv_func_setpgrp_void=yes ac_cv_func_setgrent_void=yes -ac_cv_func_malloc_0_nonnull=yes -ac_cv_func_malloc_works=yes ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes} ac_cv_func_setvbuf_reversed=no
meta/site/arm-linux-uclibc +0 -2
@@ -1,8 +1,6 @@ ac_cv_func_getpgrp_void=yes ac_cv_func_setpgrp_void=yes ac_cv_func_setgrent_void=yes -ac_cv_func_malloc_0_nonnull=yes -ac_cv_func_malloc_works=yes ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} ac_cv_func_posix_getgrgid_r=${ac_cv_func_getgrgid_r=yes} ac_cv_func_setvbuf_reversed=no
meta/site/armeb-linux +0 -2
@@ -1,8 +1,6 @@ ac_cv_func_getpgrp_void=yes ac_cv_func_setpgrp_void=yes ac_cv_func_setgrent_void=yes -ac_cv_func_malloc_0_nonnull=yes -ac_cv_func_malloc_works=yes ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes} ac_cv_func_setvbuf_reversed=no
meta/site/armeb-linux-uclibc +0 -2
@@ -1,8 +1,6 @@ ac_cv_func_getpgrp_void=yes ac_cv_func_setpgrp_void=yes ac_cv_func_setgrent_void=yes -ac_cv_func_malloc_0_nonnull=yes -ac_cv_func_malloc_works=yes ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes} ac_cv_func_setvbuf_reversed=no
meta/site/common-glibc +3 -0
@@ -1,5 +1,8 @@ # general ac_cv_have_decl_sys_siglist=${ac_cv_have_decl_sys_siglist=yes} +ac_cv_func_realloc_works=${ac_cv_func_realloc_works=yes} +ac_cv_func_realloc_0_nonnull=${ac_cv_func_realloc_0_nonnull=yes} +ac_cv_func_malloc_works=${ac_cv_func_malloc_works=yes} ac_cv_func_malloc_0_nonnull=${ac_cv_func_malloc_0_nonnull=yes} ac_cv_func_memcmp_working=${ac_cv_func_memcmp_working=yes} ac_cv_type_uid_t={ac_cv_type_uid_t=yes}
meta/site/common-uclibc +4 -0
@@ -1,5 +1,9 @@ # general ac_cv_have_decl_sys_siglist=${ac_cv_have_decl_sys_siglist=no} +ac_cv_func_realloc_works=${ac_cv_func_realloc_works=yes} +ac_cv_func_realloc_0_nonnull=${ac_cv_func_realloc_0_nonnull=yes} +ac_cv_func_malloc_works=${ac_cv_func_malloc_works=yes} +ac_cv_func_malloc_0_nonnull=${ac_cv_func_malloc_0_nonnull=yes} # glib glib_cv_strlcpy=${glib_cv_strlcpy=no}
meta/site/ix86-common +0 -5
@@ -25,8 +25,6 @@ ac_cv_func_getpgrp_void=${ac_cv_func_getpgrp_void=yes} ac_cv_func_getpwuid_r=${ac_cv_func_getpwuid_r=yes} ac_cv_func_lstat_dereferences_slashed_symlink=${ac_cv_func_lstat_dereferences_slashed_symlink=yes} ac_cv_func_lstat_empty_string_bug=${ac_cv_func_lstat_empty_string_bug=no} -ac_cv_func_malloc_0_nonnull=${ac_cv_func_malloc_0_nonnull=yes} -ac_cv_func_malloc_works=${ac_cv_func_malloc_works=yes} ac_cv_func_pthread_key_delete=${ac_cv_func_pthread_key_delete=yes} ac_cv_func_setpgrp_void=${ac_cv_func_setpgrp_void=yes} ac_cv_func_setvbuf_reversed=${ac_cv_func_setvbuf_reversed=no}
@@ -167,9 +165,6 @@ ac_cv_alignof_CORBA_struct=4 ac_cv_alignof_CORBA_wchar=2 ac_cv_func_getaddrinfo=${ac_cv_func_getaddrinfo=yes} -# p3scan -ac_cv_func_realloc_0_nonnull=${ac_cv_func_realloc_0_nonnull=yes} - # php ac_cv_pread=${ac_cv_pread=no} ac_cv_pwrite=${ac_cv_pwrite=no}
meta/site/mips-common +0 -3
@@ -1,6 +1,3 @@ -ac_cv_func_realloc_0_nonnull=${ac_cv_func_realloc_0_nonnull=yes} -ac_cv_func_malloc_0_nonnull=${ac_cv_func_malloc_0_nonnull=yes} - # cvs cvs_cv_func_printf_ptr=${cvs_cv_func_printf_ptr=yes}
meta/site/mips-linux +0 -3
@@ -3,9 +3,6 @@ ac_cv_func_getpgrp_void=${ac_cv_func_getpgrp_void=yes} ac_cv_func_setvbuf_reversed=${ac_cv_func_setvbuf_reversed=no} ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} -# tslib, others -ac_cv_func_malloc_0_nonnull=${ac_cv_func_malloc_0_nonnull=yes} - # bash ac_cv_c_long_double=${ac_cv_c_long_double=no} bash_cv_func_sigsetjmp=${bash_cv_func_sigsetjmp=present}
meta/site/mips-linux-uclibc +0 -3
@@ -3,9 +3,6 @@ ac_cv_func_getpgrp_void=${ac_cv_func_getpgrp_void=yes} ac_cv_func_setvbuf_reversed=${ac_cv_func_setvbuf_reversed=no} ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} -# tslib, others -ac_cv_func_malloc_0_nonnull=${ac_cv_func_malloc_0_nonnull=yes} - # bash ac_cv_c_long_double=${ac_cv_c_long_double=no} bash_cv_func_sigsetjmp=${bash_cv_func_sigsetjmp=present}
meta/site/mipsel-linux +0 -3
@@ -3,9 +3,6 @@ ac_cv_func_getpgrp_void=${ac_cv_func_getpgrp_void=yes} ac_cv_func_setvbuf_reversed=${ac_cv_func_setvbuf_reversed=no} ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} -# tslib, others -ac_cv_func_malloc_0_nonnull=${ac_cv_func_malloc_0_nonnull=yes} - # bash ac_cv_c_long_double=${ac_cv_c_long_double=no} bash_cv_func_sigsetjmp=${bash_cv_func_sigsetjmp=present}
meta/site/mipsel-linux-uclibc +0 -3
@@ -3,9 +3,6 @@ ac_cv_func_getpgrp_void=${ac_cv_func_getpgrp_void=yes} ac_cv_func_setvbuf_reversed=${ac_cv_func_setvbuf_reversed=no} ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} -# tslib, others -ac_cv_func_malloc_0_nonnull=${ac_cv_func_malloc_0_nonnull=yes} - # bash ac_cv_c_long_double=${ac_cv_c_long_double=no} bash_cv_func_sigsetjmp=${bash_cv_func_sigsetjmp=present}
meta/site/powerpc-linux +0 -4
@@ -7,10 +7,6 @@ ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes} # startup-notification lf_cv_sane_realloc=yes -# flex -ac_cv_func_realloc_works=${ac_cv_func_realloc_works=yes} -ac_cv_func_realloc_0_nonnull=${ac_cv_func_realloc_0_nonnull=yes} - # glib glib_cv_stack_grows=${glib_cv_stack_grows=no} glib_cv_uscore=${glib_cv_uscore=no}
meta/site/powerpc32-linux +0 -4
@@ -1,5 +1,3 @@ -ac_cv_func_malloc_0_nonnull=yes -ac_cv_func_malloc_works=yes ac_cv_func_setvbuf_reversed=no ac_cv_sizeof___int64=${ac_cv_sizeof___int64=0} ac_cv_sizeof_bool=${ac_cv_sizeof_bool=1}
@@ -165,8 +163,6 @@ compat_cv_func_dirname_works=${compat_cv_func_dirname_works=no} slrn_cv___va_copy=${slrn_cv___va_copy=yes} slrn_cv_va_copy=${slrn_cv_va_copy=no} slrn_cv_va_val_copy=${slrn_cv_va_val_copy=yes} -ac_cv_func_malloc_works=${ac_cv_func_malloc_works=yes} -ac_cv_func_malloc_0_nonnull=${ac_cv_func_malloc_0_nonnull=yes} # libidl libIDL_cv_long_long_format=${libIDL_cv_long_long_format=ll}
meta/site/sh-common +0 -6
@@ -1,7 +1,5 @@ ac_cv_func_setpgrp_void=yes ac_cv_func_setgrent_void=yes -ac_cv_func_malloc_0_nonnull=yes -ac_cv_func_malloc_works=yes ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} ac_cv_func_setvbuf_reversed=no ac_cv_sizeof___int64=${ac_cv_sizeof___int64=0}
@@ -178,10 +176,6 @@ compat_cv_func_dirname_works=${compat_cv_func_dirname_works=no} slrn_cv___va_copy=${slrn_cv___va_copy=yes} slrn_cv_va_copy=${slrn_cv_va_copy=no} slrn_cv_va_val_copy=${slrn_cv_va_val_copy=yes} -ac_cv_func_realloc_works=${ac_cv_func_realloc_works=yes} -ac_cv_func_realloc_0_nonnull=${ac_cv_func_realloc_0_nonnull=yes} -ac_cv_func_malloc_works=${ac_cv_func_malloc_works=yes} -ac_cv_func_malloc_0_nonnull=${ac_cv_func_malloc_0_nonnull=yes} # startup-notification lf_cv_sane_realloc=yes
meta/site/sparc-linux +0 -2
@@ -1,8 +1,6 @@ ac_cv_func_getpgrp_void=yes ac_cv_func_setpgrp_void=yes ac_cv_func_setgrent_void=yes -ac_cv_func_malloc_0_nonnull=yes -ac_cv_func_malloc_works=yes ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} ac_cv_func_setvbuf_reversed=no ac_cv_sizeof___int64=${ac_cv_sizeof___int64=0}
meta/site/x86_64-linux +0 -2
@@ -2,7 +2,6 @@ ac_cv_func_getpgrp_void=${ac_cv_func_getpgrp_void=yes} ac_cv_func_getpwuid_r=${ac_cv_func_getpwuid_r=yes} ac_cv_func_lstat_dereferences_slashed_symlink=${ac_cv_func_lstat_dereferences_slashed_symlink=yes} ac_cv_func_lstat_empty_string_bug=${ac_cv_func_lstat_empty_string_bug=no} -ac_cv_func_malloc_0_nonnull=${ac_cv_func_malloc_0_nonnull=yes} ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes} ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} ac_cv_func_setpgrp_void=${ac_cv_func_setpgrp_void=yes}
@@ -100,7 +99,6 @@ ac_cv_alignof_CORBA_wchar=2 ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes} sudo_cv_uid_t=${sudo_cv_uid_t_len=10} -ac_cv_func_realloc_0_nonnull=${ac_cv_func_realloc_0_nonnull=yes} lf_cv_sane_realloc=yes as_cv_unaligned_access=${as_cv_unaligned_access=yes}
meta/site/x86_64-linux-uclibc +0 -5
@@ -2,7 +2,6 @@ ac_cv_func_getpgrp_void=${ac_cv_func_getpgrp_void=yes} ac_cv_func_getpwuid_r=${ac_cv_func_getpwuid_r=yes} ac_cv_func_lstat_dereferences_slashed_symlink=${ac_cv_func_lstat_dereferences_slashed_symlink=yes} ac_cv_func_lstat_empty_string_bug=${ac_cv_func_lstat_empty_string_bug=no} -ac_cv_func_malloc_0_nonnull=${ac_cv_func_malloc_0_nonnull=yes} ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes} ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} ac_cv_func_setpgrp_void=${ac_cv_func_setpgrp_void=yes}
@@ -68,10 +67,6 @@ am_cv_func_working_getline=${am_cv_func_working_getline=yes} glib_cv_use_pid_surrogate=${glib_cv_use_pid_surrogate=yes} ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes} -# flex -ac_cv_func_realloc_works=${ac_cv_func_realloc_works=yes} -ac_cv_func_realloc_0_nonnull=${ac_cv_func_realloc_0_nonnull=yes} - # libidl libIDL_cv_long_long_format=${libIDL_cv_long_long_format=ll}
Signature · 1 line
1.7.3.4
PATCH 30/35 siteinfo: Move (getpgrp|setpgrp|setgrent|*get{pwuid, grgid}) to common-libc
In reply to Saul WoldFrom: Tom Rini <[email protected]>
These functions are determined by the C library so move them to common-glibc and common-uclibc
--- meta/site/arm-common | 4 ---- meta/site/arm-linux | 5 ----- meta/site/arm-linux-uclibc | 5 ----- meta/site/armeb-linux | 5 ----- meta/site/armeb-linux-uclibc | 5 ----- meta/site/common-glibc | 7 +++++++ meta/site/common-uclibc | 7 +++++++ meta/site/ix86-common | 6 ------ meta/site/mips-linux | 6 ------ meta/site/mips-linux-uclibc | 6 ------ meta/site/mipsel-linux | 6 ------ meta/site/mipsel-linux-uclibc | 4 ---- meta/site/powerpc-linux | 6 ------ meta/site/sh-common | 4 ---- meta/site/sparc-linux | 4 ---- meta/site/x86_64-linux | 6 ------ meta/site/x86_64-linux-uclibc | 5 ----- 17 files changed, 14 insertions(+), 77 deletions(-)
meta/site/arm-common +0 -4
@@ -48,9 +48,6 @@ ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes} # gettext am_cv_func_working_getline=${am_cv_func_working_getline=yes} -# gio -ac_cv_func_getgrgid_r=${ac_cv_func_getgrgid_r=yes} - # glib glib_cv_sizeof_gmutex=${glib_cv_sizeof_gmutex=24} glib_cv_sizeof_system_thread=${glib_cv_sizeof_system_thread=4}
@@ -67,7 +64,6 @@ glib_cv_va_copy=${glib_cv_va_copy=yes} glib_cv_va_val_copy=${glib_cv_va_val_copy=yes} glib_cv___va_copy=${glib_cv___va_copy=yes} glib_cv_rtldglobal_broken=${glib_cv_rtldglobal_broken=no} -ac_cv_func_getpwuid_r=${ac_cv_func_getpwuid_r=yes} glib_cv_sys_pthread_mutex_trylock_posix=${glib_cv_sys_pthread_mutex_trylock_posix=yes} glib_cv_sys_pthread_getspecific_posix=${glib_cv_sys_pthread_getspecific_posix=yes} glib_cv_sys_pthread_cond_timedwait_posix=${glib_cv_sys_pthread_cond_timedwait_posix=yes}
meta/site/arm-linux +0 -5
@@ -1,8 +1,3 @@ -ac_cv_func_getpgrp_void=yes -ac_cv_func_setpgrp_void=yes -ac_cv_func_setgrent_void=yes -ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} -ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes} ac_cv_func_setvbuf_reversed=no ac_cv_sizeof___int64=${ac_cv_sizeof___int64=0} ac_cv_sizeof_char=${ac_cv_sizeof_char=1}
meta/site/arm-linux-uclibc +0 -5
@@ -1,8 +1,3 @@ -ac_cv_func_getpgrp_void=yes -ac_cv_func_setpgrp_void=yes -ac_cv_func_setgrent_void=yes -ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} -ac_cv_func_posix_getgrgid_r=${ac_cv_func_getgrgid_r=yes} ac_cv_func_setvbuf_reversed=no ac_cv_sizeof___int64=${ac_cv_sizeof___int64=0} ac_cv_sizeof_char=${ac_cv_sizeof_char=1}
meta/site/armeb-linux +0 -5
@@ -1,8 +1,3 @@ -ac_cv_func_getpgrp_void=yes -ac_cv_func_setpgrp_void=yes -ac_cv_func_setgrent_void=yes -ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} -ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes} ac_cv_func_setvbuf_reversed=no ac_cv_sizeof___int64=${ac_cv_sizeof___int64=0} ac_cv_sizeof_char=${ac_cv_sizeof_char=1}
meta/site/armeb-linux-uclibc +0 -5
@@ -1,8 +1,3 @@ -ac_cv_func_getpgrp_void=yes -ac_cv_func_setpgrp_void=yes -ac_cv_func_setgrent_void=yes -ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} -ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes} ac_cv_func_setvbuf_reversed=no ac_cv_sizeof___int64=${ac_cv_sizeof___int64=0} ac_cv_sizeof_char=${ac_cv_sizeof_char=1}
meta/site/common-glibc +7 -0
@@ -5,6 +5,13 @@ ac_cv_func_realloc_0_nonnull=${ac_cv_func_realloc_0_nonnull=yes} ac_cv_func_malloc_works=${ac_cv_func_malloc_works=yes} ac_cv_func_malloc_0_nonnull=${ac_cv_func_malloc_0_nonnull=yes} ac_cv_func_memcmp_working=${ac_cv_func_memcmp_working=yes} +ac_cv_func_getpgrp_void=yes +ac_cv_func_setpgrp_void=yes +ac_cv_func_setgrent_void=yes +ac_cv_func_getgrgid_r=${ac_cv_func_getgrgid_r=yes} +ac_cv_func_getpwuid_r=${ac_cv_func_getpwuid_r=yes} +ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} +ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes} ac_cv_type_uid_t={ac_cv_type_uid_t=yes} # bash
meta/site/common-uclibc +7 -0
@@ -4,6 +4,13 @@ ac_cv_func_realloc_works=${ac_cv_func_realloc_works=yes} ac_cv_func_realloc_0_nonnull=${ac_cv_func_realloc_0_nonnull=yes} ac_cv_func_malloc_works=${ac_cv_func_malloc_works=yes} ac_cv_func_malloc_0_nonnull=${ac_cv_func_malloc_0_nonnull=yes} +ac_cv_func_getpgrp_void=yes +ac_cv_func_setpgrp_void=yes +ac_cv_func_setgrent_void=yes +ac_cv_func_getgrgid_r=${ac_cv_func_getgrgid_r=yes} +ac_cv_func_getpwuid_r=${ac_cv_func_getpwuid_r=yes} +ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} +ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes} # glib glib_cv_strlcpy=${glib_cv_strlcpy=no}
meta/site/ix86-common +0 -6
@@ -21,15 +21,11 @@ ac_cv_sizeof_uid_t=${ac_cv_sizeof_uid_t=4} ac_cv_sizeof_gid_t=${ac_cv_sizeof_gid_t=4} ac_cv_sizeof_ino_t=${ac_cv_sizeof_ino_t=4} ac_cv_sizeof_dev_t=${ac_cv_sizeof_dev_t=8} -ac_cv_func_getpgrp_void=${ac_cv_func_getpgrp_void=yes} -ac_cv_func_getpwuid_r=${ac_cv_func_getpwuid_r=yes} ac_cv_func_lstat_dereferences_slashed_symlink=${ac_cv_func_lstat_dereferences_slashed_symlink=yes} ac_cv_func_lstat_empty_string_bug=${ac_cv_func_lstat_empty_string_bug=no} ac_cv_func_pthread_key_delete=${ac_cv_func_pthread_key_delete=yes} -ac_cv_func_setpgrp_void=${ac_cv_func_setpgrp_void=yes} ac_cv_func_setvbuf_reversed=${ac_cv_func_setvbuf_reversed=no} ac_cv_func_stat_empty_string_bug=${ac_cv_func_stat_empty_string_bug=no} -ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} ac_cv_func_stat_ignores_trailing_slash=${ac_cv_func_stat_ignores_trailing_slash=no} ac_cv_header_netinet_sctp_h=${ac_cv_header_netinet_sctp_h=no}
@@ -106,9 +102,7 @@ glib_cv_rtldglobal_broken=${glib_cv_rtldglobal_broken=yes} # glib-2.0 glib_cv_stack_grows=${glib_cv_stack_grows=no} utils_cv_sys_open_max=${utils_cv_sys_open_max=1015} -ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} glib_cv_use_pid_surrogate=${glib_cv_use_pid_surrogate=yes} -ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes} # guile ac_cv_uchar=${ac_cv_uchar=no}
meta/site/mips-linux +0 -6
@@ -1,7 +1,4 @@ - -ac_cv_func_getpgrp_void=${ac_cv_func_getpgrp_void=yes} ac_cv_func_setvbuf_reversed=${ac_cv_func_setvbuf_reversed=no} -ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} # bash ac_cv_c_long_double=${ac_cv_c_long_double=no}
@@ -35,9 +32,7 @@ glib_cv_va_val_copy=${glib_cv_va_val_copy=yes} # glib-2.0 glib_cv_stack_grows=${glib_cv_stack_grows=no} utils_cv_sys_open_max=${utils_cv_sys_open_max=1015} -ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} glib_cv_use_pid_surrogate=${glib_cv_use_pid_surrogate=yes} -ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes} # libpcap ac_cv_linux_vers=${ac_cv_linux_vers=2}
@@ -55,7 +50,6 @@ lf_cv_sane_realloc=${lf_cv_sane_realloc=yes} libIDL_cv_long_long_format=${libIDL_cv_long_long_format=ll} # ncftp -ac_cv_func_setpgrp_void=${ac_cv_func_setpgrp_void=yes} wi_cv_struct_timeval_tv_sec=${wi_cv_struct_timeval_tv_sec=long} wi_cv_struct_timeval_tv_usec=${wi_cv_struct_timeval_tv_usec=long} wi_cv_unix_domain_sockets=${wi_cv_unix_domain_sockets=yes}
meta/site/mips-linux-uclibc +0 -6
@@ -1,7 +1,4 @@ - -ac_cv_func_getpgrp_void=${ac_cv_func_getpgrp_void=yes} ac_cv_func_setvbuf_reversed=${ac_cv_func_setvbuf_reversed=no} -ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} # bash ac_cv_c_long_double=${ac_cv_c_long_double=no}
@@ -35,9 +32,7 @@ glib_cv_va_val_copy=${glib_cv_va_val_copy=yes} # glib-2.0 glib_cv_stack_grows=${glib_cv_stack_grows=no} utils_cv_sys_open_max=${utils_cv_sys_open_max=1015} -ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} glib_cv_use_pid_surrogate=${glib_cv_use_pid_surrogate=yes} -ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes} # libpcap ac_cv_linux_vers=${ac_cv_linux_vers=2}
@@ -55,7 +50,6 @@ lf_cv_sane_realloc=${lf_cv_sane_realloc=yes} libIDL_cv_long_long_format=${libIDL_cv_long_long_format=ll} # ncftp -ac_cv_func_setpgrp_void=${ac_cv_func_setpgrp_void=yes} wi_cv_struct_timeval_tv_sec=${wi_cv_struct_timeval_tv_sec=long} wi_cv_struct_timeval_tv_usec=${wi_cv_struct_timeval_tv_usec=long} wi_cv_unix_domain_sockets=${wi_cv_unix_domain_sockets=yes}
meta/site/mipsel-linux +0 -6
@@ -1,7 +1,5 @@ -ac_cv_func_getpgrp_void=${ac_cv_func_getpgrp_void=yes} ac_cv_func_setvbuf_reversed=${ac_cv_func_setvbuf_reversed=no} -ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} # bash ac_cv_c_long_double=${ac_cv_c_long_double=no}
@@ -35,10 +33,7 @@ glib_cv_va_val_copy=${glib_cv_va_val_copy=yes} # glib-2.0 glib_cv_stack_grows=${glib_cv_stack_grows=no} utils_cv_sys_open_max=${utils_cv_sys_open_max=1015} -ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} glib_cv_use_pid_surrogate=${glib_cv_use_pid_surrogate=yes} -ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes} - # libpcap ac_cv_linux_vers=${ac_cv_linux_vers=2}
@@ -56,7 +51,6 @@ lf_cv_sane_realloc=${lf_cv_sane_realloc=yes} libIDL_cv_long_long_format=${libIDL_cv_long_long_format=ll} # ncftp -ac_cv_func_setpgrp_void=${ac_cv_func_setpgrp_void=yes} wi_cv_struct_timeval_tv_sec=${wi_cv_struct_timeval_tv_sec=long} wi_cv_struct_timeval_tv_usec=${wi_cv_struct_timeval_tv_usec=long} wi_cv_unix_domain_sockets=${wi_cv_unix_domain_sockets=yes}
meta/site/mipsel-linux-uclibc +0 -4
@@ -1,7 +1,4 @@ - -ac_cv_func_getpgrp_void=${ac_cv_func_getpgrp_void=yes} ac_cv_func_setvbuf_reversed=${ac_cv_func_setvbuf_reversed=no} -ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} # bash ac_cv_c_long_double=${ac_cv_c_long_double=no}
@@ -48,7 +45,6 @@ lf_cv_sane_realloc=${lf_cv_sane_realloc=yes} libIDL_cv_long_long_format=${libIDL_cv_long_long_format=ll} # ncftp -ac_cv_func_setpgrp_void=${ac_cv_func_setpgrp_void=yes} wi_cv_struct_timeval_tv_sec=${wi_cv_struct_timeval_tv_sec=long} wi_cv_struct_timeval_tv_usec=${wi_cv_struct_timeval_tv_usec=long} wi_cv_unix_domain_sockets=${wi_cv_unix_domain_sockets=yes}
meta/site/powerpc-linux +0 -6
@@ -1,9 +1,3 @@ -ac_cv_func_getpgrp_void=yes -ac_cv_func_setpgrp_void=yes -ac_cv_func_setgrent_void=yes -ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} -ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes} - # startup-notification lf_cv_sane_realloc=yes
meta/site/sh-common +0 -4
@@ -1,6 +1,3 @@ -ac_cv_func_setpgrp_void=yes -ac_cv_func_setgrent_void=yes -ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} ac_cv_func_setvbuf_reversed=no ac_cv_sizeof___int64=${ac_cv_sizeof___int64=0} ac_cv_sizeof_char=${ac_cv_sizeof_char=1}
@@ -127,7 +124,6 @@ glib_cv_va_copy=${glib_cv_va_copy=no} glib_cv_va_val_copy=${glib_cv_va_val_copy=yes} glib_cv___va_copy=${glib_cv___va_copy=yes} glib_cv_rtldglobal_broken=${glib_cv_rtldglobal_broken=no} -ac_cv_func_getpwuid_r=${ac_cv_func_getpwuid_r=yes} glib_cv_sys_pthread_mutex_trylock_posix=${glib_cv_sys_pthread_mutex_trylock_posix=yes} glib_cv_sys_pthread_getspecific_posix=${glib_cv_sys_pthread_getspecific_posix=yes} glib_cv_sys_pthread_cond_timedwait_posix=${glib_cv_sys_pthread_cond_timedwait_posix=yes}
meta/site/sparc-linux +0 -4
@@ -1,7 +1,3 @@ -ac_cv_func_getpgrp_void=yes -ac_cv_func_setpgrp_void=yes -ac_cv_func_setgrent_void=yes -ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} ac_cv_func_setvbuf_reversed=no ac_cv_sizeof___int64=${ac_cv_sizeof___int64=0} ac_cv_sizeof_char=${ac_cv_sizeof_char=1}
meta/site/x86_64-linux +0 -6
@@ -1,10 +1,6 @@ -ac_cv_func_getpgrp_void=${ac_cv_func_getpgrp_void=yes} -ac_cv_func_getpwuid_r=${ac_cv_func_getpwuid_r=yes} ac_cv_func_lstat_dereferences_slashed_symlink=${ac_cv_func_lstat_dereferences_slashed_symlink=yes} ac_cv_func_lstat_empty_string_bug=${ac_cv_func_lstat_empty_string_bug=no} ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes} -ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} -ac_cv_func_setpgrp_void=${ac_cv_func_setpgrp_void=yes} ac_cv_func_setvbuf_reversed=${ac_cv_func_setvbuf_reversed=no} ac_cv_func_stat_empty_string_bug=${ac_cv_func_stat_empty_string_bug=no} ac_cv_func_stat_ignores_trailing_slash=${ac_cv_func_stat_ignores_trailing_slash=no}
@@ -96,8 +92,6 @@ ac_cv_alignof_CORBA_short=2 ac_cv_alignof_CORBA_struct=1 ac_cv_alignof_CORBA_wchar=2 -ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes} - sudo_cv_uid_t=${sudo_cv_uid_t_len=10} lf_cv_sane_realloc=yes as_cv_unaligned_access=${as_cv_unaligned_access=yes}
meta/site/x86_64-linux-uclibc +0 -5
@@ -1,10 +1,6 @@ -ac_cv_func_getpgrp_void=${ac_cv_func_getpgrp_void=yes} -ac_cv_func_getpwuid_r=${ac_cv_func_getpwuid_r=yes} ac_cv_func_lstat_dereferences_slashed_symlink=${ac_cv_func_lstat_dereferences_slashed_symlink=yes} ac_cv_func_lstat_empty_string_bug=${ac_cv_func_lstat_empty_string_bug=no} ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes} -ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} -ac_cv_func_setpgrp_void=${ac_cv_func_setpgrp_void=yes} ac_cv_func_setvbuf_reversed=${ac_cv_func_setvbuf_reversed=no} ac_cv_func_stat_empty_string_bug=${ac_cv_func_stat_empty_string_bug=no} ac_cv_func_stat_ignores_trailing_slash=${ac_cv_func_stat_ignores_trailing_slash=no}
@@ -65,7 +61,6 @@ am_cv_func_working_getline=${am_cv_func_working_getline=yes} # glib-2.0 glib_cv_use_pid_surrogate=${glib_cv_use_pid_surrogate=yes} -ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes} # libidl libIDL_cv_long_long_format=${libIDL_cv_long_long_format=ll}
Signature · 1 line
1.7.3.4
PATCH 31/35 siteinfo: Rework the siteinfo for powerpc to fix uclibc fallout
In reply to Saul WoldFrom: Khem Raj <[email protected]>
I believe that powerpc-linux is now a common file across 32bit/64bit linux for powerpc be it uclibc or glibc. I compared the differences between powerpc-linux-uclibc and powerpc-linux files and it powerpc-linux was more uptodate and all the new stuff it had was needed for uclibc anyway so we do not need to keep exact copy of powerpc-linux as powerpc-linux-uclibc instead we use powerpc-linux for powerpc/uclibc targets.
Secondly linux specific files were added in archinfo dictionary which I think logically belongs to targetinfo dictionary therefore moved them to targetinfo
now uclibc/powerpc is buildable again
--- meta/classes/siteinfo.bbclass | 16 ++++++++++------ 1 files changed, 10 insertions(+), 6 deletions(-) delete mode 100644 meta/site/powerpc-linux-uclibc
meta/classes/siteinfo.bbclass +10 -6
@@ -33,11 +33,11 @@ def siteinfo_data(d): "mips64": "endian-big bit-64 mips64-common", "mips64el": "endian-little bit-64 mips64-common", "mipsel": "endian-little bit-32 mips-common", - "powerpc": "endian-big bit-32 powerpc-common powerpc32-linux", + "powerpc": "endian-big bit-32 powerpc-common", "nios2": "endian-little bit-32 nios2-common", - "powerpc64": "endian-big bit-64 powerpc-common powerpc-linux powerpc64-linux", - "ppc": "endian-big bit-32 powerpc-common powerpc32-linux", - "ppc64": "endian-big bit-64 powerpc-common powerpc-linux powerpc64-linux", + "powerpc64": "endian-big bit-64 powerpc-common", + "ppc": "endian-big bit-32 powerpc-common", + "ppc64": "endian-big bit-64 powerpc-common", "sh3": "endian-little bit-32 sh-common", "sh4": "endian-little bit-32 sh-common", "sparc": "endian-big bit-32",
@@ -62,8 +62,12 @@ def siteinfo_data(d): "arm-linux-uclibceabi": "arm-linux-uclibc", "armeb-linux-gnueabi": "armeb-linux", "armeb-linux-uclibceabi": "armeb-linux-uclibc", - "powerpc-linux-gnuspe": "powerpc-linux", - "powerpc-linux-uclibcspe": "powerpc-linux-uclibc", + "powerpc-linux": "powerpc32-linux", + "powerpc-linux-uclibc": "powerpc-linux powerpc32-linux", + "powerpc-linux-gnuspe": "powerpc-linux powerpc32-linux", + "powerpc-linux-uclibcspe": "powerpc-linux powerpc32-linux powerpc-linux-uclibc", + "powerpc64-linux-gnuspe": "powerpc-linux powerpc64-linux", + "powerpc64-linux": "powerpc-linux", } hostarch = d.getVar("HOST_ARCH", True)
meta/site/powerpc-linux-uclibc deleted +0 -0
Signature · 1 line
1.7.3.4
PATCH 32/35 Remove -live.bb recipes
In reply to Saul Wold--- meta-rt/images/core-image-minimal-rt-live.bb | 15 -------------- meta/recipes-core/images/core-image-live.inc | 21 -------------------- .../recipes-core/images/core-image-minimal-live.bb | 11 ---------- .../recipes-extended/images/core-image-lsb-live.bb | 11 ---------- .../images/core-image-lsb-sdk-live.bb | 11 ---------- meta/recipes-sato/images/core-image-sato-live.bb | 11 ---------- .../images/core-image-sato-sdk-live.bb | 11 ---------- 7 files changed, 0 insertions(+), 91 deletions(-) delete mode 100644 meta-rt/images/core-image-minimal-rt-live.bb delete mode 100644 meta/recipes-core/images/core-image-live.inc delete mode 100644 meta/recipes-core/images/core-image-minimal-live.bb delete mode 100644 meta/recipes-extended/images/core-image-lsb-live.bb delete mode 100644 meta/recipes-extended/images/core-image-lsb-sdk-live.bb delete mode 100644 meta/recipes-sato/images/core-image-sato-live.bb delete mode 100644 meta/recipes-sato/images/core-image-sato-sdk-live.bb
meta-rt/images/core-image-minimal-rt-live.bb deleted +0 -15
@@ -1,15 +0,0 @@ -# -# Copyright (C) 2010 Intel Corporation. -# - -DESCRIPTION = "Bootable Live Minimal Real-Time Linux Image" - -require recipes-core/images/core-image-live.inc - -LABELS += "boot install" - -ROOTFS = "${DEPLOY_DIR_IMAGE}/core-image-minimal-rt-${MACHINE}.ext3" - -LICENSE = "MIT" - -do_bootimg[depends] += "core-image-minimal-rt:do_rootfs"
meta/recipes-core/images/core-image-live.inc deleted +0 -21
@@ -1,21 +0,0 @@ -AUTO_SYSLINUXCFG = "1" -INITRD = "${DEPLOY_DIR_IMAGE}/core-image-minimal-initramfs-${MACHINE}.cpio.gz" -APPEND += "root=/dev/ram0 " -TIMEOUT = "10" - -EXCLUDE_FROM_WORLD = "1" - -LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ - file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" - -do_bootimg[depends] += "core-image-minimal-initramfs:do_rootfs" - -inherit bootimg - -do_bootimg_prepend () { - import bb - fstypes = bb.data.getVar('IMAGE_FSTYPES', d, True) - if 'ext3' not in fstypes: - bb.msg.fatal(bb.msg.domain.Build, "ext3 not in IMAGE_FSTYPES") -} -
meta/recipes-core/images/core-image-minimal-live.bb deleted +0 -11
@@ -1,11 +0,0 @@ -DESCRIPTION = "Minimal Bootable Live Image" - -require core-image-live.inc - -LABELS += "boot install" - -ROOTFS = "${DEPLOY_DIR_IMAGE}/core-image-minimal-${MACHINE}.ext3" - -LICENSE = "MIT" - -do_bootimg[depends] += "core-image-minimal:do_rootfs"
meta/recipes-extended/images/core-image-lsb-live.bb deleted +0 -11
@@ -1,11 +0,0 @@ -DESCRIPTION = "LSB Bootable Live Image" - -require recipes-core/images/core-image-live.inc - -LABELS += "boot install" - -ROOTFS = "${DEPLOY_DIR_IMAGE}/core-image-lsb-${MACHINE}.ext3" - -LICENSE = "MIT" - -do_bootimg[depends] += "core-image-lsb:do_rootfs"
meta/recipes-extended/images/core-image-lsb-sdk-live.bb deleted +0 -11
@@ -1,11 +0,0 @@ -DESCRIPTION = "LSB SDK Bootable Live Image" - -require recipes-core/images/core-image-live.inc - -LABELS += "boot install" - -ROOTFS = "${DEPLOY_DIR_IMAGE}/core-image-lsb-sdk-${MACHINE}.ext3" - -LICENSE = "MIT" - -do_bootimg[depends] += "core-image-lsb-sdk:do_rootfs"
meta/recipes-sato/images/core-image-sato-live.bb deleted +0 -11
@@ -1,11 +0,0 @@ -DESCRIPTION = "Sato Bootable Live Image" - -require recipes-core/images/core-image-live.inc - -LABELS += "boot install" - -ROOTFS = "${DEPLOY_DIR_IMAGE}/core-image-sato-${MACHINE}.ext3" - -LICENSE = "MIT" - -do_bootimg[depends] += "core-image-sato:do_rootfs"
meta/recipes-sato/images/core-image-sato-sdk-live.bb deleted +0 -11
@@ -1,11 +0,0 @@ -DESCRIPTION = "Bootable Live Sato SDK Image" - -require recipes-core/images/core-image-live.inc - -LABELS += "boot install" - -ROOTFS = "${DEPLOY_DIR_IMAGE}/core-image-sato-sdk-${MACHINE}.ext3" - -LICENSE = "MIT" - -do_bootimg[depends] += "core-image-sato-sdk:do_rootfs"
Signature · 1 line
1.7.3.4
PATCH 33/35 Remove -directdisk.bb recipes
In reply to Saul Wold--- meta-rt/images/core-image-minimal-rt-directdisk.bb | 15 --------------- meta/recipes-core/images/core-image-directdisk.inc | 11 ----------- .../images/core-image-minimal-directdisk.bb | 11 ----------- .../images/core-image-sato-directdisk.bb | 9 --------- .../images/core-image-sato-sdk-directdisk.bb | 9 --------- 5 files changed, 0 insertions(+), 55 deletions(-) delete mode 100644 meta-rt/images/core-image-minimal-rt-directdisk.bb delete mode 100644 meta/recipes-core/images/core-image-directdisk.inc delete mode 100644 meta/recipes-core/images/core-image-minimal-directdisk.bb delete mode 100644 meta/recipes-sato/images/core-image-sato-directdisk.bb delete mode 100644 meta/recipes-sato/images/core-image-sato-sdk-directdisk.bb
meta-rt/images/core-image-minimal-rt-directdisk.bb deleted +0 -15
@@ -1,15 +0,0 @@ -# -# Copyright (C) 2010 Intel Corporation. -# - -require recipes-core/images/core-image-directdisk.inc - -DESCRIPTION = "Bootable Minimal Real-Time Direct Disk Image" - -ROOTFS = "${DEPLOY_DIR_IMAGE}/core-image-minimal-rt-${MACHINE}.ext3" - -LICENSE = "MIT" - -do_bootdirectdisk[depends] += "core-image-minimal-rt:do_rootfs" - -
meta/recipes-core/images/core-image-directdisk.inc deleted +0 -11
@@ -1,11 +0,0 @@ -inherit boot-directdisk - -LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ - file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" - -do_bootdirectdisk_prepend () { - import bb - fstypes = bb.data.getVar('IMAGE_FSTYPES', d, True) - if 'ext3' not in fstypes: - bb.msg.fatal(bb.msg.domain.Build, "ext3 not in IMAGE_FSTYPES") -}
meta/recipes-core/images/core-image-minimal-directdisk.bb deleted +0 -11
@@ -1,11 +0,0 @@ -require core-image-directdisk.inc - -DESCRIPTION = "Minimal Bootable Direct Disk Image" - -ROOTFS = "${DEPLOY_DIR_IMAGE}/core-image-minimal-${MACHINE}.ext3" - -LICENSE = "MIT" - -do_bootdirectdisk[depends] += "core-image-minimal:do_rootfs" - -
meta/recipes-sato/images/core-image-sato-directdisk.bb deleted +0 -9
@@ -1,9 +0,0 @@ -require recipes-core/images/core-image-directdisk.inc - -DESCRIPTION = "Sato Direct Disk Image" - -LICENSE = "MIT" - -ROOTFS = "${DEPLOY_DIR_IMAGE}/core-image-sato-${MACHINE}.ext3" - -do_bootdirectdisk[depends] += "core-image-sato:do_rootfs"
meta/recipes-sato/images/core-image-sato-sdk-directdisk.bb deleted +0 -9
@@ -1,9 +0,0 @@ -require recipes-core/images/core-image-directdisk.inc - -DESCRIPTION = "Sato SDK Direct Disk Image" - -LICENSE = "MIT" - -ROOTFS = "${DEPLOY_DIR_IMAGE}/core-image-sato-sdk-${MACHINE}.ext3" - -do_bootdirectdisk[depends] += "core-image-sato-sdk:do_rootfs"
Signature · 1 line
1.7.3.4
PATCH 34/35 classes/image*: Revamp creation of live images
In reply to Saul WoldThis creates a live image as an IMAGE_FSTYPES, thus removing the need to have additional -live.bb recipes. To create a live image one just needs to add live to the IMAGE_FSTYPES list
--- meta/classes/image-live.bbclass | 13 +++++++++++++ meta/classes/image.bbclass | 3 +++ meta/classes/image_types.bbclass | 15 +++++++++++++-- 3 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 meta/classes/image-empty.bbclass create mode 100644 meta/classes/image-live.bbclass
meta/classes/image-empty.bbclass new file +0 -0
meta/classes/image-live.bbclass new file +13 -0
@@ -0,0 +1,13 @@ + +AUTO_SYSLINUXCFG = "1" +INITRD = "${DEPLOY_DIR_IMAGE}/core-image-minimal-initramfs-${MACHINE}.cpio.gz" +APPEND += "root=/dev/ram0 " +TIMEOUT = "10" +LABELS += "boot install" + +ROOTFS = "${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.ext3" + +do_bootimg[depends] += "core-image-minimal-initramfs:do_rootfs" +do_bootimg[depends] += "${IMAGE_BASENAME}:do_rootfs" + +inherit image-live
meta/classes/image.bbclass +3 -0
@@ -29,6 +29,9 @@ LDCONFIGDEPEND_libc-uclibc = "" do_rootfs[depends] += "makedevs-native:do_populate_sysroot virtual/fakeroot-native:do_populate_sysroot ${LDCONFIGDEPEND}" do_rootfs[depends] += "virtual/update-alternatives-native:do_populate_sysroot update-rc.d-native:do_populate_sysroot" +IMAGE_TYPE = ${@base_contains("IMAGE_FSTYPES", "live", "live", "empty", d)} +inherit image-${IMAGE_TYPE} + python () { deps = bb.data.getVarFlag('do_rootfs', 'depends', d) or "" for type in (bb.data.getVar('IMAGE_FSTYPES', d, True) or "").split():
meta/classes/image_types.bbclass +13 -2
@@ -1,7 +1,18 @@ + def get_imagecmds(d): cmds = "\n" old_overrides = bb.data.getVar('OVERRIDES', d, 0) - for type in bb.data.getVar('IMAGE_FSTYPES', d, True).split(): + + types = bb.data.getVar('IMAGE_FSTYPES', d, True).split() + # Live images will be processed via inheriting bbclass and + # does not get processed here. + # live images also depend on ext3 so ensure its present + if "live" in types: + if "ext3" not in types: + types.append("ext3") + types.remove("live") + + for type in types: localdata = bb.data.createCopy(d) localdata.setVar('OVERRIDES', '%s:%s' % (type, old_overrides)) bb.data.update_data(localdata)
@@ -103,4 +114,4 @@ IMAGE_DEPENDS_ubi = "mtd-utils-native" IMAGE_DEPENDS_ubifs = "mtd-utils-native" # This variable is available to request which values are suitable for IMAGE_FSTYPES -IMAGE_TYPES = "jffs2 cramfs ext2 ext2.gz ext3 ext3.gz squashfs squashfs-lzma ubi tar tar.gz tar.bz2 tar.xz cpio cpio.gz cpio.xz cpio.lzma" +IMAGE_TYPES = "jffs2 cramfs ext2 ext2.gz ext3 ext3.gz live squashfs squashfs-lzma ubi tar tar.gz tar.bz2 tar.xz cpio cpio.gz cpio.xz cpio.lzma"
Signature · 1 line
1.7.3.4
Re: [Consolidated & Tested 34/35] classes/image*: Revamp creation of live images
Quoted 25 lines · Saul Wold
This creates a live image as an
IMAGE_FSTYPES, thus removing the need to have additional -live.bb recipes. To create a live image one just needs to add live to theIMAGE_FSTYPESlistSigned-off-by Saul Wold <[email protected]>--- meta/classes/image-live.bbclass | 13 +++++++++++++ meta/classes/image.bbclass | 3 +++ meta/classes/image_types.bbclass | 15 +++++++++++++-- 3 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 meta/classes/image-empty.bbclass create mode 100644 meta/classes/image-live.bbclassmeta/classes/image-empty.bbclass new file +0
-0meta/classes/image-live.bbclass new file +3
-0@@ -0,0 +1,13 @@ + +AUTO_SYSLINUXCFG = "1" +INITRD = "${DEPLOY_DIR_IMAGE}/core-image-minimal-initramfs-${MACHINE}.cpio.gz"
meta/classes/image-live.bbclass line 13
Quoted 10 lines
meta/classes/image-live.bbclass new file +10
-0+APPEND += "root=/dev/ram0 " +TIMEOUT = "10" +LABELS += "boot install" + +ROOTFS = "${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.ext3" + +do_bootimg[depends] += "core-image-minimal-initramfs:do_rootfs" +do_bootimg[depends] += "${IMAGE_BASENAME}:do_rootfs" + +inherit image-live
You mean bootimg here but I fixed up the patch ;-)
Cheers,
Richard
PATCH 35/35 utils.bbclass: Don't forget to pass the cmdline options
In reply to Saul WoldThis ensure that the command line options from the creation of the wrapper are actaully passed into the wrapper.
--- meta/classes/utils.bbclass | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
meta/classes/utils.bbclass +1 -1
@@ -290,7 +290,7 @@ create_cmdline_wrapper () { cat <<END >$cmd #!/bin/sh realpath=\`readlink -fn \$0\` -exec \`dirname \$realpath\`/$cmdname "\$@" +exec \`dirname \$realpath\`/$cmdname $@ "\$@" END chmod +x $cmd }
Signature · 1 line
1.7.3.4
Hi Saul,
Quoted 7 lines · Saul Wold
The following changes since commit
02031d766f983cd7e01e468cb2c926604313cd2a:arch-ia32.inc: Fix up
TUNE_ARCHvariable conflicts (2011-07-26 22:39:49 +0100)are available in the git repository at:
git://git.openembedded.org/openembedded-core-contribsgw/stage
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=sgw/live
I merged the following:
Quoted 6 lines
Bruce Ashfield (1):
machine/qemu: set preferred linux-yocto kernel versionEnrico Scholz (2):
console-tools: removed wildcard fromSRC_URI
module-init-tools: do not build static utilities for -cross
[I've made a note on this one to remove the static patch from that recipe]
Quoted 11 lines
Kang Kai (5):
libpam: update to 1.1.4 and add subpackage xtests
cups: add pam support
screen: add pam support
sudo: add pam support
shadow: update pam related configure filesKhem Raj (2):
libxcb: Add missing DEPENDS on libxdmcp
siteinfo: Rework the siteinfo for powerpc to fix uclibc fallout
Quoted 7 lines
Koen Kooi (1):
dropbear: don't overrideDISTRO_TYPEif it is already setPaul Eggleton (6):
meta/conf/local.conf.sample: remove oprofileui-native related
settings
meta/conf/local.conf.sample: improve comments/layout
[merged with fixes to remove the patch conflict it contained]
Quoted 9 lines
meta/conf/local.conf.sample: improve terminal examples/comments
eglibc: remove unnecessary FILESPATHPKG usagescripts/combo-layer: keep carriage returns at the end of linesSaul Wold (5):
libcap: Update to 2.22 with License Clarification Remove -live.bb recipes
Remove -directdisk.bb recipes classes/image*: Revamp creation of live images
[fixed to inherit the right class]
Quoted 13 lines
utils.bbclass: Don't forget to pass the cmdline options
Tom Rini (8):
siteinfo: Move certain samba entries to common-linux
siteinfo: Move certain bash entries to common-linux x86_64-linux siteinfo: Add bash info
siteinfo: Move certain mysql entries to common-linuxsiteinfo: Move certain db entries to common-linux
siteinfo: Move general realloc/malloc values to common-$libc
siteinfo: Move (getpgrp|setpgrp|setgrent|*get{pwuid,grgid}) to
common-libc
Quoted 8 lines
Wenzong Fan (2):
cronie: enable PAM support for cronie
at: enable pam supportXiaofeng Yan (3):
openssh: Support PAM
dropbear: Support pam
polkit: Support pam
I discussed this one with Paul and we've agreed to patch bitbake so I didn't take it:
meta/conf/local.conf.sample: remove nonfunctional BBINCLUDELOGS
setting
I dropped this as per discussion and comments from Phil:
siteinfo: Move the rp-pppoe entry to common-linux
Cheers,
Richard