public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: "Peter Müller" <peter.mueller@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: [PATCH] u-boot: create signed bootscript at build time
Date: Mon, 21 Nov 2022 08:25:11 +0000	[thread overview]
Message-ID: <39b49d01-b8da-1b14-2059-639cc4d0e6e2@ipfire.org> (raw)
In-Reply-To: <20221120094642.2408986-1-arne_f@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 2248 bytes --]

Acked-by: Peter Müller <peter.mueller(a)ipfire.org>

> before this was as binary in git which make no real sense.
> 
> Signed-off-by: Arne Fitzenreiter <arne_f(a)ipfire.org>
> ---
>  config/u-boot/boot.scr | Bin 2514 -> 0 bytes
>  lfs/u-boot             |   3 +++
>  2 files changed, 3 insertions(+)
>  delete mode 100644 config/u-boot/boot.scr
> 
> diff --git a/config/u-boot/boot.scr b/config/u-boot/boot.scr
> deleted file mode 100644
> index 875e09dc23cd2b8f17fd46d73f4deed208987004..0000000000000000000000000000000000000000
> GIT binary patch
> literal 0
> HcmV?d00001
> 
> literal 2514
> zcmc&#+iu!G5REFelKlsL8v#<Ks^*fYY7~?QLa2nAiv(#@^@ZAa9ai|J^_pA|KhVd%
> z_80n1{eku)I=kL=7D6a_X?XzbnK|do%<jyq=PxgR?*97ie*XStXUF=sqdq(a)gcL&d(
> zz0i*veyy*<NCV&`<4~J>Ny0}ynJwTDDwQ_y35jhhBb>xD&_;-&al3rWR0uRMu7M^m
> zoHo<FwjI#6ZQnzqbrk2(T4ZHI0r*ci+16hIwI&_eL_vaZg;YvTUB=hamezt;$~$N&
> zkSg?}G+`X_9_G$(c)ea1=>#qh6W3oVmMUC9RGUu;i%B?geV>ikLITtgK$nw(a)CkdPg
> z3;``H2#xwhjcLK(a)h-R$7)aC&VNk;F;0-bezDz$lzf#b+uRF;}%Ng9P5X2iCNH%Hhn
> zxTbuv!fvrV1_fmnvkF1NV4Os$%c&PqehZAaSrTV}=K_u|j)ou4KJ(a)_wT@w%>Neo#Y
> z-_Wx8sL(a)MYrW8us>e&i>F0#X{H6SJ_n^}eKgp8*GKO>B~A!>=U1bt}+BzC=!_$Je^
> zH|TdxobLJA(a)cg7#6y^M^<kNMl%@xe@$uR3`Xl5xb5v<Y&G16SdyDXaR8y=+#rmj*e
> zlz0sLj>T+v<7jt(@129l&Yt5rX_#kqpL-^VKIA%K&TogUH?7v&-DWf1$0p&26s^U7
> zI<svlAFyphXYj3Y(a)0@m;EBfTE6hcKaO}&rG{da{~X8J$%D9WO{s3xu1(a)a2L^_kiNC
> z5JO~$7qIkA(a)bc(0jiok*w#%+E?RR+Z1Y&gKv!37!`QqB8yloeP){)>LY{3S6Y2Sb>
> zFSQbfS7S7xR}%=-2k-oo$LlN#X`J6VwfTq3-eBR-G(a)y)><CEW}Vqk88E7a(jjW=;4
> zVB`K?8(R*q-uvT=?&<MxWf;ps>Z&3S2p;U0L5U?5!&Akp;iu}v+{mZdRI0-$^AQ)!
> zmRre;!ll%YDc_jl(z+TH3P7wr;>)dK91(4eakUs8`V5-P;HcEZ^1Z`k9&9<&d$C$0
> z5k;RIWj{jZYzhCs&#uCNh(a)B{QmRP0-_$Hdt$h{)qbRkY+{Othl1#m7P8#9`6aC~S8
> PCGx9|E8BcTAF%%bUf>%$
> 
> diff --git a/lfs/u-boot b/lfs/u-boot
> index 3452efddb..e5a48ef91 100644
> --- a/lfs/u-boot
> +++ b/lfs/u-boot
> @@ -240,6 +240,9 @@ endif
>  
>  	# config (uEnv.txt and boot.*)
>  	cp -vf $(DIR_SRC)/config/u-boot/* /boot/
> +	# create signed binary boot script (boot.scr)
> +	mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr
> +
>  	# patch real Kernel version to uEnv.txt
>  	sed -e "s/xxxKVERxxx/$(KVER)/g" -i /boot/uEnv.txt
>  

  reply	other threads:[~2022-11-21  8:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-20  9:46 Arne Fitzenreiter
2022-11-21  8:25 ` Peter Müller [this message]
2022-11-21  9:17   ` Michael Tremer

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=39b49d01-b8da-1b14-2059-639cc4d0e6e2@ipfire.org \
    --to=peter.mueller@ipfire.org \
    --cc=development@lists.ipfire.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox