From: Saul Wold <saul.wold@intel.com>
To: "'yocto@yoctoproject.org'" <yocto@yoctoproject.org>
Subject: How to create a Blacksand Image with source tarball
Date: Wed, 20 Oct 2010 21:56:20 -0700 [thread overview]
Message-ID: <4CBFC7F4.6040709@intel.com> (raw)
Richard, Scott:
Here is what I did to create the blacksand sdk live image with a source
tarball. I still need to include the docs and release notes at the top
level, but we now have the basic infrastructure in place.
2 changes where required, first to the local.conf file to include the
serial port changes (with one additional tweak):
SYSLINUX_OPTS_atom-pc = "serial 0 115200"
SERIAL_CONSOLE_atom-pc = "115200 ttyS0"
APPEND_atom-pc = "console=ttyS0,115200 console=tty0"
And then a new image, that I named poky-image-spec-live, pretty straight
forward, we just need to edit the build_src_tarball_bin to include the
docs and release notes.
diff --git a/meta/recipes-sato/images/poky-image-spec-live.bb
b/meta/recipes-sato/images/poky-image-spec-live.bb
new file mode 100644
index 0000000..1abeb95
--- /dev/null
+++ b/meta/recipes-sato/images/poky-image-spec-live.bb
@@ -0,0 +1,23 @@
+DESCRIPTION = "Bootable Live SDK Image for Atom-PC Board"
+
+require recipes-core/images/poky-image-live.inc
+
+LABELS += "boot install"
+
+ROOTFS = "${DEPLOY_DIR_IMAGE}/poky-image-spec-${MACHINE}.ext3"
+
+LICENSE = "MIT"
+
+PR = "r0"
+
+do_bootimg[depends] += "poky-image-sdk:do_rootfs"
+
+build_src_tarball_bin () {
+ install -d ${S}/hdd/boot
+ (cd ${OEROOT}; git archive HEAD | bzip2 >
"${S}/hdd/boot/poky4.tar.bz2")
+}
+
+python do_bootimg_prepend () {
+ import bb
+ bb.build.exec_func('build_src_tarball_bin', d)
+}
reply other threads:[~2010-10-21 4:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CBFC7F4.6040709@intel.com \
--to=saul.wold@intel.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.