diff options
author | Jamie Lenehan <lenehan@twibble.org> | 2007-01-25 06:17:54 +0000 |
---|---|---|
committer | Jamie Lenehan <lenehan@twibble.org> | 2007-01-25 06:17:54 +0000 |
commit | 67c66a76c950117b77a0bf819dfb24998cbdb4d2 (patch) | |
tree | b3f565981c354edef7368f0317278d46a47832c0 /packages/arpwatch | |
parent | ceb6322cf60557fa7dd8d631212f1402d297da51 (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.
Diffstat (limited to 'packages/arpwatch')
-rw-r--r-- | packages/arpwatch/arpwatch_2.1a15.bb | 4 |
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 \ |