diff options
-rw-r--r-- | meta/classes/image.bbclass | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 4aae3a7819..494664627d 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
@@ -297,9 +297,9 @@ fakeroot do_rootfs () { | |||
297 | # copy the intercept scripts | 297 | # copy the intercept scripts |
298 | cp ${COREBASE}/scripts/postinst-intercepts/* ${WORKDIR}/intercept_scripts/ | 298 | cp ${COREBASE}/scripts/postinst-intercepts/* ${WORKDIR}/intercept_scripts/ |
299 | 299 | ||
300 | # If "${IMAGE_ROOTFS}/dev" exists, then the device had been made by | 300 | rootfs_${IMAGE_PKGTYPE}_do_rootfs |
301 | # the previous build | 301 | |
302 | if [ "${USE_DEVFS}" != "1" -a ! -r "${IMAGE_ROOTFS}/dev" ]; then | 302 | if [ "${USE_DEVFS}" != "1" ]; then |
303 | for devtable in ${@get_devtable_list(d)}; do | 303 | for devtable in ${@get_devtable_list(d)}; do |
304 | # Always return ture since there maybe already one when use the | 304 | # Always return ture since there maybe already one when use the |
305 | # incremental image generation | 305 | # incremental image generation |
@@ -307,8 +307,6 @@ fakeroot do_rootfs () { | |||
307 | done | 307 | done |
308 | fi | 308 | fi |
309 | 309 | ||
310 | rootfs_${IMAGE_PKGTYPE}_do_rootfs | ||
311 | |||
312 | # remove unneeded packages/files from the final image | 310 | # remove unneeded packages/files from the final image |
313 | rootfs_remove_unneeded | 311 | rootfs_remove_unneeded |
314 | 312 | ||