On 19.05.14 21:00, Guillaume Gardet wrote:
Le 19/05/2014 10:44, Alexander Graf a écrit :
On 19.05.14 10:44, Guillaume Gardet wrote:
Le 19/05/2014 10:38, Alexander Graf a écrit :
On 19.05.14 09:43, Guillaume Gardet wrote:
Hi,
I fixed Chromebook boot after fisrt boot repartition with Marcus help. Please
accept SR #234660
Thanks for fixing the Chromebook! Before I accept the request, please explain
what
cgpt-table-update.tgz
does and why this can't be combined with our existing u-boot scripts.
It just do :
cgpt add -t kernel -i 1 -S 1 -T 5 -P 10 -l U-BOOT /dev/mmcblk0
in a preCallInit.sh hook script.
I remember I tried to add it to our u-boot script but I had some problems but I
can't remember what... :(
Do you want I retry to add it tour u-boot script to be sure?
Yes, please :). The more we can keep in a single file the easier things are to
maintain.
I have no access to cgpt from u-boot kiwi hooks. Even using /usr/bin/cgpt full
path and including it initrd.
I always get a "no such file or directory error". :(
That sounds weird. The kiwi hooks you care about here are the ones that
get called on first boot. Those have to have access to the rootfs to
write the new boot.script, so how could they not find cgpt? Maybe it's
not installed?
So, for now, please merge my SR and let's revert it later if we get it working.
I'm reluctant to include a tgz blob into the JeOS tree, as that usually
is a source of pain for diffing and maintaining the beast.
If you really don't get it working inside the existing scripts, could
you just put the preCallInit.sh script into the tree as
preCallInit.sh.chromebook and change the tgz generation to include
preCallInit.sh.$flavor as preCallInit.sh in the normal uboot tgz?
Alex
--
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]