[oe-commits] org.oe.dev arpwatch 2.1a15: Run do_install under fakeroot because the Makefile

lenehan commit openembedded-commits at lists.openembedded.org
Thu Jan 25 06:20:25 UTC 2007


arpwatch 2.1a15: Run do_install under fakeroot because the Makefile
attempts to set the ownership of the installed files (install
-o/-g):

| NOTE: make install DESTDIR=/home/lenehan/devel/oe/build/titan-glibc-25/tmp/work/arpwatch-2.1a15-r1/image
| /usr/bin/install -c -m 555 -o bin -g bin arpwatch /home/lenehan/devel/oe/build/titan-glibc-25/tmp/work/arpwatch-2.1a15-r1/image/usr/sbin
| /usr/bin/install: cannot change ownership of /home/lenehan/devel/oe/build/titan-glibc-25/tmp/work/arpwatch-2.1a15-r1/image/usr/sbin/arpwatch': Operation not permitted
| make: *** [install] Error 1
| FATAL: oe_runmake failed

This worked on my old build host running Fedora Core 4 because the -g
and -o options are ignored there when install is run by a normal
user. The above error is on a ubunutu 6.10 host which obviously
doesn't ignore those options.

Author: lenehan at openembedded.org
Branch: org.openembedded.dev
Revision: f3a12e85b839264e03f0da134a57b7d455473e27
ViewMTN: http://monotone.openembedded.org/revision.psp?id=f3a12e85b839264e03f0da134a57b7d455473e27
Files:
1
packages/arpwatch/arpwatch_2.1a15.bb
Diffs:

#
# mt diff -rbe0f9c47556e54c975f12b0da41da288b6a5d124 -rf3a12e85b839264e03f0da134a57b7d455473e27
#
# 
# 
# patch "packages/arpwatch/arpwatch_2.1a15.bb"
#  from [f3fcb602c284b23986bc9b345e7eb2f37348ac54]
#    to [753e580b01aca3cddf99c1fa4491bca73674c0fd]
# 
============================================================
--- packages/arpwatch/arpwatch_2.1a15.bb	f3fcb602c284b23986bc9b345e7eb2f37348ac54
+++ packages/arpwatch/arpwatch_2.1a15.bb	753e580b01aca3cddf99c1fa4491bca73674c0fd
@@ -1,9 +1,9 @@ RRECOMMENDS = "arpwatch-data"
 DESCRIPTION = "Ethernet/FDDI station activity monitor"
 HOMEPAGE = "http://www-nrg.ee.lbl.gov/"
 SECTION = "network"
 LICENSE = "BSD"
 RRECOMMENDS = "arpwatch-data"
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "ftp://ftp.ee.lbl.gov/arpwatch-${PV}.tar.gz \
            file://05debian_fhs.patch;patch=1 \
@@ -21,7 +21,7 @@ FILES_arpwatch-data = "${datadir}/arpwat
 
 FILES_arpwatch-data = "${datadir}/arpwatch/ethercodes.dat"
 
-do_install() {
+fakeroot do_install() {
         install -d ${D}${bindir} ${D}${sbindir} ${D}${mandir}/man8 \
                 ${D}${sysconfdir}/default \
                 ${D}${sysconfdir}/init.d \






More information about the Openembedded-commits mailing list