This email list is read-only. Emails sent to this list will be discarded
----------------------------------
meta/classes/image.bbclass | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
New commits:
commit 31aee0a9f9e35a847a1fc30c35048e8970745943
Author: Samuel Ortiz <[EMAIL PROTECTED]>
Date: Mon Nov 10 17:21:10 2008 +0100
image.bbclass: Add routine for disabling x startup when needed
Diff in this email is a maximum of 400 lines.
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 35b7e12..3678459 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -211,7 +211,14 @@ rootfs_update_timestamp () {
date "+%m%d%H%M%Y" >${IMAGE_ROOTFS}/etc/timestamp
}
+# Prevent X from being started
+rootfs_no_x_startup () {
+ if [ -f ${IMAGE_ROOTFS}/etc/init.d/xserver-nodm ]; then
+ chmod a-x ${IMAGE_ROOTFS}/etc/init.d/xserver-nodm
+ fi
+}
+
# export the zap_root_password, create_etc_timestamp and remote_init_link
-EXPORT_FUNCTIONS zap_root_password create_etc_timestamp remove_init_link
do_rootfs make_zimage_symlink_relative set_image_autologin
rootfs_update_timestamp
+EXPORT_FUNCTIONS zap_root_password create_etc_timestamp remove_init_link
do_rootfs make_zimage_symlink_relative set_image_autologin
rootfs_update_timestamp rootfs_no_x_startup
addtask rootfs before do_build after do_install
_______________________________________________
Commits mailing list
[email protected]
https://lists.moblin.org/mailman/listinfo/commits