summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamie Lenehan <lenehan@twibble.org>2007-01-25 06:17:54 +0000
committerJamie Lenehan <lenehan@twibble.org>2007-01-25 06:17:54 +0000
commit67c66a76c950117b77a0bf819dfb24998cbdb4d2 (patch)
treeb3f565981c354edef7368f0317278d46a47832c0
parentceb6322cf60557fa7dd8d631212f1402d297da51 (diff)
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.
-rw-r--r--packages/arpwatch/arpwatch_2.1a15.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/arpwatch/arpwatch_2.1a15.bb b/packages/arpwatch/arpwatch_2.1a15.bb
index 74e667c510..758c3c807f 100644
--- a/packages/arpwatch/arpwatch_2.1a15.bb
+++ b/packages/arpwatch/arpwatch_2.1a15.bb
@@ -3,7 +3,7 @@ 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 @@ PACKAGES =+ "arpwatch-data"
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 \