ghostscript: Fix owner/group of /etc/cups (v3)
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 4/40 ghostscript: Fix owner/group of /etc/cups (v3)
/etc/cups is owned by root:lp from the cups package, the associated ghostscript was creating the /etc/cups directory as root:root. /etc/cups is the authoritative source.
Signed-off-by Mark Hatle <[email protected]>
--- .../ghostscript/ghostscript_9.02.bb | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-)
meta/recipes-extended/ghostscript/ghostscript_9.02.bb +6 -1
@@ -15,7 +15,7 @@ SECTION = "console/utils" LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://LICENSE;md5=d151214b3131251dfc9d858593acbd24" -PR = "r2" +PR = "r3" DEPENDS = "${PN}-native tiff jpeg fontconfig cups" DEPENDS_virtclass-native = ""
@@ -53,10 +53,15 @@ do_configure () { done } +FIX_OWNERS = "chown -R root:lp ${D}${sysconfdir}/cups" +FIX_OWNERS_virtclass-native = "" + do_install_append () { mkdir -p ${D}${datadir}/ghostscript/${PV}/ cp -r Resource ${D}${datadir}/ghostscript/${PV}/ cp -r iccprofiles ${D}${datadir}/ghostscript/${PV}/ + + test -n "${FIX_OWNERS}" && eval ${FIX_OWNERS} || : } python do_patch_virtclass-native () {
Signature · 1 line
1.7.3.4
PATCH 5/40 libtirpc: Fix owner/group of /etc/netconfig (v3)
In reply to a message not in the archiveSigned-off-by Mark Hatle <[email protected]>
--- meta/recipes-extended/libtirpc/libtirpc_0.2.1.bb | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)
meta/recipes-extended/libtirpc/libtirpc_0.2.1.bb +5 -1
@@ -7,7 +7,7 @@ BUGTRACKER = "http://sourceforge.net/tracker/?group_id=183075&atid=903784" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://COPYING;md5=1c32c8e351f97e43e1ad6cf7f62de3bf \ file://src/netname.c;beginline=1;endline=27;md5=f8a8cd2cb25ac5aa16767364fb0e3c24" -PR = "r0" +PR = "r1" SRC_URI = "${SOURCEFORGE_MIRROR}/libtirpc/libtirpc-${PV}.tar.bz2"
@@ -15,3 +15,7 @@ SRC_URI[md5sum] = "d77eb15f464bf9d6e66259eaf78b2a4e" SRC_URI[sha256sum] = "ea77cadd63941fc4edbee7863d2c7094e6a18263d2a2c8922319aee91352ff41" inherit autotools + +do_install_append() { + chown root:root ${D}${sysconfdir}/netconfig +}
Signature · 1 line
1.7.3.4
PATCH 8/40 perf: Fix linux-tools to ensure perf is installed under "fakeroot" (v3)
In reply to a message not in the archiveIf perf isn't installed under "fakeroot" (pseudo) control, all of the files are given the build user's uid/gid.
Signed-off-by Mark Hatle <[email protected]>
--- meta/recipes-kernel/linux/linux-tools.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-kernel/linux/linux-tools.inc +1 -1
@@ -10,7 +10,7 @@ do_compile_perf() { oe_runmake -C ${S}/tools/perf CC="${CC}" LD="${LD}" prefix=${prefix} NO_NEWT=1 NO_DWARF=1 } -do_install_perf() { +fakeroot do_install_perf() { oe_runmake -C ${S}/tools/perf CC="${CC}" LD="${LD}" prefix=${prefix} DESTDIR=${D} install NO_NEWT=1 NO_DWARF=1 }
Signature · 1 line
1.7.3.4
PATCH 24/40 systemtamp: Add missing debug files (v3)
In reply to a message not in the archiveSigned-off-by Mark Hatle <[email protected]>
--- meta/recipes-kernel/systemtap/systemtap_git.bb | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
meta/recipes-kernel/systemtap/systemtap_git.bb +3 -1
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" DEPENDS = "elfutils" SRCREV = "4ab3a1863bf4f472acae7a809bf2b38d91658aa8" -PR = "r2" +PR = "r3" PV = "1.4+git${SRCPV}" SRC_URI = "git://sources.redhat.com/git/systemtap.git;protocol=git \
@@ -29,3 +29,5 @@ COMPATIBLE_HOST = '(x86_64.*|i.86.*|powerpc.*)-linux' S = "${WORKDIR}/git" inherit autotools + +FILES_${PN}-dbg += "${libexecdir}/systemtap/.debug"
Signature · 1 line
1.7.3.4