build-appliance-image: rename from self-hosted-image
PATCH 1/2 build-appliance-image: rename from self-hosted-image
From: Valentin Popa <[email protected]>
(-) renamed self-hosted-image to build-appliance-image (-) replaced build-appliance-image description
[YOCTO #2636]
(From OE-Core rev: 04096f31778886479dac479132bded57e717653e)
--- meta/conf/multilib.conf | 2 +- meta/recipes-core/images/build-appliance-image.bb | 70 +++++++++++++++++++++ meta/recipes-core/images/self-hosted-image.bb | 70 --------------------- 3 files changed, 71 insertions(+), 71 deletions(-) create mode 100644 meta/recipes-core/images/build-appliance-image.bb delete mode 100644 meta/recipes-core/images/self-hosted-image.bb
meta/conf/multilib.conf +1 -1
@@ -581,7 +581,7 @@ BBCLASSEXTEND_append_pn-sat-solver = " ${MULTILIBS}" BBCLASSEXTEND_append_pn-screen = " ${MULTILIBS}" BBCLASSEXTEND_append_pn-scrnsaverproto = " ${MULTILIBS}" BBCLASSEXTEND_append_pn-sed = " ${MULTILIBS}" -BBCLASSEXTEND_append_pn-self-hosted-image = " ${MULTILIBS}" +BBCLASSEXTEND_append_pn-build-appliance-image = " ${MULTILIBS}" BBCLASSEXTEND_append_pn-service = " ${MULTILIBS}" BBCLASSEXTEND_append_pn-setserial = " ${MULTILIBS}" BBCLASSEXTEND_append_pn-settings-daemon = " ${MULTILIBS}"
meta/recipes-core/images/build-appliance-image.bb new file +70 -0
70 lines not on this page · raw message
meta/recipes-core/images/self-hosted-image.bb deleted +0 -70
70 lines not on this page · raw message
Signature · 1 line
1.7.9.5
PATCH 2/2 build-appliance-image: Update SRCREV to Denzil 1.2.1
--- meta/recipes-core/images/build-appliance-image.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/images/build-appliance-image.bb +1 -1
@@ -19,7 +19,7 @@ IMAGE_FSTYPES = "vmdk" inherit core-image -SRCREV = "3ab5d73f0c49df9fefa2a46031d33436bbd7d7d8" +SRCREV = "73cdebf60df225ee10f2eb215935be3b61e1b831" SRC_URI = "git://git.yoctoproject.org/poky;protocol=git" IMAGE_CMD_ext3_append () {
Signature · 1 line
1.7.9.5
Quoted 11 lines · Saul Wold
From: Valentin Popa <[email protected]>
(-) renamed self-hosted-image to build-appliance-image (-) replaced build-appliance-image description
[YOCTO #2636]
(From OE-Core rev:
04096f31778886479dac479132bded57e717653e)Signed-off-by Valentin Popa <[email protected]>Signed-off-by Richard Purdie <[email protected]>
Hi Saul,
Would you mind pushing these commits to a contrib branch so I can cherry-pick them?
Thanks,
Scott
Quoted 174 lines
--- meta/conf/multilib.conf | 2 +- meta/recipes-core/images/build-appliance-image.bb | 70 +++++++++++++++++++++ meta/recipes-core/images/self-hosted-image.bb | 70 --------------------- 3 files changed, 71 insertions(+), 71 deletions(-)create mode 100644 meta/recipes-core/images/build-appliance-image.bb delete mode 100644 meta/recipes-core/images/self-hosted-image.bb
meta/conf/multilib.conf +1
-1@@ -581,7 +581,7 @@ BBCLASSEXTEND_append_pn-sat-solver = " ${MULTILIBS}" BBCLASSEXTEND_append_pn-screen = " ${MULTILIBS}" BBCLASSEXTEND_append_pn-scrnsaverproto = " ${MULTILIBS}" BBCLASSEXTEND_append_pn-sed = " ${MULTILIBS}" -BBCLASSEXTEND_append_pn-self-hosted-image = " ${MULTILIBS}" +BBCLASSEXTEND_append_pn-build-appliance-image = " ${MULTILIBS}" BBCLASSEXTEND_append_pn-service = " ${MULTILIBS}" BBCLASSEXTEND_append_pn-setserial = " ${MULTILIBS}" BBCLASSEXTEND_append_pn-settings-daemon = " ${MULTILIBS}"meta/recipes-core/images/build-appliance-image.bb new file +70
-0@@ -0,0 +1,70 @@ +DESCRIPTION = "An image you can boot and run using either the VMware Player or VMware Workstation. For more information, see the<a href='http://www.yoctoproject.org/documentation/build-appliance'>Build Appliance page</a>." +IMAGE_INSTALL = "task-core-boot task-core-apps-console task-core-ssh-openssh task-self-hosted" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +PR = "r15" + +IMAGE_FEATURES += "x11-mini package-management" + +# Ensure there's enough space to do a core-image-sato build, with rm_work enabled +IMAGE_ROOTFS_EXTRA_SPACE = "41943040" + +# Do a quiet boot with limited console messages +APPEND += "quiet" + +IMAGE_FSTYPES = "vmdk" + +inherit core-image + +SRCREV = "3ab5d73f0c49df9fefa2a46031d33436bbd7d7d8" +SRC_URI = "git://git.yoctoproject.org/poky;protocol=git" + +IMAGE_CMD_ext3_append () { + # We don't need to reserve much space for root, 0.5% is more than enough + tune2fs -m 0.5 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3 +} + +fakeroot do_populate_poky_src () { + # Because fetch2's git's unpack uses -s cloneflag, the unpacked git repo + # will become invalid in the target. + rm -rf ${WORKDIR}/git/.git + rm -f ${WORKDIR}/git/.gitignore + + cp -Rp ${WORKDIR}/git ${IMAGE_ROOTFS}/home/builder/poky + + mkdir -p ${IMAGE_ROOTFS}/home/builder/poky/build/conf + mkdir -p ${IMAGE_ROOTFS}/home/builder/poky/build/downloads + cp -RpL ${DL_DIR}/* ${IMAGE_ROOTFS}/home/builder/poky/build/downloads/ + + # Remove the git2_* tarballs -- this is ok since we still have the git2/. + rm -rf ${IMAGE_ROOTFS}/home/builder/poky/build/downloads/git2_* + + echo "/usr/bin" > ${IMAGE_ROOTFS}/home/builder/poky/build/pseudodone + echo "INHERIT += \"rm_work\"" >> ${IMAGE_ROOTFS}/home/builder/poky/build/conf/auto.conf + mkdir -p ${IMAGE_ROOTFS}/home/builder/pseudo + echo "export PSEUDO_PREFIX=/usr" >> ${IMAGE_ROOTFS}/home/builder/.bashrc + echo "export PSEUDO_LOCALSTATEDIR=/home/builder/pseudo" >> ${IMAGE_ROOTFS}/home/builder/.bashrc + echo "export PSEUDO_LIBDIR=/usr/lib/pseudo/lib64" >> ${IMAGE_ROOTFS}/home/builder/.bashrc + + chown builder.builder ${IMAGE_ROOTFS}/home/builder/pseudo + + chown -R builder.builder ${IMAGE_ROOTFS}/home/builder/poky + + # Allow builder to use sudo to setup tap/tun + echo "builder ALL=(ALL) NOPASSWD: ALL" >> ${IMAGE_ROOTFS}/etc/sudoers + + # Use Clearlooks GTK+ theme + mkdir -p ${IMAGE_ROOTFS}/etc/gtk-2.0 + echo 'gtk-theme-name = "Clearlooks"' > ${IMAGE_ROOTFS}/etc/gtk-2.0/gtkrc +} + +IMAGE_PREPROCESS_COMMAND += "do_populate_poky_src; " + +python do_get_poky_src () { + bb.build.exec_func('base_do_fetch', d) + bb.build.exec_func('base_do_unpack', d) +} +addtask do_get_poky_src before do_rootfsmeta/recipes-core/images/self-hosted-image.bb deleted +0
-70@@ -1,70 +0,0 @@ -DESCRIPTION = "Version 1.0-r6 of the self-hosted image." -IMAGE_INSTALL = "task-core-boot task-core-apps-console task-core-ssh-openssh task-self-hosted" - -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ - file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" - -PR = "r15" - -IMAGE_FEATURES += "x11-mini package-management" - -# Ensure there's enough space to do a core-image-sato build, with rm_work enabled -IMAGE_ROOTFS_EXTRA_SPACE = "41943040" - -# Do a quiet boot with limited console messages -APPEND += "quiet" - -IMAGE_FSTYPES = "vmdk" - -inherit core-image - -SRCREV = "3ab5d73f0c49df9fefa2a46031d33436bbd7d7d8" -SRC_URI = "git://git.yoctoproject.org/poky;protocol=git" - -IMAGE_CMD_ext3_append () { - # We don't need to reserve much space for root, 0.5% is more than enough - tune2fs -m 0.5 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3 -} - -fakeroot do_populate_poky_src () { - # Because fetch2's git's unpack uses -s cloneflag, the unpacked git repo - # will become invalid in the target. - rm -rf ${WORKDIR}/git/.git - rm -f ${WORKDIR}/git/.gitignore - - cp -Rp ${WORKDIR}/git ${IMAGE_ROOTFS}/home/builder/poky - - mkdir -p ${IMAGE_ROOTFS}/home/builder/poky/build/conf - mkdir -p ${IMAGE_ROOTFS}/home/builder/poky/build/downloads - cp -RpL ${DL_DIR}/* ${IMAGE_ROOTFS}/home/builder/poky/build/downloads/ - - # Remove the git2_* tarballs -- this is ok since we still have the git2/. - rm -rf ${IMAGE_ROOTFS}/home/builder/poky/build/downloads/git2_* - - echo "/usr/bin" > ${IMAGE_ROOTFS}/home/builder/poky/build/pseudodone - echo "INHERIT += \"rm_work\"" >> ${IMAGE_ROOTFS}/home/builder/poky/build/conf/auto.conf - mkdir -p ${IMAGE_ROOTFS}/home/builder/pseudo - echo "export PSEUDO_PREFIX=/usr" >> ${IMAGE_ROOTFS}/home/builder/.bashrc - echo "export PSEUDO_LOCALSTATEDIR=/home/builder/pseudo" >> ${IMAGE_ROOTFS}/home/builder/.bashrc - echo "export PSEUDO_LIBDIR=/usr/lib/pseudo/lib64" >> ${IMAGE_ROOTFS}/home/builder/.bashrc - - chown builder.builder ${IMAGE_ROOTFS}/home/builder/pseudo - - chown -R builder.builder ${IMAGE_ROOTFS}/home/builder/poky - - # Allow builder to use sudo to setup tap/tun - echo "builder ALL=(ALL) NOPASSWD: ALL" >> ${IMAGE_ROOTFS}/etc/sudoers - - # Use Clearlooks GTK+ theme - mkdir -p ${IMAGE_ROOTFS}/etc/gtk-2.0 - echo 'gtk-theme-name = "Clearlooks"' > ${IMAGE_ROOTFS}/etc/gtk-2.0/gtkrc -} - -IMAGE_PREPROCESS_COMMAND += "do_populate_poky_src; " - -python do_get_poky_src () { - bb.build.exec_func('base_do_fetch', d) - bb.build.exec_func('base_do_unpack', d) -} -addtask do_get_poky_src before do_rootfs
Signature · 3 lines
Scott Garman Embedded Linux Engineer - Yocto Project Intel Open Source Technology Center
Quoted 10 lines · Scott Garman
Quoted 9 lines · Saul Wold
From: Valentin Popa <[email protected]>
(-) renamed self-hosted-image to build-appliance-image (-) replaced build-appliance-image description
[YOCTO #2636]
(From OE-Core rev:
04096f31778886479dac479132bded57e717653e)
Quoted 8 lines
Quoted 2 lines
Signed-off-by Valentin Popa <[email protected]>Signed-off-by Richard Purdie <[email protected]>Hi Saul,
Would you mind pushing these commits to a contrib branch so I can cherry-pick them?
Check out sgw/denzil
Sau!
Quoted 215 lines
Thanks,
Scott
Quoted 209 lines
--- meta/conf/multilib.conf | 2 +- meta/recipes-core/images/build-appliance-image.bb | 70 +++++++++++++++++++++ meta/recipes-core/images/self-hosted-image.bb | 70 --------------------- 3 files changed, 71 insertions(+), 71 deletions(-)create mode 100644 meta/recipes-core/images/build-appliance-image.bb delete mode 100644 meta/recipes-core/images/self-hosted-image.bb
meta/conf/multilib.conf +1
-1@@ -581,7 +581,7 @@ BBCLASSEXTEND_append_pn-sat-solver = " ${MULTILIBS}" BBCLASSEXTEND_append_pn-screen = " ${MULTILIBS}" BBCLASSEXTEND_append_pn-scrnsaverproto = " ${MULTILIBS}" BBCLASSEXTEND_append_pn-sed = " ${MULTILIBS}" -BBCLASSEXTEND_append_pn-self-hosted-image = " ${MULTILIBS}" +BBCLASSEXTEND_append_pn-build-appliance-image = " ${MULTILIBS}" BBCLASSEXTEND_append_pn-service = " ${MULTILIBS}" BBCLASSEXTEND_append_pn-setserial = " ${MULTILIBS}" BBCLASSEXTEND_append_pn-settings-daemon = " ${MULTILIBS}"meta/recipes-core/images/build-appliance-image.bb new file +1
-0@@ -0,0 +1,70 @@ +DESCRIPTION = "An image you can boot and run using either the VMwarePlayer or VMware Workstation. For more information, see the<a href='http://www.yoctoproject.org/documentation/build-appliance'>Build Appliance page</a>."
+IMAGE_INSTALL = "task-core-boot task-core-apps-console task-core-ssh-openssh task-self-hosted"meta/recipes-core/images/build-appliance-image.bb new file +3
-0+ +LICENSE = "MIT" +LIC_FILES_CHKSUM ="file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
+ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"meta/recipes-core/images/build-appliance-image.bb new file +6
-0+ +PR = "r15" + +IMAGE_FEATURES += "x11-mini package-management" + +# Ensure there's enough space to do a core-image-sato build, with
rm_workenabledmeta/recipes-core/images/build-appliance-image.bb new file +14
-0+IMAGE_ROOTFS_EXTRA_SPACE = "41943040" + +# Do a quiet boot with limited console messages +APPEND += "quiet" + +IMAGE_FSTYPES = "vmdk" + +inherit core-image + +SRCREV = "3ab5d73f0c49df9fefa2a46031d33436bbd7d7d8" +SRC_URI = "git://git.yoctoproject.org/poky;protocol=git" + +IMAGE_CMD_ext3_append () { + # We don't need to reserve much space for root, 0.5% is more thanenough
meta/recipes-core/images/build-appliance-image.bb new file +5
-0+ tune2fs -m 0.5 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3 +} + +fakeroot do_populate_poky_src () { + # Because fetch2's git's unpack uses -s cloneflag, the unpackedgit repo
meta/recipes-core/images/build-appliance-image.bb new file +9
-0+ # will become invalid in the target. + rm -rf ${WORKDIR}/git/.git + rm -f ${WORKDIR}/git/.gitignore + + cp -Rp ${WORKDIR}/git ${IMAGE_ROOTFS}/home/builder/poky + + mkdir -p ${IMAGE_ROOTFS}/home/builder/poky/build/conf + mkdir -p ${IMAGE_ROOTFS}/home/builder/poky/build/downloads + cp -RpL ${DL_DIR}/*${IMAGE_ROOTFS}/home/builder/poky/build/downloads/
meta/recipes-core/images/build-appliance-image.bb new file +2
-0+ + # Remove the git2_* tarballs -- this is ok since we still havethe git2/.
meta/recipes-core/images/build-appliance-image.bb new file +4
-0+ rm -rf ${IMAGE_ROOTFS}/home/builder/poky/build/downloads/git2_* + + echo "/usr/bin" > ${IMAGE_ROOTFS}/home/builder/poky/build/pseudodone + echo "INHERIT += \"rm_work\"" >>
${IMAGE_ROOTFS}/home/builder/poky/build/conf/auto.confmeta/recipes-core/images/build-appliance-image.bb new file +2
-0+ mkdir -p ${IMAGE_ROOTFS}/home/builder/pseudo + echo "export PSEUDO_PREFIX=/usr" >>${IMAGE_ROOTFS}/home/builder/.bashrc
+ echo "export PSEUDO_LOCALSTATEDIR=/home/builder/pseudo" >>
${IMAGE_ROOTFS}/home/builder/.bashrc
+ echo "export PSEUDO_LIBDIR=/usr/lib/pseudo/lib64" >>
${IMAGE_ROOTFS}/home/builder/.bashrcmeta/recipes-core/images/build-appliance-image.bb new file +7
-0+ + chown builder.builder ${IMAGE_ROOTFS}/home/builder/pseudo + + chown -R builder.builder ${IMAGE_ROOTFS}/home/builder/poky + + # Allow builder to use sudo to setup tap/tun + echo "builder ALL=(ALL) NOPASSWD: ALL" >>${IMAGE_ROOTFS}/etc/sudoers
meta/recipes-core/images/build-appliance-image.bb new file +4
-0+ + # Use Clearlooks GTK+ theme + mkdir -p ${IMAGE_ROOTFS}/etc/gtk-2.0 + echo 'gtk-theme-name = "Clearlooks"' >${IMAGE_ROOTFS}/etc/gtk-2.0/gtkrc
meta/recipes-core/images/build-appliance-image.bb new file +9
-0+} + +IMAGE_PREPROCESS_COMMAND += "do_populate_poky_src; " + +python do_get_poky_src () { + bb.build.exec_func('base_do_fetch', d) + bb.build.exec_func('base_do_unpack', d) +} +addtask do_get_poky_src before do_rootfsmeta/recipes-core/images/self-hosted-image.bb deleted +0
-2@@ -1,70 +0,0 @@ -DESCRIPTION = "Version 1.0-r6 of the self-hosted image." -IMAGE_INSTALL = "task-core-boot task-core-apps-consoletask-core-ssh-openssh task-self-hosted"
meta/recipes-core/images/self-hosted-image.bb deleted +0
-3- -LICENSE = "MIT" -LIC_FILES_CHKSUM ="file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
- file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"meta/recipes-core/images/self-hosted-image.bb deleted +0
-6- -PR = "r15" - -IMAGE_FEATURES += "x11-mini package-management" - -# Ensure there's enough space to do a core-image-sato build, with
rm_workenabledmeta/recipes-core/images/self-hosted-image.bb deleted +0
-14-IMAGE_ROOTFS_EXTRA_SPACE = "41943040" - -# Do a quiet boot with limited console messages -APPEND += "quiet" - -IMAGE_FSTYPES = "vmdk" - -inherit core-image - -SRCREV = "3ab5d73f0c49df9fefa2a46031d33436bbd7d7d8" -SRC_URI = "git://git.yoctoproject.org/poky;protocol=git" - -IMAGE_CMD_ext3_append () { - # We don't need to reserve much space for root, 0.5% is more thanenough
meta/recipes-core/images/self-hosted-image.bb deleted +0
-5- tune2fs -m 0.5 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3 -} - -fakeroot do_populate_poky_src () { - # Because fetch2's git's unpack uses -s cloneflag, the unpackedgit repo
meta/recipes-core/images/self-hosted-image.bb deleted +0
-9- # will become invalid in the target. - rm -rf ${WORKDIR}/git/.git - rm -f ${WORKDIR}/git/.gitignore - - cp -Rp ${WORKDIR}/git ${IMAGE_ROOTFS}/home/builder/poky - - mkdir -p ${IMAGE_ROOTFS}/home/builder/poky/build/conf - mkdir -p ${IMAGE_ROOTFS}/home/builder/poky/build/downloads - cp -RpL ${DL_DIR}/*${IMAGE_ROOTFS}/home/builder/poky/build/downloads/
meta/recipes-core/images/self-hosted-image.bb deleted +0
-2- - # Remove the git2_* tarballs -- this is ok since we still havethe git2/.
meta/recipes-core/images/self-hosted-image.bb deleted +0
-4- rm -rf ${IMAGE_ROOTFS}/home/builder/poky/build/downloads/git2_* - - echo "/usr/bin" > ${IMAGE_ROOTFS}/home/builder/poky/build/pseudodone - echo "INHERIT += \"rm_work\"" >>
${IMAGE_ROOTFS}/home/builder/poky/build/conf/auto.confmeta/recipes-core/images/self-hosted-image.bb deleted +0
-2- mkdir -p ${IMAGE_ROOTFS}/home/builder/pseudo - echo "export PSEUDO_PREFIX=/usr" >>${IMAGE_ROOTFS}/home/builder/.bashrc
- echo "export PSEUDO_LOCALSTATEDIR=/home/builder/pseudo" >>
${IMAGE_ROOTFS}/home/builder/.bashrc
- echo "export PSEUDO_LIBDIR=/usr/lib/pseudo/lib64" >>
${IMAGE_ROOTFS}/home/builder/.bashrcmeta/recipes-core/images/self-hosted-image.bb deleted +0
-7- - chown builder.builder ${IMAGE_ROOTFS}/home/builder/pseudo - - chown -R builder.builder ${IMAGE_ROOTFS}/home/builder/poky - - # Allow builder to use sudo to setup tap/tun - echo "builder ALL=(ALL) NOPASSWD: ALL" >>${IMAGE_ROOTFS}/etc/sudoers
meta/recipes-core/images/self-hosted-image.bb deleted +0
-4- - # Use Clearlooks GTK+ theme - mkdir -p ${IMAGE_ROOTFS}/etc/gtk-2.0 - echo 'gtk-theme-name = "Clearlooks"' >${IMAGE_ROOTFS}/etc/gtk-2.0/gtkrc
meta/recipes-core/images/self-hosted-image.bb deleted +0
-9-} - -IMAGE_PREPROCESS_COMMAND += "do_populate_poky_src; " - -python do_get_poky_src () { - bb.build.exec_func('base_do_fetch', d) - bb.build.exec_func('base_do_unpack', d) -} -addtask do_get_poky_src before do_rootfs