From: Jamie Lenehan Date: Thu, 25 Jan 2007 06:17:54 +0000 (+0000) Subject: arpwatch 2.1a15: Run do_install under fakeroot because the Makefile X-Git-Tag: Release-2010-05/1~9337^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67c66a76c950117b77a0bf819dfb24998cbdb4d2;p=openembedded.git 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. --- 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 \