mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] Opkg status file in initrd
Date: Fri, 28 Aug 2020 11:50:15 +0200	[thread overview]
Message-ID: <20200828095015.GA3230@pengutronix.de> (raw)
In-Reply-To: <3329277.zs2k1r9rDW@atenea>

Hi,

On Mon, Aug 24, 2020 at 04:50:02PM +0200, Ariel Garcia wrote:
> i'm having a hard time trying to understand why a /usr/share/opkg/status
> file is landing in the root.cpio which itself is used for the initrd in a 
> kernel... (resp. which script/step/etc may i touch to change that)
> 
> I am trying to make the build fully reproducible and the opkg/status file 
> contains the "Installation-Time".
> 
> Any hint?

I think the best solution would be to just remove /usr/share/opkg before
the cpio is created. You don't need this anyways.
If you use the default rule for root.cpio, then you can copy
config/images/cpio.config into your BSP and add:

exec-pre = "rm -r '${IMAGEMOUNTPATH}/usr/share/opkg'"

I think. This is untested, so you should probably start with an 'echo' to
see if the path is correct.

Michael

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

  reply	other threads:[~2020-08-28  9:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-24 14:50 Ariel Garcia
2020-08-28  9:50 ` Michael Olbrich [this message]
2020-08-28 12:56   ` Ariel Garcia
2020-08-28 13:26     ` Michael Olbrich
2020-09-04 17:23       ` Michael Olbrich

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=20200828095015.GA3230@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox