All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] gstreamer1.0-omx_1.2.0: remove recipe
@ 2017-02-28  9:41 Maxin B. John
  2017-02-28  9:41 ` [PATCH 2/2] useradd.bbclass: drop obsolete code Maxin B. John
  2017-02-28 18:23 ` [PATCH 1/2] gstreamer1.0-omx_1.2.0: remove recipe Khem Raj
  0 siblings, 2 replies; 3+ messages in thread
From: Maxin B. John @ 2017-02-28  9:41 UTC (permalink / raw)
  To: openembedded-core

Removing this recipe since we have the latest gstreamer1.0-omx_1.10.4
in place.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
---
 meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.2.0.bb | 11 -----------
 1 file changed, 11 deletions(-)
 delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.2.0.bb

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.2.0.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.2.0.bb
deleted file mode 100644
index 3b4580f..0000000
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.2.0.bb
+++ /dev/null
@@ -1,11 +0,0 @@
-require gstreamer1.0-omx.inc
-
-LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
-                    file://omx/gstomx.h;beginline=1;endline=21;md5=5c8e1fca32704488e76d2ba9ddfa935f"
-
-SRC_URI = "http://gstreamer.freedesktop.org/src/gst-omx/gst-omx-${PV}.tar.xz"
-
-SRC_URI[md5sum] = "d24e8c0153c35dfefee3e26b1c2c35f8"
-SRC_URI[sha256sum] = "0b4874961e6488ad9e5808114bd486ea981c540907262caab1419355fd82d745"
-
-S = "${WORKDIR}/gst-omx-${PV}"
-- 
2.4.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] useradd.bbclass: drop obsolete code
  2017-02-28  9:41 [PATCH 1/2] gstreamer1.0-omx_1.2.0: remove recipe Maxin B. John
@ 2017-02-28  9:41 ` Maxin B. John
  2017-02-28 18:23 ` [PATCH 1/2] gstreamer1.0-omx_1.2.0: remove recipe Khem Raj
  1 sibling, 0 replies; 3+ messages in thread
From: Maxin B. John @ 2017-02-28  9:41 UTC (permalink / raw)
  To: openembedded-core

Cleanup useradd class by removing the code made obsolete by
the introduction of Recipe Specific Sysroot.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
---
 meta/classes/useradd.bbclass | 35 -----------------------------------
 1 file changed, 35 deletions(-)

diff --git a/meta/classes/useradd.bbclass b/meta/classes/useradd.bbclass
index 326c04d..bbc7053 100644
--- a/meta/classes/useradd.bbclass
+++ b/meta/classes/useradd.bbclass
@@ -30,9 +30,6 @@ if test "x$D" != "x"; then
 	if [ ! -e $D${sysconfdir}/login.defs -a -e $D${sysconfdir}/login.defs.dpkg-new ]; then
 	    cp $D${sysconfdir}/login.defs.dpkg-new $D${sysconfdir}/login.defs
 	fi
-
-	# user/group lookups should match useradd/groupadd --root
-	export PSEUDO_PASSWD="$SYSROOT:${STAGING_DIR_NATIVE}"
 fi
 
 # If we're not doing a special SSTATE/SYSROOT install
@@ -132,38 +129,6 @@ python useradd_sysroot_sstate () {
         bb.build.exec_func("useradd_sysroot", d)
 }
 
-userdel_sysroot_sstate () {
-if test "x${STAGING_DIR_TARGET}" != "x"; then
-    if [ "${BB_CURRENTTASK}" = "clean" ]; then
-        export PSEUDO="${FAKEROOTENV} PSEUDO_LOCALSTATEDIR=${STAGING_DIR_TARGET}${localstatedir}/pseudo ${PSEUDO_SYSROOT}${bindir_native}/pseudo"
-        OPT="--root ${STAGING_DIR_TARGET}"
-
-        # Remove groups and users defined for package
-        GROUPADD_PARAM="${@get_all_cmd_params(d, 'groupadd')}"
-        USERADD_PARAM="${@get_all_cmd_params(d, 'useradd')}"
-
-        user=`echo "$USERADD_PARAM" | cut -d ';' -f 1 | awk '{ print $NF }'`
-        remaining=`echo "$USERADD_PARAM" | cut -d ';' -f 2- -s | sed -e 's#[ \t]*$##'`
-        while test "x$user" != "x"; do
-            perform_userdel "${STAGING_DIR_TARGET}" "$OPT $user"
-            user=`echo "$remaining" | cut -d ';' -f 1 | awk '{ print $NF }'`
-            remaining=`echo "$remaining" | cut -d ';' -f 2- -s | sed -e 's#[ \t]*$##'`
-        done
-
-        user=`echo "$GROUPADD_PARAM" | cut -d ';' -f 1 | awk '{ print $NF }'`
-        remaining=`echo "$GROUPADD_PARAM" | cut -d ';' -f 2- -s | sed -e 's#[ \t]*$##'`
-        while test "x$user" != "x"; do
-            perform_groupdel "${STAGING_DIR_TARGET}" "$OPT $user"
-            user=`echo "$remaining" | cut -d ';' -f 1 | awk '{ print $NF }'`
-            remaining=`echo "$remaining" | cut -d ';' -f 2- -s | sed -e 's#[ \t]*$##'`
-        done
-
-    fi
-fi
-}
-
-#SSTATECLEANFUNCS_append_class-target = " userdel_sysroot_sstate"
-
 do_prepare_recipe_sysroot[postfuncs] += "${SYSROOTFUNC}"
 SYSROOTFUNC_class-target = "useradd_sysroot_sstate"
 SYSROOTFUNC = ""
-- 
2.4.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] gstreamer1.0-omx_1.2.0: remove recipe
  2017-02-28  9:41 [PATCH 1/2] gstreamer1.0-omx_1.2.0: remove recipe Maxin B. John
  2017-02-28  9:41 ` [PATCH 2/2] useradd.bbclass: drop obsolete code Maxin B. John
@ 2017-02-28 18:23 ` Khem Raj
  1 sibling, 0 replies; 3+ messages in thread
From: Khem Raj @ 2017-02-28 18:23 UTC (permalink / raw)
  To: Maxin B. John; +Cc: Patches and discussions about the oe-core layer

On Tue, Feb 28, 2017 at 2:41 AM, Maxin B. John <maxin.john@intel.com> wrote:
> Removing this recipe since we have the latest gstreamer1.0-omx_1.10.4
> in place.
>

this is ok

> Signed-off-by: Maxin B. John <maxin.john@intel.com>
> ---
>  meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.2.0.bb | 11 -----------
>  1 file changed, 11 deletions(-)
>  delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.2.0.bb
>
> diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.2.0.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.2.0.bb
> deleted file mode 100644
> index 3b4580f..0000000
> --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.2.0.bb
> +++ /dev/null
> @@ -1,11 +0,0 @@
> -require gstreamer1.0-omx.inc
> -
> -LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
> -                    file://omx/gstomx.h;beginline=1;endline=21;md5=5c8e1fca32704488e76d2ba9ddfa935f"
> -
> -SRC_URI = "http://gstreamer.freedesktop.org/src/gst-omx/gst-omx-${PV}.tar.xz"
> -
> -SRC_URI[md5sum] = "d24e8c0153c35dfefee3e26b1c2c35f8"
> -SRC_URI[sha256sum] = "0b4874961e6488ad9e5808114bd486ea981c540907262caab1419355fd82d745"
> -
> -S = "${WORKDIR}/gst-omx-${PV}"
> --
> 2.4.0
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-02-28 18:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-28  9:41 [PATCH 1/2] gstreamer1.0-omx_1.2.0: remove recipe Maxin B. John
2017-02-28  9:41 ` [PATCH 2/2] useradd.bbclass: drop obsolete code Maxin B. John
2017-02-28 18:23 ` [PATCH 1/2] gstreamer1.0-omx_1.2.0: remove recipe Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.