diff options
Diffstat (limited to 'meta/classes/rootfs_ipk.bbclass')
| -rw-r--r-- | meta/classes/rootfs_ipk.bbclass | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass index fadec4d90d..135bb6026b 100644 --- a/meta/classes/rootfs_ipk.bbclass +++ b/meta/classes/rootfs_ipk.bbclass | |||
| @@ -80,7 +80,12 @@ fakeroot rootfs_ipk_do_rootfs () { | |||
| 80 | 80 | ||
| 81 | ${OPKG_POSTPROCESS_COMMANDS} | 81 | ${OPKG_POSTPROCESS_COMMANDS} |
| 82 | ${ROOTFS_POSTINSTALL_COMMAND} | 82 | ${ROOTFS_POSTINSTALL_COMMAND} |
| 83 | 83 | ||
| 84 | install -d ${IMAGE_ROOTFS}/${sysconfdir} | ||
| 85 | echo ${BUILDNAME} > ${IMAGE_ROOTFS}/${sysconfdir}/version | ||
| 86 | |||
| 87 | ${ROOTFS_POSTPROCESS_COMMAND} | ||
| 88 | |||
| 84 | if ${@base_contains("IMAGE_FEATURES", "read-only-rootfs", "true", "false" ,d)}; then | 89 | if ${@base_contains("IMAGE_FEATURES", "read-only-rootfs", "true", "false" ,d)}; then |
| 85 | if grep Status:.install.ok.unpacked ${STATUS}; then | 90 | if grep Status:.install.ok.unpacked ${STATUS}; then |
| 86 | bberror "Some packages could not be configured offline and rootfs is read-only." | 91 | bberror "Some packages could not be configured offline and rootfs is read-only." |
| @@ -88,11 +93,6 @@ fakeroot rootfs_ipk_do_rootfs () { | |||
| 88 | fi | 93 | fi |
| 89 | fi | 94 | fi |
| 90 | 95 | ||
| 91 | install -d ${IMAGE_ROOTFS}/${sysconfdir} | ||
| 92 | echo ${BUILDNAME} > ${IMAGE_ROOTFS}/${sysconfdir}/version | ||
| 93 | |||
| 94 | ${ROOTFS_POSTPROCESS_COMMAND} | ||
| 95 | |||
| 96 | rm -f ${IMAGE_ROOTFS}${OPKGLIBDIR}/opkg/lists/* | 96 | rm -f ${IMAGE_ROOTFS}${OPKGLIBDIR}/opkg/lists/* |
| 97 | if ${@base_contains("IMAGE_FEATURES", "package-management", "false", "true", d)}; then | 97 | if ${@base_contains("IMAGE_FEATURES", "package-management", "false", "true", d)}; then |
| 98 | if ! grep Status:.install.ok.unpacked ${STATUS}; then | 98 | if ! grep Status:.install.ok.unpacked ${STATUS}; then |
| @@ -114,7 +114,6 @@ fakeroot rootfs_ipk_do_rootfs () { | |||
| 114 | remove_packaging_data_files | 114 | remove_packaging_data_files |
| 115 | fi | 115 | fi |
| 116 | fi | 116 | fi |
| 117 | set +x | ||
| 118 | log_check rootfs | 117 | log_check rootfs |
| 119 | } | 118 | } |
| 120 | 119 | ||
