summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorJesse Gilles <jgilles@multitech.com>2015-04-07 14:14:21 -0500
committerJesse Gilles <jgilles@multitech.com>2015-04-07 14:14:21 -0500
commit2ae4f90cbf4a7536c745c285c89e92804a2afbfb (patch)
tree9c12cbe242cb119ee0466a3fb8c6cb25fc1d2692 /classes
parenta1feb35f9c6d2105574ceb5593f65a3f9f90b369 (diff)
downloadmeta-mlinux-2ae4f90cbf4a7536c745c285c89e92804a2afbfb.tar.gz
meta-mlinux-2ae4f90cbf4a7536c745c285c89e92804a2afbfb.tar.bz2
meta-mlinux-2ae4f90cbf4a7536c745c285c89e92804a2afbfb.zip
mlinux-image.bbclass: remove --faketime from mkfs.jffs2 call
cron ignores files with a mod time of 0 so turn this off
Diffstat (limited to 'classes')
-rw-r--r--classes/mlinux-image.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/classes/mlinux-image.bbclass b/classes/mlinux-image.bbclass
index dd3a21a..4781e43 100644
--- a/classes/mlinux-image.bbclass
+++ b/classes/mlinux-image.bbclass
@@ -1,3 +1,7 @@
+# redefine mkfs.jffs2 command and remove --faketime option so we get non-zero file times
+# having file mod times of zero confuses cron
+IMAGE_CMD_jffs2 = "mkfs.jffs2 --root=${IMAGE_ROOTFS} --output=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 ${EXTRA_IMAGECMD}"
+
# set specified root password in image using ROOT_PASSWORD_HASH
mlinux_set_root_password () {
if [ -e ${IMAGE_ROOTFS}/etc/shadow ]; then