diff options
author | Paul Barker <paul@betafive.co.uk> | 2019-11-15 13:00:48 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-11-21 23:08:19 +0000 |
commit | bd00c8d85a3543ce20fb2f90c0776dabf3e2d9dd (patch) | |
tree | f9aae85521a3b80b22008667d3fc6029273fad88 /meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb | |
parent | 56c530c291da0f3344f8a68a5ca38d8d82e132f7 (diff) | |
download | poky-bd00c8d85a3543ce20fb2f90c0776dabf3e2d9dd.tar.gz |
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 <paul@betafive.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb')
-rw-r--r-- | meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb | 5 |
1 files changed, 4 insertions, 1 deletions
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" | |||
7 | LICENSE = "GPLv2 & CDDL-1.0 & LGPLv2.1+" | 7 | LICENSE = "GPLv2 & CDDL-1.0 & LGPLv2.1+" |
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=32f68170be424c2cd64804337726b312" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=32f68170be424c2cd64804337726b312" |
9 | 9 | ||
10 | SRC_URI = "${SOURCEFORGE_MIRROR}/project/cdrtools/cdrtools-${REALPV}.tar.bz2" | 10 | SRC_URI = " \ |
11 | ${SOURCEFORGE_MIRROR}/project/cdrtools/cdrtools-${REALPV}.tar.bz2 \ | ||
12 | file://0001-Don-t-set-uid-gid-during-install.patch \ | ||
13 | " | ||
11 | UPSTREAM_VERSION_UNKNOWN = "1" | 14 | UPSTREAM_VERSION_UNKNOWN = "1" |
12 | 15 | ||
13 | SRC_URI[md5sum] = "7d45c5b7e1f78d85d1583b361aee6e8b" | 16 | SRC_URI[md5sum] = "7d45c5b7e1f78d85d1583b361aee6e8b" |