On Mon, Oct 16, 2017 at 4:29 PM, Marcus Schäfer <
m...@suse.de> wrote:
> Hi,
>
>> Once my build works I'll upload a new dice container to dockerhub
>> and ask you for a next test
>
> ok I successfully built lvm based images with dice. The new
> container is online. Would be great if you can give it another
> try
I think that the LVM stuff works. I see this in the log:
[ DEBUG ]: 06:52:17 | --> kiwi_Volume_1='opt|freespace:5120|opt'
[ DEBUG ]: 06:52:17 | --> kiwi_Volume_2='misc|freespace:5120|misc'
[ DEBUG ]: 06:52:17 | --> kiwi_Volume_3='home|size:all|home'
[ DEBUG ]: 06:52:17 | --> kiwi_Volume_4='LVRoot|freespace:30|'
and a bit later:
[ DEBUG ]: 06:52:41 | EXEC: [du -s --apparent-size --block-size 1
/tmp/kiwi_build_20171018-19489-1osux4i.dice/build/image-root/opt]
[ DEBUG ]: 06:52:41 | EXEC: [bash -c find
/tmp/kiwi_build_20171018-19489-1osux4i.dice/build/image-root/opt | wc
-l]
[ DEBUG ]: 06:52:41 | EXEC: [du -s --apparent-size --block-size 1
/tmp/kiwi_build_20171018-19489-1osux4i.dice/build/image-root/home]
[ DEBUG ]: 06:52:41 | EXEC: [bash -c find
/tmp/kiwi_build_20171018-19489-1osux4i.dice/build/image-root/home | wc
-l]
[ DEBUG ]: 06:53:08 | EXEC: [vgremove --force vgroup-rsl]
[ DEBUG ]: 06:53:08 | EXEC: [pvcreate /dev/mapper/loop0p4]
[ DEBUG ]: 06:53:08 | EXEC: [vgcreate vgroup-rsl /dev/mapper/loop0p4]
[ INFO ]: 06:53:09 | Creating volumes(ext4)
[ DEBUG ]: 06:53:09 | EXEC: [mkdir -p
/tmp/kiwi_build_20171018-19489-1osux4i.dice/build/image-root/misc]
[ DEBUG ]: 06:53:09 | EXEC: [du -s --apparent-size --block-size 1
/tmp/kiwi_build_20171018-19489-1osux4i.dice/build/image-root/misc]
[ DEBUG ]: 06:53:09 | EXEC: [bash -c find
/tmp/kiwi_build_20171018-19489-1osux4i.dice/build/image-root/misc | wc
-l]
[ INFO ]: 06:53:09 | --> volume misc with 30 MB
[ DEBUG ]: 06:53:09 | EXEC: [lvcreate -L 30 -n misc vgroup-rsl]
[ DEBUG ]: 06:53:10 | EXEC: [mkfs.ext4 /dev/vgroup-rsl/misc]
[ DEBUG ]: 06:53:11 | EXEC: [du -s --apparent-size --block-size 1
/tmp/kiwi_build_20171018-19489-1osux4i.dice/build/image-root/opt]
[ DEBUG ]: 06:53:11 | EXEC: [bash -c find
/tmp/kiwi_build_20171018-19489-1osux4i.dice/build/image-root/opt | wc
-l]
[ INFO ]: 06:53:11 | --> volume opt with 401 MB
[ DEBUG ]: 06:53:11 | EXEC: [lvcreate -L 401 -n opt vgroup-rsl]
[ DEBUG ]: 06:53:12 | EXEC: [mkfs.ext4 /dev/vgroup-rsl/opt]
[ DEBUG ]: 06:53:12 | EXEC: [du -s --apparent-size --block-size 1
--exclude /tmp/kiwi_build_20171018-19489-1osux4i.dice/build/image-root/opt
--exclude /tmp/kiwi_build_20171018-19489-1osux4i.dice/build/image-root/misc
--exclude /tmp/kiwi_build_20171018-19489-1osux4i.dice/build/image-root/home
/tmp/kiwi_build_20171018-19489-1osux4i.dice/build/image-root]
[ DEBUG ]: 06:53:14 | EXEC: [bash -c find
/tmp/kiwi_build_20171018-19489-1osux4i.dice/build/image-root | wc -l]
[ INFO ]: 06:53:15 | --> volume LVRoot with 8716 MB
[ DEBUG ]: 06:53:15 | EXEC: [lvcreate -L 8716 -n LVRoot vgroup-rsl]
[ DEBUG ]: 06:53:16 | EXEC: [mkfs.ext4 -L ROOT /dev/vgroup-rsl/LVRoot]
[ INFO ]: 06:53:17 | --> fullsize volume home
[ DEBUG ]: 06:53:17 | EXEC: [lvcreate -l +100%FREE -n home vgroup-rsl]
[ DEBUG ]: 06:53:17 | EXEC: [mkfs.ext4 -L ROOT /dev/vgroup-rsl/home]
[ DEBUG ]: 06:53:18 | EXEC: [mkdir -p /tmp/kiwi_volumes.qv23_f3x]
[ DEBUG ]: 06:53:18 | EXEC: [mountpoint /tmp/kiwi_volumes.qv23_f3x]
[ DEBUG ]: 06:53:18 | EXEC: [mount -o defaults
/dev/vgroup-rsl/LVRoot /tmp/kiwi_volumes.qv23_f3x]
[ DEBUG ]: 06:53:18 | EXEC: [mkdir -p /tmp/kiwi_volumes.qv23_f3x/home]
[ DEBUG ]: 06:53:18 | EXEC: [mountpoint /tmp/kiwi_volumes.qv23_f3x/home]
[ DEBUG ]: 06:53:18 | EXEC: [mount -o defaults /dev/vgroup-rsl/home
/tmp/kiwi_volumes.qv23_f3x/home]
[ DEBUG ]: 06:53:18 | EXEC: [mkdir -p /tmp/kiwi_volumes.qv23_f3x/misc]
[ DEBUG ]: 06:53:18 | EXEC: [mountpoint /tmp/kiwi_volumes.qv23_f3x/misc]
[ DEBUG ]: 06:53:18 | EXEC: [mount -o defaults /dev/vgroup-rsl/misc
/tmp/kiwi_volumes.qv23_f3x/misc]
[ DEBUG ]: 06:53:18 | EXEC: [mkdir -p /tmp/kiwi_volumes.qv23_f3x/opt]
[ DEBUG ]: 06:53:18 | EXEC: [mountpoint /tmp/kiwi_volumes.qv23_f3x/opt]
[ DEBUG ]: 06:53:18 | EXEC: [mount -o defaults /dev/vgroup-rsl/opt
/tmp/kiwi_volumes.qv23_f3x/opt]
So at least there are no errors.
Unfortunately, the mkisofs error is not ignored, causing the build to fail:
[ DEBUG ]: 07:26:08 | "mkisofs": in paths
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" exists:
"False" mode match: not checked
[ DEBUG ]: 07:26:08 | EXEC: [/usr/bin/genisoimage -hide header_end
-hide-joliet header_end -V "KIWI Installation System" -A 0xe37e56cf -R
-J -f -pad -joliet-long -sort /tmp/tmppd5lgn1m -no-emul-boot
-boot-load-size 4 -boot-info-table -hide boot/x86_64/boot.catalog
-hide-joliet boot/x86_64/boot.catalog -b
boot/x86_64/loader/isolinux.bin -c boot/x86_64/boot.catalog
-eltorito-alt-boot -b boot/x86_64/efi -no-emul-boot -joliet-long
-boot-load-size 30720 -o
/tmp/kiwi_build_20171018-19489-1osux4i.dice/RSL-OEM-Leap-42.3.x86_64-42.3.2.install.iso
/tmp/kiwi_build_20171018-19489-1osux4i.dice/kiwi_install_media.fmfqplva]
[ DEBUG ]: 07:26:51 | Relocated boot catalog from sector 0x3ce5 to 0x14
[ DEBUG ]: 07:26:51 | Fixed iso catalog contents
[ DEBUG ]: 07:26:51 | EXEC: [isohybrid --offset 31176 --id
0xe37e56cf --type 0x83 --uefi
/tmp/kiwi_build_20171018-19489-1osux4i.dice/RSL-OEM-Leap-42.3.x86_64-42.3.2.install.iso]
[ ERROR ]: 07:26:53 | KiwiCommandError: isohybrid: isohybrid:
Warning: more than 1024 cylinders: 1761
isohybrid: Not all BIOSes will be able to boot this device
Unlike a native build where the results are still available, dice
removes all the stuff. So there is nothing to check.
--
Roger Oberholtzer