diff options
Diffstat (limited to 'meta/classes/rootfs_deb.bbclass')
-rw-r--r-- | meta/classes/rootfs_deb.bbclass | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/meta/classes/rootfs_deb.bbclass b/meta/classes/rootfs_deb.bbclass index 55d2b920b6..411a6c4e71 100644 --- a/meta/classes/rootfs_deb.bbclass +++ b/meta/classes/rootfs_deb.bbclass | |||
@@ -81,12 +81,20 @@ fakeroot rootfs_deb_do_rootfs () { | |||
81 | if [ $? -ne 0 ]; then | 81 | if [ $? -ne 0 ]; then |
82 | exit 1 | 82 | exit 1 |
83 | fi | 83 | fi |
84 | find ${IMAGE_ROOTFS} -name \*.dpkg-new | for i in `cat`; do | ||
85 | mv $i `echo $i | sed -e's,\.dpkg-new$,,'` | ||
86 | done | ||
87 | done | 84 | done |
88 | fi | 85 | fi |
89 | 86 | ||
87 | rm ${WORKDIR}/temp/log.do_$target-attemptonly.${PID} | ||
88 | if [ ! -z "${PACKAGE_INSTALL_ATTEMPTONLY}" ]; then | ||
89 | for i in ${PACKAGE_INSTALL_ATTEMPTONLY}; do | ||
90 | apt-get install $i --force-yes --allow-unauthenticated >> ${WORKDIR}/temp/log.do_$target-attemptonly.${PID} || true | ||
91 | done | ||
92 | fi | ||
93 | |||
94 | find ${IMAGE_ROOTFS} -name \*.dpkg-new | for i in `cat`; do | ||
95 | mv $i `echo $i | sed -e's,\.dpkg-new$,,'` | ||
96 | done | ||
97 | |||
90 | install -d ${IMAGE_ROOTFS}/${sysconfdir} | 98 | install -d ${IMAGE_ROOTFS}/${sysconfdir} |
91 | echo ${BUILDNAME} > ${IMAGE_ROOTFS}/${sysconfdir}/version | 99 | echo ${BUILDNAME} > ${IMAGE_ROOTFS}/${sysconfdir}/version |
92 | 100 | ||