On 05.02.18 11:49, Alexander Graf wrote:
> 
> 
> On 02.02.18 18:21, Alexander Graf wrote:
>>
>>
>>> Am 02.02.2018 um 14:08 schrieb Guillaume Gardet <guillaume.gar...@free.fr>:
>>>
>>>
>>>
>>>> Le 23/01/2018 à 16:59, Alexander Graf a écrit :
>>>> Howdy,
>>>>
>>>>> On 01/23/2018 04:20 PM, Guillaume Gardet wrote:
>>>>> Hi,
>>>>>
>>>>> I just tested the latest Tumbleweed image for my Beagleboard xM and the 
>>>>> boot fails because the initrd is too big (209M uncompressed) for the RAM.
>>>>
>>>> I'm seeing that pattern slowly emerge across the board. I guess it's about 
>>>> time we start to drop the legacy kiwi initrd. Can you try and see if
>>>>
>>>> #define USE_DRACUT_FIRSTBOOT
>>>>
>>>> in Images.kiwi.in works for you? That should also drastically reduce the 
>>>> initrd size.
>>>
>>> Build fails because jing was not preinstalled. Once preinstalled, I get an 
>>> error about initrd_system and efipartsize attributes not allowed:
>>> **********************************************************************
>>>  EXEC [/usr/bin/jing /usr/share/kiwi/modules/KIWISchema.rng 
>>> /usr/src/packages/SOURCES/config.converted.xml 2>/dev/null]
>>> [  246s] Feb-02 11:02:02 <3> : 
>>> /usr/src/packages/SOURCES/config.converted.xml:21:462: error: attribute 
>>> "initrd_system" not allowed here; expected attribute "bootfilesystem", 
>>> "bootloader", "bootpartition", "bootpartsize", "bootprofile", 
>>> "boottimeout", "btrfs_root_is_snapshot", "checkprebuilt", "compressed", 
>>> "container", "devicepersistency", "editbootconfig", "editbootinstall", 
>>> "filesystem", "firmware", "flags", "format", "formatoptions", 
>>> "fsmountoptions", "fsnocheck", "fsreadonly", "fsreadwrite", "gcelicense", 
>>> "hybrid", "hybridpersistent", "hybridpersistent_filesystem", "installboot", 
>>> "installiso", "installprovidefailsafe", "installpxe", "installstick", 
>>> "kernelcmdline", "luks", "luksOS", "mdraid", "primary", "ramonly", 
>>> "target_blocksize", "vga", "vhdfixedtag", "volid", "wwid_wait_timeout", 
>>> "zfsoptions" or "zipl_targettype"
>>> [  246s] /usr/src/packages/SOURCES/config.converted.xml:21:462: error: 
>>> attribute "efipartsize" not allowed here; expected attribute 
>>> "bootfilesystem", "bootpartition", "bootpartsize", "bootprofile", 
>>> "boottimeout", "btrfs_root_is_snapshot", "checkprebuilt", "compressed", 
>>> "container", "devicepersistency", "editbootconfig", "editbootinstall", 
>>> "flags", "format", "formatoptions", "fsnocheck", "fsreadonly", 
>>> "fsreadwrite", "gcelicense", "hybrid", "hybridpersistent", 
>>> "hybridpersistent_filesystem", "installboot", "installiso", 
>>> "installprovidefailsafe", "installpxe", "installstick", "kernelcmdline", 
>>> "luks", "luksOS", "mdraid", "primary", "ramonly", "target_blocksize", 
>>> "vga", "vhdfixedtag", "volid", "wwid_wait_timeout", "zfsoptions" or 
>>> "zipl_targettype"
>>> [  246s]
>>> [  246s] Feb-02 11:02:02 <3> : KIWI exited with error(s)
>>> **********************************************************************
>>>
>>> Am I missing something?
>>
>> Let‘s ask Marcus :)
> 
> I had a quick chat with him and he showed me a few other points where
> our xml description is doing useless things.
> 
> However, during that discussion I realized we're not using kiwi-ng, but
> instead rely on the old code. That's also why you don't get the dracut
> initrd pieces to work.
> 
> To build with kiwi-ng, you'll have to modify your prjconf to pull in the
> right package. Check out the o:F:A one and just do the reverse in your
> project's :)

I've created a small test repo where I've enabled the dracut initrd for
rpi3: https://build.opensuse.org/project/show/home:algraf:arm-kiwi-ng

Let's see how that works out ...

Once that's ok, I guess we can switch to kiwi8 in o:F:A and then start
moving beagle to the dracut initrd.


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

Reply via email to