* How to create a Blacksand Image with source tarball
@ 2010-10-21 4:56 Saul Wold
0 siblings, 0 replies; only message in thread
From: Saul Wold @ 2010-10-21 4:56 UTC (permalink / raw)
To: 'yocto@yoctoproject.org'
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)
+}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-10-21 4:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-21 4:56 How to create a Blacksand Image with source tarball Saul Wold
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.