From bd00c8d85a3543ce20fb2f90c0776dabf3e2d9dd Mon Sep 17 00:00:00 2001 From: Paul Barker Date: Fri, 15 Nov 2019 13:00:48 +0000 Subject: cdrtools-native: Don't set uid/gid during install This is a native recipe so won't be installed as root. If the string 'root' is part of the username then the install script can get tricked into thinking we are root (regardless of the actual uid or permissions) resulting in attempts to run chown/chgrp inappropriately. (From OE-Core rev: 5db7b80140410cd3c164e4522dc87df92fac93b0) Signed-off-by: Paul Barker Signed-off-by: Richard Purdie --- meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb') diff --git a/meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb b/meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb index 78e1565e47..1c602e7ce7 100644 --- a/meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb +++ b/meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb @@ -7,7 +7,10 @@ SECTION = "console/utils" LICENSE = "GPLv2 & CDDL-1.0 & LGPLv2.1+" LIC_FILES_CHKSUM = "file://COPYING;md5=32f68170be424c2cd64804337726b312" -SRC_URI = "${SOURCEFORGE_MIRROR}/project/cdrtools/cdrtools-${REALPV}.tar.bz2" +SRC_URI = " \ + ${SOURCEFORGE_MIRROR}/project/cdrtools/cdrtools-${REALPV}.tar.bz2 \ + file://0001-Don-t-set-uid-gid-during-install.patch \ + " UPSTREAM_VERSION_UNKNOWN = "1" SRC_URI[md5sum] = "7d45c5b7e1f78d85d1583b361aee6e8b" -- cgit v1.2.3-54-g00ecf