diff options
Diffstat (limited to 'meta/recipes-devtools/prelink/prelink_git.bb')
| -rw-r--r-- | meta/recipes-devtools/prelink/prelink_git.bb | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/meta/recipes-devtools/prelink/prelink_git.bb b/meta/recipes-devtools/prelink/prelink_git.bb index e197af9ee9..78d4c71817 100644 --- a/meta/recipes-devtools/prelink/prelink_git.bb +++ b/meta/recipes-devtools/prelink/prelink_git.bb | |||
| @@ -19,11 +19,11 @@ PV = "1.0+git${SRCPV}" | |||
| 19 | # | 19 | # |
| 20 | # Default is prelinking is enabled. | 20 | # Default is prelinking is enabled. |
| 21 | # | 21 | # |
| 22 | SUMMARY_${PN}-cron = "Cron scripts to control automatic prelinking" | 22 | SUMMARY:${PN}-cron = "Cron scripts to control automatic prelinking" |
| 23 | DESCRIPTION_${PN}-cron = "Cron scripts to control automatic prelinking. \ | 23 | DESCRIPTION:${PN}-cron = "Cron scripts to control automatic prelinking. \ |
| 24 | See: ${sysconfdir}/cron.daily/prelink for configuration information." | 24 | See: ${sysconfdir}/cron.daily/prelink for configuration information." |
| 25 | 25 | ||
| 26 | FILES_${PN}-cron = "${sysconfdir}/cron.daily ${sysconfdir}/default" | 26 | FILES:${PN}-cron = "${sysconfdir}/cron.daily ${sysconfdir}/default" |
| 27 | 27 | ||
| 28 | PACKAGES =+ "${PN}-cron" | 28 | PACKAGES =+ "${PN}-cron" |
| 29 | 29 | ||
| @@ -37,10 +37,10 @@ SRC_URI = "git://git.yoctoproject.org/prelink-cross.git;branch=cross_prelink_sta | |||
| 37 | UPSTREAM_CHECK_COMMITS = "1" | 37 | UPSTREAM_CHECK_COMMITS = "1" |
| 38 | 38 | ||
| 39 | # error: error.h: No such file or directory | 39 | # error: error.h: No such file or directory |
| 40 | COMPATIBLE_HOST_libc-musl = 'null' | 40 | COMPATIBLE_HOST:libc-musl = 'null' |
| 41 | 41 | ||
| 42 | TARGET_OS_ORIG := "${TARGET_OS}" | 42 | TARGET_OS_ORIG := "${TARGET_OS}" |
| 43 | OVERRIDES_append = ":${TARGET_OS_ORIG}" | 43 | OVERRIDES:append = ":${TARGET_OS_ORIG}" |
| 44 | 44 | ||
| 45 | S = "${WORKDIR}/git" | 45 | S = "${WORKDIR}/git" |
| 46 | 46 | ||
| @@ -144,12 +144,12 @@ python () { | |||
| 144 | bb.build.addtask('do_linkerpaths', 'do_configure', 'do_patch', d) | 144 | bb.build.addtask('do_linkerpaths', 'do_configure', 'do_patch', d) |
| 145 | } | 145 | } |
| 146 | 146 | ||
| 147 | do_configure_prepend () { | 147 | do_configure:prepend () { |
| 148 | # Disable documentation! | 148 | # Disable documentation! |
| 149 | echo "all:" > ${S}/doc/Makefile.am | 149 | echo "all:" > ${S}/doc/Makefile.am |
| 150 | } | 150 | } |
| 151 | 151 | ||
| 152 | do_install_append () { | 152 | do_install:append () { |
| 153 | install -d ${D}${sysconfdir}/cron.daily ${D}${sysconfdir}/default ${D}${sysconfdir}/rpm | 153 | install -d ${D}${sysconfdir}/cron.daily ${D}${sysconfdir}/default ${D}${sysconfdir}/rpm |
| 154 | install -m 0644 ${WORKDIR}/prelink.conf ${D}${sysconfdir}/prelink.conf | 154 | install -m 0644 ${WORKDIR}/prelink.conf ${D}${sysconfdir}/prelink.conf |
| 155 | install -m 0644 ${WORKDIR}/prelink.cron.daily ${D}${sysconfdir}/cron.daily/prelink | 155 | install -m 0644 ${WORKDIR}/prelink.cron.daily ${D}${sysconfdir}/cron.daily/prelink |
| @@ -161,7 +161,7 @@ do_install_append () { | |||
| 161 | # Prelinking during a cross install should be handled by the image-prelink | 161 | # Prelinking during a cross install should be handled by the image-prelink |
| 162 | # bbclass. If the user desires this to run on the target at first boot | 162 | # bbclass. If the user desires this to run on the target at first boot |
| 163 | # they will need to create a custom boot script. | 163 | # they will need to create a custom boot script. |
| 164 | pkg_postinst_prelink() { | 164 | pkg_postinst:prelink() { |
| 165 | #!/bin/sh | 165 | #!/bin/sh |
| 166 | 166 | ||
| 167 | if [ "x$D" != "x" ]; then | 167 | if [ "x$D" != "x" ]; then |
| @@ -171,7 +171,7 @@ fi | |||
| 171 | prelink -a | 171 | prelink -a |
| 172 | } | 172 | } |
| 173 | 173 | ||
| 174 | pkg_prerm_prelink() { | 174 | pkg_prerm:prelink() { |
| 175 | #!/bin/sh | 175 | #!/bin/sh |
| 176 | 176 | ||
| 177 | if [ "x$D" != "x" ]; then | 177 | if [ "x$D" != "x" ]; then |
