From: Lars Larsen <lars@visionweeding.com>
To: yocto@yoctoproject.org
Subject: how to add files to boot media hddimg/ISO
Date: Wed, 26 Oct 2016 15:22:04 +0200 [thread overview]
Message-ID: <5810ADFC.2000309@visionweeding.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1004 bytes --]
Hello yocto world
I have a recipe that produce an ISO image and a hddimg image.
I need to add a file to the boot media root, alongside rootfs.img and
intrd - so it is NOT a part of the rootfs
inspired by bootimg.bbclass, I tried to add the following recipe to my build
/DESCRIPTION = "Provide a sektionnumber.dat file on bootmedia (ISO and
hdd)"//
//
//LICENSE = "CLOSED"//
//BRANCH ?= "develop"//
//SRC_URI ="file://sektionnumber.dat;"//
//FILESEXTRAPATHS_prepend := "${THISDIR}/files:" //
////
//
//do_bootimg_prepend(){//
// install -d ${ISODIR}//
// install -m 0644 "${THISDIR}/files/sektionnumber.dat
${ISODIR}/sektionnumber.dat//
// install -d ${HDDDIR}//
// install -m 0644 "${THISDIR}/files/sektionnumber.dat
${HDDDIR}/sektionnumber.dat//
//}
/but it is not recognized
any suggestions ?
BR Lars
--
Best Regards
Lars Larsen
F.Poulsen Engineering Aps
Tjørnager 16
4330 Hvalsø
Denmark
+45 29802784
www.visionweeding.com
[-- Attachment #2: Type: text/html, Size: 1770 bytes --]
next reply other threads:[~2016-10-26 13:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-26 13:22 Lars Larsen [this message]
2016-10-26 14:29 ` how to add files to boot media hddimg/ISO SOLVED Lars Larsen
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=5810ADFC.2000309@visionweeding.com \
--to=lars@visionweeding.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.