[opensuse-arm] Initrd.vmx too big
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 quick search shows that: * /usr/lib/python3.6/ is 36M. Do we really need python libs in initrd? * /usr/lib/sysimage/rpm is 19M. Not really useful I guess? * /usr/lib/grub2 is 27M. Guillaume -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
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. Alex -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
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.
I will give it a try but JeOS* images are currently unresolvable. Guillaume
Alex
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
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? Guillaume -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
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 :) Alex
Guillaume
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
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 :) Alex -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
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 ... 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+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
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
You need to add this line in your Project config: Preinstall: jing Because kiwi does not install this dep automatically.
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.
Sounds good. Guillaume -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Le 05/02/2018 à 13:37, Guillaume Gardet a écrit :
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
You need to add this line in your Project config: Preinstall: jing Because kiwi does not install this dep automatically.
Alex, your Project config has a typo: Prefer: kiwi-boot-require should be: Prefer: kiwi-boot-requires with a 's' at the end. ;) Guillaume
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.
Sounds good.
Guillaume
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On 05.02.2018 15:01, Alexander Graf wrote:
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_timeou
t", "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.
Will we move Leap:15.0:Ports to kiwi8 as well?
Alex
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On 02/07/2018 09:26 AM, Matwey V. Kornilov wrote:
On 05.02.2018 15:01, Alexander Graf wrote:
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_timeou
t", "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.
Will we move Leap:15.0:Ports to kiwi8 as well?
That depends on whether kiwi7 is available at all. From all I can tell, it is not. So we would need to use python-kiwi. We however do not need to move to dracut initrds for all targets yet. Alex -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
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? Guillaume -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
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
participants (3)
-
Alexander Graf
-
Guillaume Gardet
-
Matwey V. Kornilov