Hi, > 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 > ++ '[' '!' -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?
Check the initrd if the script is really included gzip -cd <initrd> | cpio -it | grep setupUBoot.sh If it does not exist at all check if the tarball providing the script(s) is bootincluded <archive name="foo.tgz" bootinclude="true"/> Next check if the archive bundled the scripts correctly, should look like this: tar -tf foo.tgz kiwi-hooks/ kiwi-hooks/setupUBoot.sh If all that matches check the kiwi build log if you can see the "Installing archives" log information Regards, Marcus -- Public Key available via: https://keybase.io keybase search marcus_schaefer ------------------------------------------------------- Marcus Schäfer (Res. & Dev.) SUSE Linux GmbH Tel: 0911-740 53 0 Maxfeldstrasse 5 FAX: 0911-740 53 479 D-90409 Nürnberg HRB: 21284 (AG Nürnberg) Germany GF: Felix Imendörffer, Jane Smithard GF: Dilip Upmanyu, Graham Norton http://www.suse.de ------------------------------------------------------- -- To unsubscribe, e-mail: opensuse-arm+unsubscr...@opensuse.org To contact the owner, e-mail: opensuse-arm+ow...@opensuse.org