summaryrefslogtreecommitdiff
path: root/classes/rootfs_ipk.bbclass
diff options
context:
space:
mode:
authornslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2005-03-31 09:41:38 +0000
committernslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2005-03-31 09:41:38 +0000
commitad50b0674f6db015354de3eb26f406678c25b8a4 (patch)
tree88f9c63d4e147e2988e38e928a46ef923a4f9183 /classes/rootfs_ipk.bbclass
parent4667dbc67ed4b86044bfbca044596c025ef5d4c6 (diff)
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/03/31 11:28:44+02:00 uni-frankfurt.de!mickeyl Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into r2d2.tm.informatik.uni-frankfurt.de:/local/pkg/oe/packages 2005/03/31 01:34:08+02:00 uni-frankfurt.de!mickeyl apply the fix-nomax patch for Opie's libqpe from 1.2.0. It will land upstream, so it's not necessary to apply it on the cvs version 2005/03/31 01:32:37+02:00 uni-frankfurt.de!mickeyl put an end to the datetime problem on handhelds. if /etc/timestamp exists, it will be used to regenerate the time at bootup (see /etc/init.d/bootmisc.sh) and it will be freshened at halt (see /etc/init.d/halt) as well as on reboot (see /etc/init.d/reboot). Since we are still testing this, for now only in opie-image and for openzaurus distros. If that works out well, we should use it everywhere 2005/03/30 23:49:33+02:00 uni-frankfurt.de!mickeyl set Opie OTabWidget TabStyle to using text labels on hires displays - until we have hires tab icons and a sane tab height BKrev: 424bc5d2IBEsVN01WaE-JgWrsqwt2Q
Diffstat (limited to 'classes/rootfs_ipk.bbclass')
-rw-r--r--classes/rootfs_ipk.bbclass8
1 files changed, 6 insertions, 2 deletions
diff --git a/classes/rootfs_ipk.bbclass b/classes/rootfs_ipk.bbclass
index e42704b5ae..7ed8342b1e 100644
--- a/classes/rootfs_ipk.bbclass
+++ b/classes/rootfs_ipk.bbclass
@@ -124,7 +124,11 @@ zap_root_password () {
mv ${IMAGE_ROOTFS}/etc/passwd.new ${IMAGE_ROOTFS}/etc/passwd
}
-# export the zap_root_password
-EXPORT_FUNCTIONS zap_root_password
+create_etc_timestamp() {
+ date +%2m%2d%2H%2M%Y >${IMAGE_ROOTFS}/etc/timestamp
+}
+
+# export the zap_root_password and create_etc_timestamp
+EXPORT_FUNCTIONS zap_root_password create_etc_timestamp
addtask rootfs before do_build after do_install