Le 08/06/2015 11:54, Guillaume Gardet a écrit :
Le 08/06/2015 11:43, Guillaume Gardet a écrit :
Le 28/05/2015 16:32, Guillaume Gardet a écrit :
Hi,

after testing some factory images, it appears that boot.scr/boot.script are not 
updated, so board is unbootable after first boot.

Anything changed in config or kiwi?

Marcus, it seems that kiwi does not run our u-boot hook (setupUBoot.sh) which 
is in /kiwi-hooks/ because test if file exists fails whereas it is there. :(

boot.kiwi log:
**********************************************************************
++ local 'IFS=
'
++ '[' '!' -z '' ']'
++ export eval KIWI_ALLOW_HOOK_CMD_setupUBoot=0
++ KIWI_ALLOW_HOOK_CMD_setupUBoot=0
++ HOOK=/kiwi-hooks/setupUBoot.sh

Marcus, should not we look for /mnt/kiwi-hooks/setupUBoot.sh since at this 
moment, partition is mounted on /mnt ?

I will send a patch to fix this later today.


Guillaume




Guillaume


++ '[' '!' -e /kiwi-hooks/setupUBoot.sh ']'
++ HOOK=/lib/kiwi/hooks/setupUBoot.sh
++ '[' -e /lib/kiwi/hooks/setupUBoot.sh ']'
++ '[' '!' -z '' ']'
++ eval local 'call_cmd=$KIWI_ALLOW_HOOK_CMD_setupUBoot'
+++ local call_cmd=0
**********************************************************************

How could we debug this?


Guillaume



--
To unsubscribe, e-mail: opensuse-arm+unsubscr...@opensuse.org
To contact the owner, e-mail: opensuse-arm+ow...@opensuse.org

Reply via email to