Skip to contentSkip to conversation

bbappend and placing a file into /tmp on the target

DISCUSSION Bishop, Mark (STRT) 4 participants 5 messages Aug 13, 2018 – Aug 14, 2018

lore
Share & tools
lore
#0 lore raw

I am trying to expand an existing package (base-passwd) and having it place /etc/passwd into /tmp/

I'm failing pretty miserably and am looking for some hints/tips.

Mark Bishop
Sr. Firmware/Software Engineer - Microwave Subsystems

[cid:[email protected]]

4726 Eisenhower Blvd.
Tampa, FL 33634
USA

T +1 813 901 7293

[email protected]<mailto:[email protected]>

smithsinterconnect.com<http://www.smithsinterconnect.com/>

TRAK MICROWAVE IS NOW SMITHS INTERCONNECT!

#1 lore raw

May be look into VOLATILE_BINDS

Quoted 55 lines · Mark (STRT)

I am trying to expand an existing package (base-passwd) and having it place /etc/passwd into /tmp/

I’m failing pretty miserably and am looking for some hints/tips.

*Mark Bishop*

*Sr. Firmware/Software Engineer – Microwave Subsystems*

[image: cid:[email protected]]

4726 Eisenhower Blvd.

Tampa, FL 33634

USA

T +1 813 901 7293

*[email protected] <[email protected]>*

*smithsinterconnect.com* <http://www.smithsinterconnect.com/>

*TRAK MICROWAVE IS NOW SMITHS INTERCONNECT!*

This e-mail contains proprietary information some or all of which may be legally privileged. It is intended for the recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the authority by replying to this e-mail. If you are not the intended recipient you must not use, disclose, distribute, copy, print, or rely on this e-mail. In addition, information contained in or attached to this e-mail may be subject to either 22 C.F.R. Parts 120?130, or 15 C.F.R. Parts 730-774. These regulations prohibit the release or disclosure of certain information contained herein to anyone who is not a U.S. citizen or permanent resident alien, without a license first having been issued. Failure to observe such requirements is a violation of U.S. law that
carries serious penalties. ­­
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#2 lore raw

VOLATILE-BINDS is kinda what I am looking for, but without the dependency of systemd

From: Khem Raj [mailto:[email protected]]
Sent: Monday, August 13, 2018 5:54 PM
To: Bishop, Mark (STRT)
Cc: Yocto Project
Subject: Re: [yocto] bbappend and placing a file into /tmp on the target

May be look into VOLATILE_BINDS

On Mon, Aug 13, 2018 at 1:12 PM Bishop, Mark (STRT) <[email protected]<mailto:[email protected]>> wrote:
I am trying to expand an existing package (base-passwd) and having it place /etc/passwd into /tmp/

I’m failing pretty miserably and am looking for some hints/tips.

Mark Bishop
Sr. Firmware/Software Engineer – Microwave Subsystems

[cid:[email protected]]

4726 Eisenhower Blvd.
Tampa, FL 33634
USA

T +1 813 901 7293

[email protected]<mailto:[email protected]>

smithsinterconnect.com<http://www.smithsinterconnect.com/>

TRAK MICROWAVE IS NOW SMITHS INTERCONNECT!

This e-mail contains proprietary information some or all of which may be legally privileged. It is intended for the recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the authority by replying to this e-mail. If you are not the intended recipient you must not use, disclose, distribute, copy, print, or rely on this e-mail. In addition, information contained in or attached to this e-mail may be subject to either 22 C.F.R. Parts 120?130, or 15 C.F.R. Parts 730-774. These regulations prohibit the release or disclosure of certain information contained herein to anyone who is not a U.S. citizen or permanent resident alien, without a license first having been issued. Failure to observe such requirements is a violation of U.S. law that carries serious penalties. ­­
--
_______________________________________________
yocto mailing list [email protected]<mailto:[email protected]>
https://lists.yoctoproject.org/listinfo/yocto

#3 lore raw

This might be what you are looking for
https://git.yoctoproject.org/cgit.cgi/poky/plain/meta/recipes-core/initscripts/initscripts-1.0/volatiles

You could create a iniscripts_%.bbappend to add what you need.

Regards,

Mathieu

Quoted 97 lines

-----Message d'origine-----
De : [email protected] <[email protected]> De la part de Bishop, Mark (STRT)
Envoyé : August 14, 2018 9:25 AM
À : Yocto Project <[email protected]>
Objet : Re: [yocto] bbappend and placing a file into /tmp on the target

VOLATILE-BINDS is kinda what I am looking for, but without the dependency of systemd

From: Khem Raj [mailto:[email protected]]
Sent: Monday, August 13, 2018 5:54 PM
To: Bishop, Mark (STRT)
Cc: Yocto Project
Subject: Re: [yocto] bbappend and placing a file into /tmp on the target

May be look into VOLATILE_BINDS

On Mon, Aug 13, 2018 at 1:12 PM Bishop, Mark (STRT) <[email protected] <mailto:[email protected]> > wrote:

I am trying to expand an existing package (base-passwd) and having
it place /etc/passwd into /tmp/

I’m failing pretty miserably and am looking for some hints/tips.

Mark Bishop

Sr. Firmware/Software Engineer – Microwave Subsystems

4726 Eisenhower Blvd.

Tampa, FL 33634

USA

T +1 813 901 7293

[email protected]
<mailto:[email protected]>

smithsinterconnect.com <http://www.smithsinterconnect.com/>

TRAK MICROWAVE IS NOW SMITHS INTERCONNECT!

This e-mail contains proprietary information some or all of which may
be legally privileged. It is intended for the recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the authority by replying to this e-mail. If you are not the intended recipient you must not use, disclose, distribute, copy, print, or rely on this e-mail. In addition, information contained in or attached to this e-mail may be subject to either 22 C.F.R. Parts 120?130, or 15 C.F.R. Parts 730-774. These regulations prohibit the release or disclosure of certain information contained herein to anyone who is not a U.S. citizen or permanent resident alien, without a license first having been issued. Failure to observe such requirements is a violation of
U.S. law that carries serious penalties. ­­

	--
	_______________________________________________
	yocto mailing list
	[email protected] <mailto:[email protected]>
	https://lists.yoctoproject.org/listinfo/yocto

This e-mail contains proprietary information some or all of which may be legally privileged. It is intended for the recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the authority by replying to this e-mail. If you are not the intended recipient you must not use, disclose, distribute, copy, print, or rely on this e-mail. In addition, information contained in or attached to this e-mail may be subject to either 22 C.F.R. Parts 120‐130, or 15 C.F.R. Parts 730-774. These regulations prohibit the release or disclosure of certain information contained herein to anyone who is not a U.S. citizen or permanent resident alien, without a license first having been issued. Failure to observe such requirements is a violation of
U.S. law that carries serious penalties. ­­

#4 lore raw
In reply to Bishop, Mark (STRT)

Why do you want to put it into /tmp? That's typically got a tmpfs mounted on it at boot time so anything you put in there at rootfs time won't be visible.

If you're goal is a read-write overlay on a read-only rootfs then look at something like overlayfs.

Ross

Quoted 57 lines · Mark (STRT)

I am trying to expand an existing package (base-passwd) and having it place /etc/passwd into /tmp/

I’m failing pretty miserably and am looking for some hints/tips.

*Mark Bishop*

*Sr. Firmware/Software Engineer – Microwave Subsystems*

[image: cid:[email protected]]

4726 Eisenhower Blvd.

Tampa, FL 33634

USA

T +1 813 901 7293

*[email protected] <[email protected]>*

*smithsinterconnect.com* <http://www.smithsinterconnect.com/>

*TRAK MICROWAVE IS NOW SMITHS INTERCONNECT!*

This e-mail contains proprietary information some or all of which may be legally privileged. It is intended for the recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the authority by replying to this e-mail. If you are not the intended recipient you must not use, disclose, distribute, copy, print, or rely on this e-mail. In addition, information contained in or attached to this e-mail may be subject to either 22 C.F.R. Parts 120?130, or 15 C.F.R. Parts 730-774. These regulations prohibit the release or disclosure of certain information contained herein to anyone who is not a U.S. citizen or permanent resident alien, without a license first having been issued. Failure to observe such requirements is a violation of U.S. law that
carries serious penalties. ­­

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto