diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-16 22:00:22 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-16 22:00:22 +0000 |
commit | 668ae67a4fa15e65e26d1c5f480061fe07e4b9db (patch) | |
tree | f917106e065295e6c365be39aee077760e56ff1d /meta | |
parent | d89b641578a4b3ef3dbe168e59e47cf6d4f1cc5d (diff) | |
download | poky-668ae67a4fa15e65e26d1c5f480061fe07e4b9db.tar.gz |
update-rc.d: Add native version, add native dependency to class, convert staging function
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/update-rc.d.bbclass | 2 | ||||
-rw-r--r-- | meta/packages/update-rc.d/update-rc.d/add-verbose.patch (renamed from meta/packages/update-rc.d/files/add-verbose.patch) | 0 | ||||
-rw-r--r-- | meta/packages/update-rc.d/update-rc.d_0.7.bb | 7 |
3 files changed, 4 insertions, 5 deletions
diff --git a/meta/classes/update-rc.d.bbclass b/meta/classes/update-rc.d.bbclass index 5a8062cc7c..0c648edb4d 100644 --- a/meta/classes/update-rc.d.bbclass +++ b/meta/classes/update-rc.d.bbclass | |||
@@ -1,4 +1,4 @@ | |||
1 | DEPENDS_append = " update-rc.d" | 1 | DEPENDS_append = " update-rc.d-native" |
2 | RDEPENDS_${PN}_append = " update-rc.d" | 2 | RDEPENDS_${PN}_append = " update-rc.d" |
3 | 3 | ||
4 | INITSCRIPT_PARAMS ?= "defaults" | 4 | INITSCRIPT_PARAMS ?= "defaults" |
diff --git a/meta/packages/update-rc.d/files/add-verbose.patch b/meta/packages/update-rc.d/update-rc.d/add-verbose.patch index 0f068308f6..0f068308f6 100644 --- a/meta/packages/update-rc.d/files/add-verbose.patch +++ b/meta/packages/update-rc.d/update-rc.d/add-verbose.patch | |||
diff --git a/meta/packages/update-rc.d/update-rc.d_0.7.bb b/meta/packages/update-rc.d/update-rc.d_0.7.bb index dd370e6ff8..362f8603c4 100644 --- a/meta/packages/update-rc.d/update-rc.d_0.7.bb +++ b/meta/packages/update-rc.d/update-rc.d_0.7.bb | |||
@@ -13,11 +13,10 @@ PACKAGE_ARCH = "all" | |||
13 | do_compile() { | 13 | do_compile() { |
14 | } | 14 | } |
15 | 15 | ||
16 | do_stage() { | 16 | NATIVE_INSTALL_WORKS = "1" |
17 | install -m 0755 ${S}/update-rc.d ${STAGING_BINDIR_NATIVE}/ | ||
18 | } | ||
19 | |||
20 | do_install() { | 17 | do_install() { |
21 | install -d ${D}${sbindir} | 18 | install -d ${D}${sbindir} |
22 | install -m 0755 ${S}/update-rc.d ${D}${sbindir}/update-rc.d | 19 | install -m 0755 ${S}/update-rc.d ${D}${sbindir}/update-rc.d |
23 | } | 20 | } |
21 | |||
22 | BBCLASSEXTEND = "native" \ No newline at end of file | ||