diff options
author | Mike Westerhof <mwester@dls.net> | 2010-12-28 21:55:48 -0600 |
---|---|---|
committer | Mike Westerhof <mwester@dls.net> | 2010-12-28 21:55:48 -0600 |
commit | 0799fe9dd1ad3effeeec65c5626af2c96099a99e (patch) | |
tree | 3bb928450dec1968db52d4e328955190778236c4 /recipes/images | |
parent | facd414805afde48559694da1bc0623bd6727fb7 (diff) | |
download | openembedded-0799fe9dd1ad3effeeec65c5626af2c96099a99e.tar.gz |
SlugOS: fix module loading problem and image size problems:
- add explicit dependency so that cross depmod will at image creation
- switch to busybox 1.18.0 and add defconfig for SlugOS
- remove cpio from image (experiment with busybox version)
- remove sysvinit-pidof and dependencies from image
- clean up syntax and add qemuarm for compatible machines
Diffstat (limited to 'recipes/images')
-rw-r--r-- | recipes/images/slugos-image.inc | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/recipes/images/slugos-image.inc b/recipes/images/slugos-image.inc index 6a4b7b9cc5..aca665f8c7 100644 --- a/recipes/images/slugos-image.inc +++ b/recipes/images/slugos-image.inc @@ -6,9 +6,16 @@ HOMEPAGE = "http://www.nslu2-linux.org" DEPENDS = "task-slugos" + +# HACK - added dependency on module-init-tools-cross so that it is +# forced to be built (not sure why bitbake (1.10.2) is missing the +# dependency generated by the kernel recipes) - MJW 26-Dec-2010 +DEPENDS += "module-init-tools-cross" +# End of HACK + IMAGE_INSTALL = "task-slugos" -COMPATIBLE_MACHINE = "nslu2|ixp4xx|sheevaplug" +COMPATIBLE_MACHINE = "(nslu2|ixp4xx|sheevaplug|qemuarm)" IMAGE_NAME = "${IMAGE_BASENAME}-${DISTRO_VERSION}" IMAGE_LINK_NAME = "${IMAGE_BASENAME}-${MACHINE}" @@ -16,6 +23,14 @@ IMAGE_FSTYPES = "jffs2 tar.gz" IMAGE_DEVICE_TABLES = "files/device_table-slugos.txt" IMAGE_LINGUAS = "" +# Override the INIT manager so that we don't pull in the unnecessary +# sysvinit-pidof and it's dependencies (sysvinit-utils). +IMAGE_INIT_MANAGER = "sysvinit" + +# Override this when/if SlugOS switches to busybox for login +# (tinylogin is pretty old, and no longer maintained) +# IMAGE_LOGIN_MANAGER = "tinylogin" + # IMAGE_PREPROCESS_COMMAND is run before making the image. In SlugOS the # kernel image is removed from the root file system to recover the space used - # SlugOS is assumed to boot from a separate kernel image in flash (not in the |