On 02/10/2018 03:07 PM, Guillaume Gardet wrote:
Hi,
Le 05/02/2018 à 13:01, Alexander Graf a écrit :
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.gardet@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 ...
I tried it for Raspberry Pi 3 and it does not boot at all. I guess the 1st partition is not properly formatted?
All is well - we just simply explicitly set the EFI partition size to 2MB which was too small to fit all the RPi files as well. I have updated my repo - the resulting image seems to work fine. I'll move Tumbleweed over to kiwi-ng then... Alex -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org