summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-12-20 20:35:00 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-12-20 20:35:00 +0000
commit0fb111b7eaf8e32940ab65f67bb821904af2da36 (patch)
tree3866a84ffb6c0fdd391893b47bedc5947bcb07c0 /meta
parent3f814ff9c48c896bf2a60dec6d86127c89d7747a (diff)
downloadpoky-0fb111b7eaf8e32940ab65f67bb821904af2da36.tar.gz
fakeroot/fakechroot: These have been replaced by pseudo, move to meta-extras
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/fakechroot/fakechroot_2.13.1.bb17
-rw-r--r--meta/recipes-devtools/fakeroot/fakeroot-1.14.5/absolutepaths.patch47
-rw-r--r--meta/recipes-devtools/fakeroot/fakeroot_1.14.5.bb38
3 files changed, 0 insertions, 102 deletions
diff --git a/meta/recipes-devtools/fakechroot/fakechroot_2.13.1.bb b/meta/recipes-devtools/fakechroot/fakechroot_2.13.1.bb
deleted file mode 100644
index 428bd4f223..0000000000
--- a/meta/recipes-devtools/fakechroot/fakechroot_2.13.1.bb
+++ /dev/null
@@ -1,17 +0,0 @@
1DESCRIPTION = "Gives a fake root environment which can support chroot"
2SECTION = "base"
3
4LICENSE = "LGPLv2.1+"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1"
6
7SRC_URI = "${DEBIAN_MIRROR}/main/f/fakechroot/fakechroot_${PV}.orig.tar.gz \
8 "
9
10SRC_URI[md5sum] = "280a828869a15059f0681a5d11a5e255"
11SRC_URI[md5sum] = "15489437d8602cc393d886f74004ee75af049b1fab42b27331f355650e4e57c8"
12
13inherit autotools
14
15PR = "r0"
16
17BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/fakeroot/fakeroot-1.14.5/absolutepaths.patch b/meta/recipes-devtools/fakeroot/fakeroot-1.14.5/absolutepaths.patch
deleted file mode 100644
index ae18e8a28c..0000000000
--- a/meta/recipes-devtools/fakeroot/fakeroot-1.14.5/absolutepaths.patch
+++ /dev/null
@@ -1,47 +0,0 @@
1Image creation runs under a fakeroot context and calls a script which refers
2to the build systems's python. This loads but can find a libpython from staging
3if these are incompatible, anything can break. These scripts should *not* be
4changing LD_LIBRARY_PATH, just adding an LD_PRELOAD with an absolute path. The
5dyanmic linker can figure out anything else with rpaths.
6
7RP - 23/1/10
8
9Index: fakeroot-1.9.4/configure.ac
10===================================================================
11--- fakeroot-1.9.4.orig/configure.ac 2010-01-23 22:34:39.000000000 +0000
12+++ fakeroot-1.9.4/configure.ac 2010-01-23 22:35:14.000000000 +0000
13@@ -414,6 +414,8 @@
14 ;;
15 esac
16
17+LDPRELOADABS=1
18+
19 AC_DEFINE_UNQUOTED([LIBCPATH], "$libcpath", [path to libc shared object])
20 AC_SUBST(DLSUFFIX)
21 AC_SUBST(LDLIBPATHVAR)
22Index: fakeroot-1.9.4/scripts/fakeroot.in
23===================================================================
24--- fakeroot-1.9.4.orig/scripts/fakeroot.in 2010-01-23 22:34:53.000000000 +0000
25+++ fakeroot-1.9.4/scripts/fakeroot.in 2010-01-23 22:37:17.000000000 +0000
26@@ -135,7 +135,7 @@
27 if [ "$WAITINTRAP" -eq 0 ]; then
28 trap "kill -s @signal@ $PID" EXIT INT
29 else
30- trap 'FAKEROOTKEY=$FAKEROOTKEY LD_LIBRARY_PATH="$PATHS" LD_PRELOAD="$LIB" /bin/ls -l / >/dev/null 2>&1; while kill -s @signal@ $PID 2>/dev/null; do sleep 0.1; done' EXIT INT
31+ trap 'FAKEROOTKEY=$FAKEROOTKEY LD_PRELOAD="$LIB" /bin/ls -l / >/dev/null 2>&1; while kill -s @signal@ $PID 2>/dev/null; do sleep 0.1; done' EXIT INT
32 fi
33
34 if test -z "$FAKEROOTKEY" || test -z "$PID"; then
35@@ -158,10 +158,10 @@
36 export FAKEROOT_FD_BASE
37
38 if test -z "$*"; then
39- FAKEROOTKEY=$FAKEROOTKEY @LDLIBPATHVAR@="$PATHS" @LDEXTRAVAR@ @LDPRELOADVAR@="$LIB" ${SHELL:-/bin/sh}
40+ FAKEROOTKEY=$FAKEROOTKEY @LDEXTRAVAR@ @LDPRELOADVAR@="$LIB" ${SHELL:-/bin/sh}
41 RESULT=$?
42 else
43- FAKEROOTKEY=$FAKEROOTKEY @LDLIBPATHVAR@="$PATHS" @LDEXTRAVAR@ @LDPRELOADVAR@="$LIB" "$@"
44+ FAKEROOTKEY=$FAKEROOTKEY @LDEXTRAVAR@ @LDPRELOADVAR@="$LIB" "$@"
45 RESULT=$?
46 fi
47
diff --git a/meta/recipes-devtools/fakeroot/fakeroot_1.14.5.bb b/meta/recipes-devtools/fakeroot/fakeroot_1.14.5.bb
deleted file mode 100644
index 2d2604f270..0000000000
--- a/meta/recipes-devtools/fakeroot/fakeroot_1.14.5.bb
+++ /dev/null
@@ -1,38 +0,0 @@
1DESCRIPTION = "Provides a fake \"root environment\" by means of LD_PRELOAD and SYSV IPC or TCP trickery"
2HOMEPAGE = "http://fakeroot.alioth.debian.org/"
3SECTION = "base"
4LICENSE = "GPLv3+"
5LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949"
6
7# fakeroot needs getopt which is provided by the util-linux package
8RDEPENDS = "util-linux"
9RDEPENDS_virtclass-native = "util-linux-native"
10PR = "r0"
11PROVIDES += "virtual/fakeroot"
12
13SRC_URI = "${DEBIAN_MIRROR}/main/f/fakeroot/fakeroot_${PV}.orig.tar.bz2 \
14 file://absolutepaths.patch"
15
16inherit autotools
17
18do_configure_prepend() {
19 # fakeroot's own bootstrap includes other autoreconf stuff we don't need here
20 # so manually create the aux directory
21 mkdir -p ${S}/build-aux
22}
23
24do_install_append() {
25 install -d ${D}${includedir}/fakeroot/
26 install -m 644 *.h ${D}${includedir}/fakeroot
27}
28
29# Compatability for the rare systems not using or having SYSV
30python () {
31 if bb.data.inherits_class("native", d) and bb.data.getVar('HOST_NONSYSV', d, True) and bb.data.getVar('HOST_NONSYSV', d, True) != '0':
32 bb.data.setVar('EXTRA_OECONF', ' --with-ipc=tcp ', d)
33}
34
35BBCLASSEXTEND = "native"
36
37SRC_URI[md5sum] = "659a1f3a36554abfc2a3eaad2fdc0604"
38SRC_URI[sha256sum] = "b035c834944bf9482027f48c388de8492e96609825265ac03f05408d0b3aae68"