diff options
author | Andreas Müller <schnitzeltony@googlemail.com> | 2013-04-30 16:52:04 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-05-10 11:02:39 +0200 |
commit | 2ab4e01d04b4ff166e19a91cc7f1e3b99c0b7786 (patch) | |
tree | 589ae22275800f0072916c0c8cd9ea12f53c6aa1 /meta-networking/recipes-protocols/rp-pppoe | |
parent | 96d7340da6a0eba20cd2e62175daa244c63bcd12 (diff) | |
download | meta-openembedded-2ab4e01d04b4ff166e19a91cc7f1e3b99c0b7786.tar.gz |
rp-pppoe: move chmod form postinst to offline do_install
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-networking/recipes-protocols/rp-pppoe')
-rw-r--r-- | meta-networking/recipes-protocols/rp-pppoe/rp-pppoe_3.8.bb | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe_3.8.bb b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe_3.8.bb index d4cc664e1..56246bc48 100644 --- a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe_3.8.bb +++ b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe_3.8.bb | |||
@@ -4,7 +4,7 @@ SECTION = "console/network" | |||
4 | LICENSE = "GPLv2" | 4 | LICENSE = "GPLv2" |
5 | LIC_FILES_CHKSUM = "file://doc/LICENSE;md5=a194eaefae2be54ee3221339b10d0581" | 5 | LIC_FILES_CHKSUM = "file://doc/LICENSE;md5=a194eaefae2be54ee3221339b10d0581" |
6 | 6 | ||
7 | PR = "r9" | 7 | PR = "r10" |
8 | 8 | ||
9 | SRC_URI = "http://www.roaringpenguin.com/files/download/${P}.tar.gz \ | 9 | SRC_URI = "http://www.roaringpenguin.com/files/download/${P}.tar.gz \ |
10 | file://top-autoconf.patch \ | 10 | file://top-autoconf.patch \ |
@@ -29,6 +29,7 @@ do_install() { | |||
29 | install -m 0755 ${WORKDIR}/pppoe-server.init ${D}${sysconfdir}/init.d/pppoe-server | 29 | install -m 0755 ${WORKDIR}/pppoe-server.init ${D}${sysconfdir}/init.d/pppoe-server |
30 | # Install | 30 | # Install |
31 | oe_runmake -C ${S} RPM_INSTALL_ROOT=${D} docdir=${docdir} install | 31 | oe_runmake -C ${S} RPM_INSTALL_ROOT=${D} docdir=${docdir} install |
32 | chmod 4755 ${D}${sbindir}/pppoe | ||
32 | } | 33 | } |
33 | 34 | ||
34 | # Insert server package before main package | 35 | # Insert server package before main package |
@@ -41,13 +42,6 @@ FILES_${PN}-server = "${sysconfdir}/default/pppoe-server \ | |||
41 | FILES_${PN}-relay = "${sbindir}/pppoe-relay" | 42 | FILES_${PN}-relay = "${sbindir}/pppoe-relay" |
42 | FILES_${PN}-sniff = "${sbindir}/pppoe-sniff" | 43 | FILES_${PN}-sniff = "${sbindir}/pppoe-sniff" |
43 | 44 | ||
44 | pkg_postinst_${PN} () { | ||
45 | if [ x"$D" != "x" ]; then | ||
46 | exit 1 | ||
47 | fi | ||
48 | chmod 4755 ${sbindir}/pppoe | ||
49 | } | ||
50 | |||
51 | CONFFILES_${PN} = "${sysconfdir}/ppp/pppoe.conf \ | 45 | CONFFILES_${PN} = "${sysconfdir}/ppp/pppoe.conf \ |
52 | ${sysconfdir}/ppp/firewall-standalone \ | 46 | ${sysconfdir}/ppp/firewall-standalone \ |
53 | ${sysconfdir}/ppp/firewall-masq" | 47 | ${sysconfdir}/ppp/firewall-masq" |