Hi Dirk! Am Freitag, 25. März 2016, 22:57:48 CET schrieb Herbert Graeber:
Am Freitag, 25. März 2016, 21:13:17 CET schrieb Dirk Müller:
But the Problem is, that boot.script contains "rootflags=size=100%" and "size=100%" isn't an allowed mount option for ext4. This option only exists for tmpfs. I have found this option in JeOS-raspberrypi.kiwi and every other of several *.kiwi files I looked into, too.
right, but there is a kiwi-hooks/installUboot.sh script on firstboot in the image that should get executed
and remove those flags: # On second boot, the rootfs is no longer tmpfs and dracut would interpret
the # command line argument, remove it again from the config
for file in /etc/sysconfig/bootloader /etc/default/grub /boot/boot.script;
do ⇥ [ -e "$file" ] && sed -i -e 's/rootflags=size=100%//' $file done
Those lines are missing in /kiwi-hooks/installUBoot.sh from openSUSE- Tumbleweed-ARM-JeOS-raspberrypi.armv6l-2016.03.24-Build2.1.raw.xz
can you provide the kiwi boot log ? perhaps there is a hint why the code isn't getting executed.
I can have a look tomorrow, but I think the missing lines are the cause for this an a log won't show more.
Today I tried the next image (2016.03.25-Build2.1). The problem remains. I have attached /var/log/boot.kiwi, /boot/boot.script and /kiwk-hooks/ installUBoot.sh.
What's strange is, that a raspberrypi2 image from the same date contains the right kiwi-hooks/installUBoot.sh
Herbert