Self Hosted Image: Added Task and Images
PATCH 1/1 Self Hosted Image: Added Task and Images
This is the first pass of creating a self hosted image, this task and image can pass bitbake's sanity check (if modified to remove the cvs check) and can build psuedo, albit very slowly on qemu
--- .../recipes-core/images/self-hosted-image.bb | 11 ++ meta-yocto/recipes-core/tasks/task-self-hosted.bb | 158 ++++++++++++++++++++ 2 files changed, 169 insertions(+), 0 deletions(-) create mode 100644 meta-yocto/recipes-core/images/self-hosted-image.bb create mode 100644 meta-yocto/recipes-core/tasks/task-self-hosted.bb
meta-yocto/recipes-core/images/self-hosted-image.bb new file +11 -0
@@ -0,0 +1,11 @@ +IMAGE_INSTALL = "task-core-boot task-core-apps-console task-core-ssh-openssh task-self-hosted" + +POKY_EXTRA_INSTALL = "\ + task-self-hosted \ + " + +IMAGE_ROOTFS_EXTRA_SPACE = "1048576" + +inherit core-image + +PR = "r3"
meta-yocto/recipes-core/tasks/task-self-hosted.bb new file +158 -0
158 lines not on this page · raw message
Signature · 1 line
1.7.6.4
Ping?
Quoted 193 lines · Saul Wold
This is the first pass of creating a self hosted image, this task and image can pass bitbake's sanity check (if modified to remove the cvs check) and can build psuedo, albit very slowly on qemu
Signed-off-by Saul Wold<[email protected]>--- .../recipes-core/images/self-hosted-image.bb | 11 ++ meta-yocto/recipes-core/tasks/task-self-hosted.bb | 158 ++++++++++++++++++++ 2 files changed, 169 insertions(+), 0 deletions(-)create mode 100644 meta-yocto/recipes-core/images/self-hosted-image.bb create mode 100644 meta-yocto/recipes-core/tasks/task-self-hosted.bb
meta-yocto/recipes-core/images/self-hosted-image.bb new file +11
-0@@ -0,0 +1,11 @@ +IMAGE_INSTALL = "task-core-boot task-core-apps-console task-core-ssh-openssh task-self-hosted" + +POKY_EXTRA_INSTALL = "\ + task-self-hosted \ + " + +IMAGE_ROOTFS_EXTRA_SPACE = "1048576" + +inherit core-image + +PR = "r3"meta-yocto/recipes-core/tasks/task-self-hosted.bb new file +158
-0@@ -0,0 +1,158 @@ +# +# Copyright (C) 2010 Intel Corporation +# + +DESCRIPTION = "Create Basic Image Tasks" +PR = "r32" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +PACKAGES = "\ + task-self-hosted \ + task-self-hosted-debug \ + task-self-hosted-sdk \ + task-self-hosted-extended \ + task-self-hosted-graphics \ + " + +ALLOW_EMPTY = "1" + +RDEPENDS_task-self-hosted = "\ + task-self-hosted-debug \ + task-self-hosted-sdk \ + task-self-hosted-extended \ + task-self-hosted-graphics \ + " + +RDEPENDS_task-self-hosted-sdk = "\ + autoconf \ + automake \ + binutils-symlinks \ + binutils \ + cpp \ + cpp-symlinks \ + ccache \ + gcc \ + gcc-symlinks \ + g++ \ + g++-symlinks \ + gettext \ + make \ + intltool \ + libstdc++ \ + libstdc++-dev \ + libtool \ + perl-module-re \ + perl-module-text-wrap \ + coreutils \ + diffutils \ + pkgconfig \ + findutils \ + quilt \ + less \ + distcc \ + ldd \ + file \ + tcl \ + " + +RDEPENDS_task-self-hosted-debug = " \ + gdb \ + gdbserver \ + tcf-agent \ + rsync \ + strace" + + +RDEPENDS_task-self-hosted-extended = "\ + binutils \ + bzip2 \ + chkconfig \ + chrpath \ + curl \ + dhcp-client \ + diffstat \ + diffutils \ + elfutils \ + expat \ + gamin \ + gdbm \ + git \ + gettext \ + gettext-runtime \ + grep \ + groff \ + gawk \ + hdparm \ + libaio \ + libxml2 \ + libusb1 \ + lrzsz \ + lsof \ + lzo \ + man \ + man-pages \ + mc \ + mdadm \ + minicom \ + mtools \ + ncurses \ + neon \ + openssl \ + opkg \ + opkg-utils \ + parted \ + patch \ + perl \ + perl-modules \ + perl-dev \ + pth \ + python \ + python-compile \ + python-compiler \ + python-core \ + python-curses \ + python-datetime \ + python-distutils \ + python-elementtree \ + python-fcntl \ + python-logging \ + python-misc \ + python-multiprocessing \ + python-netclient \ + python-netserver \ + python-pickle \ + python-re \ + python-rpm \ + python-shell \ + python-sqlite3 \ + python-subprocess \ + python-textutils \ + python-xmlrpc \ + quota \ + readline \ + rpm \ + screen \ + setserial \ + strace \ + subversion \ + sysstat \ + tar \ + tcl \ + texi2html \ + texinfo \ + usbutils \ + unzip \ + watchdog \ + wget \ + which \ + xinetd \ + zip \ + zlib \ + " + + +RDEPENDS_task-self-hosted-graphics = "\ + python-pygtk \ + "
Op 22 nov. 2011, om 16:24 heeft Saul Wold het volgende geschreven:
Quoted 2 lines
Ping?
put it in oe-core?
Quoted 200 lines · Saul Wold
Quoted 183 lines
This is the first pass of creating a self hosted image, this task and image can pass bitbake's sanity check (if modified to remove the cvs check) and can build psuedo, albit very slowly on qemu
Signed-off-by Saul Wold<[email protected]>--- .../recipes-core/images/self-hosted-image.bb | 11 ++ meta-yocto/recipes-core/tasks/task-self-hosted.bb | 158 ++++++++++++++++++++ 2 files changed, 169 insertions(+), 0 deletions(-) create mode 100644 meta-yocto/recipes-core/images/self-hosted-image.bb create mode 100644 meta-yocto/recipes-core/tasks/task-self-hosted.bbmeta-yocto/recipes-core/images/self-hosted-image.bb new file +11
-0@@ -0,0 +1,11 @@ +IMAGE_INSTALL = "task-core-boot task-core-apps-console task-core-ssh-openssh task-self-hosted" + +POKY_EXTRA_INSTALL = "\ + task-self-hosted \ + " + +IMAGE_ROOTFS_EXTRA_SPACE = "1048576" + +inherit core-image + +PR = "r3"meta-yocto/recipes-core/tasks/task-self-hosted.bb new file +148
-0@@ -0,0 +1,158 @@ +# +# Copyright (C) 2010 Intel Corporation +# + +DESCRIPTION = "Create Basic Image Tasks" +PR = "r32" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +PACKAGES = "\ + task-self-hosted \ + task-self-hosted-debug \ + task-self-hosted-sdk \ + task-self-hosted-extended \ + task-self-hosted-graphics \ + " + +ALLOW_EMPTY = "1" + +RDEPENDS_task-self-hosted = "\ + task-self-hosted-debug \ + task-self-hosted-sdk \ + task-self-hosted-extended \ + task-self-hosted-graphics \ + " + +RDEPENDS_task-self-hosted-sdk = "\ + autoconf \ + automake \ + binutils-symlinks \ + binutils \ + cpp \ + cpp-symlinks \ + ccache \ + gcc \ + gcc-symlinks \ + g++ \ + g++-symlinks \ + gettext \ + make \ + intltool \ + libstdc++ \ + libstdc++-dev \ + libtool \ + perl-module-re \ + perl-module-text-wrap \ + coreutils \ + diffutils \ + pkgconfig \ + findutils \ + quilt \ + less \ + distcc \ + ldd \ + file \ + tcl \ + " + +RDEPENDS_task-self-hosted-debug = " \ + gdb \ + gdbserver \ + tcf-agent \ + rsync \ + strace" + + +RDEPENDS_task-self-hosted-extended = "\ + binutils \ + bzip2 \ + chkconfig \ + chrpath \ + curl \ + dhcp-client \ + diffstat \ + diffutils \ + elfutils \ + expat \ + gamin \ + gdbm \ + git \ + gettext \ + gettext-runtime \ + grep \ + groff \ + gawk \ + hdparm \ + libaio \ + libxml2 \ + libusb1 \ + lrzsz \ + lsof \ + lzo \ + man \ + man-pages \ + mc \ + mdadm \ + minicom \ + mtools \ + ncurses \ + neon \ + openssl \ + opkg \ + opkg-utils \ + parted \ + patch \ + perl \ + perl-modules \ + perl-dev \ + pth \ + python \ + python-compile \ + python-compiler \ + python-core \ + python-curses \ + python-datetime \ + python-distutils \ + python-elementtree \ + python-fcntl \ + python-logging \ + python-misc \ + python-multiprocessing \ + python-netclient \ + python-netserver \ + python-pickle \ + python-re \ + python-rpm \ + python-shell \ + python-sqlite3 \ + python-subprocess \ + python-textutils \ + python-xmlrpc \ + quota \ + readline \ + rpm \ + screen \ + setserial \ + strace \ + subversion \ + sysstat \ + tar \ + tcl \ + texi2html \ + texinfo \ + usbutils \ + unzip \ + watchdog \ + wget \meta-yocto/recipes-core/tasks/task-self-hosted.bb line 158
Quoted 10 lines
meta-yocto/recipes-core/tasks/task-self-hosted.bb new file +10
-0+ which \ + xinetd \ + zip \ + zlib \ + " + + +RDEPENDS_task-self-hosted-graphics = "\ + python-pygtk \ + "_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/poky
Quoted 8 lines · Koen Kooi
Op 22 nov. 2011, om 16:24 heeft Saul Wold het volgende geschreven:
Quoted 2 lines
Ping?
put it in oe-core?
Yeah, I guess it could be core, but I was initial thinking it was building Poky and was not sure if everyone would be interested. It is also not very stable yet, it will build minimal with a couple more patches.
Sau!
Quoted 201 lines
Quoted 200 lines · Saul Wold
Quoted 183 lines
This is the first pass of creating a self hosted image, this task and image can pass bitbake's sanity check (if modified to remove the cvs check) and can build psuedo, albit very slowly on qemu
Signed-off-by Saul Wold<[email protected]>--- .../recipes-core/images/self-hosted-image.bb | 11 ++ meta-yocto/recipes-core/tasks/task-self-hosted.bb | 158 ++++++++++++++++++++ 2 files changed, 169 insertions(+), 0 deletions(-)create mode 100644 meta-yocto/recipes-core/images/self-hosted-image.bb create mode 100644 meta-yocto/recipes-core/tasks/task-self-hosted.bb
meta-yocto/recipes-core/images/self-hosted-image.bb new file +11
-0@@ -0,0 +1,11 @@ +IMAGE_INSTALL = "task-core-boot task-core-apps-console task-core-ssh-openssh task-self-hosted" + +POKY_EXTRA_INSTALL = "\ + task-self-hosted \ + " + +IMAGE_ROOTFS_EXTRA_SPACE = "1048576" + +inherit core-image + +PR = "r3"meta-yocto/recipes-core/tasks/task-self-hosted.bb new file +148
-0@@ -0,0 +1,158 @@ +# +# Copyright (C) 2010 Intel Corporation +# + +DESCRIPTION = "Create Basic Image Tasks" +PR = "r32" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +PACKAGES = "\ + task-self-hosted \ + task-self-hosted-debug \ + task-self-hosted-sdk \ + task-self-hosted-extended \ + task-self-hosted-graphics \ + " + +ALLOW_EMPTY = "1" + +RDEPENDS_task-self-hosted = "\ + task-self-hosted-debug \ + task-self-hosted-sdk \ + task-self-hosted-extended \ + task-self-hosted-graphics \ + " + +RDEPENDS_task-self-hosted-sdk = "\ + autoconf \ + automake \ + binutils-symlinks \ + binutils \ + cpp \ + cpp-symlinks \ + ccache \ + gcc \ + gcc-symlinks \ + g++ \ + g++-symlinks \ + gettext \ + make \ + intltool \ + libstdc++ \ + libstdc++-dev \ + libtool \ + perl-module-re \ + perl-module-text-wrap \ + coreutils \ + diffutils \ + pkgconfig \ + findutils \ + quilt \ + less \ + distcc \ + ldd \ + file \ + tcl \ + " + +RDEPENDS_task-self-hosted-debug = " \ + gdb \ + gdbserver \ + tcf-agent \ + rsync \ + strace" + + +RDEPENDS_task-self-hosted-extended = "\ + binutils \ + bzip2 \ + chkconfig \ + chrpath \ + curl \ + dhcp-client \ + diffstat \ + diffutils \ + elfutils \ + expat \ + gamin \ + gdbm \ + git \ + gettext \ + gettext-runtime \ + grep \ + groff \ + gawk \ + hdparm \ + libaio \ + libxml2 \ + libusb1 \ + lrzsz \ + lsof \ + lzo \ + man \ + man-pages \ + mc \ + mdadm \ + minicom \ + mtools \ + ncurses \ + neon \ + openssl \ + opkg \ + opkg-utils \ + parted \ + patch \ + perl \ + perl-modules \ + perl-dev \ + pth \ + python \ + python-compile \ + python-compiler \ + python-core \ + python-curses \ + python-datetime \ + python-distutils \ + python-elementtree \ + python-fcntl \ + python-logging \ + python-misc \ + python-multiprocessing \ + python-netclient \ + python-netserver \ + python-pickle \ + python-re \ + python-rpm \ + python-shell \ + python-sqlite3 \ + python-subprocess \ + python-textutils \ + python-xmlrpc \ + quota \ + readline \ + rpm \ + screen \ + setserial \ + strace \ + subversion \ + sysstat \ + tar \ + tcl \ + texi2html \ + texinfo \ + usbutils \ + unzip \ + watchdog \ + wget \meta-yocto/recipes-core/tasks/task-self-hosted.bb line 158
Quoted 10 lines
meta-yocto/recipes-core/tasks/task-self-hosted.bb new file +10
-0+ which \ + xinetd \ + zip \ + zlib \ + " + + +RDEPENDS_task-self-hosted-graphics = "\ + python-pygtk \ + "_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/poky
Quoted 5 lines · Saul Wold
Quoted 4 lines · Koen Kooi
Op 22 nov. 2011, om 16:24 heeft Saul Wold het volgende geschreven:
Quoted 1 line
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
Ping?
put it in oe-core?
Yeah, I guess it could be core, but I was initial thinking it was building Poky and was not sure if everyone would be interested. It is also not very stable yet, it will build minimal with a couple more patches.
I'm interested in this..
-M