]> code.ossystems Code Review - openembedded-core.git/commitdiff
image.bbclass: Remove 'set_image_autologin' function
authorOtavio Salvador <otavio@ossystems.com.br>
Tue, 30 Dec 2014 14:16:36 +0000 (12:16 -0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 31 Dec 2014 08:21:42 +0000 (08:21 +0000)
The set_image_autologin function is GPE Login specific and the package
is not available in OE-Core so the function should be added in the
meta-gpe layer, if necessary. Drop this from the OE-Core as it is
unused.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image.bbclass

index 34e9f4cba59a7cb34fe924d4db7985438c361290..07e7f9979cb4aeae95b2de0ce326998f17d903d5 100644 (file)
@@ -387,12 +387,6 @@ python write_image_manifest () {
         image_manifest.write(image_list_installed_packages(d, 'ver'))
 }
 
-# Make login manager(s) enable automatic login.
-# Useful for devices where we do not want to log in at all (e.g. phones)
-set_image_autologin () {
-        sed -i 's%^AUTOLOGIN=\"false"%AUTOLOGIN="true"%g' ${IMAGE_ROOTFS}/etc/sysconfig/gpelogin
-}
-
 # Can be use to create /etc/timestamp during image construction to give a reasonably 
 # sane default time setting
 rootfs_update_timestamp () {