On 12.10.2012, at 11:44, Marcus Schäfer wrote:
Hi,
So here we set it to $diskByID. Which means this one was "0" during the setupUBoot.sh phase :). Sounds odd, no?
yes odd, maybe a problem with the paramters passed to the hook call. Would you mind to provide /var/log/boot.kiwi from this system ? debugging is a lot easier with this information
"Nichts leichter als das" sagte Piggeldy zu Frederick. Komm mit. Alex KIWI Log: KIWI .profile contents: kiwi_strip_tools='qemu-arm-binfmt qemu-arm ifup isoinfo arch ata_id atftp atftpd awk basename bash bc blkid blockdev blogd btrfsctl btrfs btrfstune btrfsck busybox bzip2 cat checkmedia chroot clear clicfs cmp column cp cryptsetup curl cut dasd_configure dcounter dd debugreiserfs depmod df dhcpcd dialog diff dirname dmesg dmevent_tool dmraid dmsetup driveready dropbear dropbearkey du dumpe2fs e2fsck echo edd_id egrep eject env expr false fbiterm fbmngplay fdasd fdisk file find free fsck.ext2 fsck.ext3 fsck.ext4 fsck.btrfs fuser gawk gettext grep grub gzip halt hdparm head hexdump host hostname hwinfo hwup ifconfig init insmod id kexec kill killall killall5 killproc klogconsole kpartx kpartx_id ldconfig ldd ln losetup ls lsdasd lsmod lvchange lvcreate lvextend lvm lvresize md5sum mdadm mkdir mkdosfs mke2fs mkfifo mkfs.btrfs mkfs.cramfs mkfs.ext2 mkfs.ext3 mkfs.ext4 mkfs.xfs xfs_growfs xfs_check mkinitrd mknod mkreiserfs mkswap modinfo modprobe mount mount.nfs mount.nfs4 mpath_id mpath_wait mv nbd-client pam_console_apply parted path_id pidof ping pivot_root portmap posbios printf ps pvchange pvcreate pvresize pvscan pwd plymouth plymouthd plymouth-set-default-theme qeth_configure readlink reboot systemctl reiserfsck resize2fs resize_reiserfs rm rmdir rmmod route rpcbind rpc.idmapd rpc.statd scsi_id scsi_tur rsync sed seq setctsid setterm sh showconsole shutdown sleep sm-notify sort splash startproc start-statd stat swapoff swapon tac rev tail tar test touch tr true tty tune2fs udevadm udevcontrol udevd udevsettle udevtrigger umount uname uniq usb_id usleep utimer vgcfgbackup vgcfgrestore vgchange vgcreate vgdisplay vgextend vgremove vgrename vgscan vgs vol_id wc which xargs yes zfcp_disk_configure zfcp_host_configure kmod' kiwi_type='cpio' kiwi_bootloader='uboot' kiwi_cpio_name='initrd-oemboot-suse-12.2' kiwi_splash_theme='openSUSE' kiwi_displayname='openSUSE-12.2-ARM-JeOS-highbank' kiwi_oemswap='true' kiwi_size='auto' kiwi_drivers='crypto/*,drivers/mmc/*,drivers/acpi/*,drivers/acpi/dock.ko,drivers/ata/*,drivers/block/brd.ko,drivers/block/cciss.ko,drivers/block/loop.ko,drivers/block/virtio_blk.ko,drivers/cdrom/*,drivers/char/hw_random/virtio-rng.ko,drivers/char/lp.ko,drivers/firmware/edd.ko,drivers/gpu/drm/i915/i915.ko,drivers/gpu/drm/nouveau/nouveau.ko,drivers/gpu/drm/radeon/radeon.ko,drivers/hid/*,drivers/hwmon/*,drivers/ide/*,drivers/input/keyboard/*,drivers/input/mouse/*,drivers/md/*,drivers/message/fusion/*,drivers/net/*,drivers/parport/*,drivers/scsi/*,drivers/staging/hv/*,drivers/thermal/*,drivers/usb/*,drivers/virtio/*,fs/binfmt_aout.ko,fs/binfmt_misc.ko,fs/btrfs/*,fs/exportfs/*,fs/ext2/*,fs/ext3/*,fs/ext4/*,fs/fat/*,fs/fuse/*,fs/hfs/*,fs/jbd/*,fs/jbd2/*,fs/mbcache.ko,fs/nls/nls_cp437.ko,fs/nls/nls_iso8859-1.ko,fs/nls/nls_utf8.ko,fs/quota_v1.ko,fs/quota_v2.ko,fs/squashfs/*,fs/udf/*,fs/vfat/*,fs/xfs/*,lib/crc-t10dif.ko,lib/crc16.ko,lib/libcrc32c.ko,lib/zlib_deflate/zlib_deflate.ko,net/packet/*' kiwi_strip_delete='/usr/share/info /usr/share/splashy /lib/i686/nosegneg /usr/lib*/gconv /usr/src/packages /usr/share/X11/locale /usr/share/backgrounds /var/log/*' kiwi_iname='initrd-oemboot-suse-12.2' kiwi_language='en_US' kiwi_profiles='default,std' kiwi_revision='28d1a4d4cb433e8ad21ddaa25da49614e00df537' kiwi_loader_theme='openSUSE' kiwi_fixedpackbootincludes='qemu-linux-user-arm kernel-highbank' kiwi_oemtitle='openSUSE-12.2-ARM-JeOS-highbank' kiwi_iversion='2.7.1' kiwi_strip_libs='libdmraid-events-isw libfontenc libfreetype libgcc_s libnsl libnss_compat libnss_dns libnss_files libpng libresolv librt libsysfs libutempter libutil libkmod libselinux libsepol libdevmapper libply-boot-client libply-splash-graphics libsplashy libsplashycnf libjpeg libkms' kiwi_oemswapMB='500' kiwi_cmdline='console=ttyAMA0' kiwi_delete='audit-libs blocxx cracklib-dict-full cracklib-dict-small db expat fillup gdbm glib2 gnome-filesystem gpg info insserv iproute2 iptables limal limal-perl logrotate make mdadm mingetty openSUSE-release openslp pam pam-modules pcre perl perl-Bootloader perl-gettext permissions pm-utils suse-build-key' + probeDevices + local skipUSB= + udevPending + local timeout=30 ++ which udevadm + local udevadmExec=/sbin/udevadm + '[' -x /sbin/udevadm ']' + /sbin/udevadm settle --timeout=30 + '[' 1 = 0 ']' + '[' -z '' ']' + probeUSB + local module= + local stdevs= + local hwicmd=/usr/sbin/hwinfo + '[' 1 = 0 ']' + '[' -x /sbin/dmraid ']' + dmraid -s + '[' 1 = 0 ']' + '[' '!' -z '' ']' + for i in rd brd edd dm-mod xennet xenblk virtio_blk loop + modprobe rd + for i in rd brd edd dm-mod xennet xenblk virtio_blk loop + modprobe brd + for i in rd brd edd dm-mod xennet xenblk virtio_blk loop + modprobe edd + for i in rd brd edd dm-mod xennet xenblk virtio_blk loop + modprobe dm-mod + for i in rd brd edd dm-mod xennet xenblk virtio_blk loop + modprobe xennet + for i in rd brd edd dm-mod xennet xenblk virtio_blk loop + modprobe xenblk + for i in rd brd edd dm-mod xennet xenblk virtio_blk loop + modprobe virtio_blk + for i in rd brd edd dm-mod xennet xenblk virtio_blk loop + modprobe loop + udevPending + local timeout=30 ++ which udevadm + local udevadmExec=/sbin/udevadm + '[' -x /sbin/udevadm ']' + /sbin/udevadm settle --timeout=30 + '[' 1 = 0 ']' + selectLanguage + local 'title="Select Language"' + local 'list=en_US "[ English ]" on' + local 'list_orig=en_US "[ English ]" on' + local zh_CN=Chinese + local zh_TW=Taiwanese + local ru_RU=Russian + local de_DE=German + local ar_AR=Arabic + local cs_CZ=Czech + local el_GR=Greek + local es_ES=Spanish + local fi_FI=Finnish + local fr_FR=French + local hu_HU=Hungarian + local it_IT=Italian + local ja_JP=Japanese + local ko_KR=Korean + local nl_NL=Dutch + local pl_PL=Polish + local pt_BR=Portuguese + local sv_SE=Swedish + local tr_TR=Turkish + local nb_NO=Norwegian + local da_DK=Danish + local pt_PT=Portuguese + local en_GB=English + local code + local lang + '[' '!' -z '' ']' + '[' ask = ask ']' ++ echo en_US ++ tr , ' ' + for code in '$(echo $kiwi_language | tr "," " ")' + '[' en_US = en_US ']' + continue + '[' 'en_US "[ English ]" on' = 'en_US "[ English ]" on' ']' + DIALOG_LANG=en_US ++ getText OK ++ export LANG=en_US.utf8 ++ LANG=en_US.utf8 +++ gettext kiwi OK ++ local text=OK ++ '[' '!' -z '' ']' ++ '[' '!' -z '' ']' ++ echo OK + export TEXT_OK=OK + TEXT_OK=OK ++ getText Cancel ++ export LANG=en_US.utf8 ++ LANG=en_US.utf8 +++ gettext kiwi Cancel ++ local text=Cancel ++ '[' '!' -z '' ']' ++ '[' '!' -z '' ']' ++ echo Cancel + export TEXT_CANCEL=Cancel + TEXT_CANCEL=Cancel ++ getText Yes ++ export LANG=en_US.utf8 ++ LANG=en_US.utf8 +++ gettext kiwi Yes ++ local text=Yes ++ '[' '!' -z '' ']' ++ '[' '!' -z '' ']' ++ echo Yes + export TEXT_YES=Yes + TEXT_YES=Yes ++ getText No ++ export LANG=en_US.utf8 ++ LANG=en_US.utf8 +++ gettext kiwi No ++ local text=No ++ '[' '!' -z '' ']' ++ '[' '!' -z '' ']' ++ echo No + export TEXT_NO=No + TEXT_NO=No ++ getText Exit ++ export LANG=en_US.utf8 ++ LANG=en_US.utf8 +++ gettext kiwi Exit ++ local text=Exit ++ '[' '!' -z '' ']' ++ '[' '!' -z '' ']' ++ echo Exit + export TEXT_EXIT=Exit + TEXT_EXIT=Exit ++ getText 'Enter LUKS passphrase' ++ export LANG=en_US.utf8 ++ LANG=en_US.utf8 +++ gettext kiwi 'Enter LUKS passphrase' ++ local 'text=Enter LUKS passphrase' ++ '[' '!' -z '' ']' ++ '[' '!' -z '' ']' ++ echo 'Enter LUKS passphrase' + export 'TEXT_LUKS=Enter LUKS passphrase' + TEXT_LUKS='Enter LUKS passphrase' ++ getText 'Do you accept the license agreement ?' ++ export LANG=en_US.utf8 ++ LANG=en_US.utf8 +++ gettext kiwi 'Do you accept the license agreement ?' ++ local 'text=Do you accept the license agreement ?' ++ '[' '!' -z '' ']' ++ '[' '!' -z '' ']' ++ echo 'Do you accept the license agreement ?' + export 'TEXT_LICENSE=Do you accept the license agreement ?' + TEXT_LICENSE='Do you accept the license agreement ?' ++ getText 'Do you want to start the System-Restore ?' ++ export LANG=en_US.utf8 ++ LANG=en_US.utf8 +++ gettext kiwi 'Do you want to start the System-Restore ?' ++ local 'text=Do you want to start the System-Restore ?' ++ '[' '!' -z '' ']' ++ '[' '!' -z '' ']' ++ echo 'Do you want to start the System-Restore ?' + export 'TEXT_RESTORE=Do you want to start the System-Restore ?' + TEXT_RESTORE='Do you want to start the System-Restore ?' ++ getText 'Do you want to start the System-Recovery ?' ++ export LANG=en_US.utf8 ++ LANG=en_US.utf8 +++ gettext kiwi 'Do you want to start the System-Recovery ?' ++ local 'text=Do you want to start the System-Recovery ?' ++ '[' '!' -z '' ']' ++ '[' '!' -z '' ']' ++ echo 'Do you want to start the System-Recovery ?' + export 'TEXT_REPAIR=Do you want to start the System-Recovery ?' + TEXT_REPAIR='Do you want to start the System-Recovery ?' ++ getText 'Restoring base operating system...' ++ export LANG=en_US.utf8 ++ LANG=en_US.utf8 +++ gettext kiwi 'Restoring base operating system...' ++ local 'text=Restoring base operating system...' ++ '[' '!' -z '' ']' ++ '[' '!' -z '' ']' ++ echo 'Restoring base operating system...' + export 'TEXT_RECOVERYTITLE=Restoring base operating system...' + TEXT_RECOVERYTITLE='Restoring base operating system...' ++ getText Installation... ++ export LANG=en_US.utf8 ++ LANG=en_US.utf8 +++ gettext kiwi Installation... ++ local text=Installation... ++ '[' '!' -z '' ']' ++ '[' '!' -z '' ']' ++ echo Installation... + export TEXT_INSTALLTITLE=Installation... + TEXT_INSTALLTITLE=Installation... ++ getText 'Please remove the CD/DVD before reboot' ++ export LANG=en_US.utf8 ++ LANG=en_US.utf8 +++ gettext kiwi 'Please remove the CD/DVD before reboot' ++ local 'text=Please remove the CD/DVD before reboot' ++ '[' '!' -z '' ']' ++ '[' '!' -z '' ']' ++ echo 'Please remove the CD/DVD before reboot' + export 'TEXT_CDPULL=Please remove the CD/DVD before reboot' + TEXT_CDPULL='Please remove the CD/DVD before reboot' ++ getText 'Please unplug the USB stick before reboot' ++ export LANG=en_US.utf8 ++ LANG=en_US.utf8 +++ gettext kiwi 'Please unplug the USB stick before reboot' ++ local 'text=Please unplug the USB stick before reboot' ++ '[' '!' -z '' ']' ++ '[' '!' -z '' ']' ++ echo 'Please unplug the USB stick before reboot' + export 'TEXT_USBPULL=Please unplug the USB stick before reboot' + TEXT_USBPULL='Please unplug the USB stick before reboot' ++ getText 'Please remove the CD/DVD before shutdown' ++ export LANG=en_US.utf8 ++ LANG=en_US.utf8 +++ gettext kiwi 'Please remove the CD/DVD before shutdown' ++ local 'text=Please remove the CD/DVD before shutdown' ++ '[' '!' -z '' ']' ++ '[' '!' -z '' ']' ++ echo 'Please remove the CD/DVD before shutdown' + export 'TEXT_CDPULL_SDOWN=Please remove the CD/DVD before shutdown' + TEXT_CDPULL_SDOWN='Please remove the CD/DVD before shutdown' ++ getText 'System will be shutdown. Remove USB stick before power on' ++ export LANG=en_US.utf8 ++ LANG=en_US.utf8 +++ gettext kiwi 'System will be shutdown. Remove USB stick before power on' ++ local 'text=System will be shutdown. Remove USB stick before power on' ++ '[' '!' -z '' ']' ++ '[' '!' -z '' ']' ++ echo 'System will be shutdown. Remove USB stick before power on' + export 'TEXT_USBPULL_SDOWN=System will be shutdown. Remove USB stick before power on' + TEXT_USBPULL_SDOWN='System will be shutdown. Remove USB stick before power on' ++ getText 'Select disk for installation:' ++ export LANG=en_US.utf8 ++ LANG=en_US.utf8 +++ gettext kiwi 'Select disk for installation:' ++ local 'text=Select disk for installation:' ++ '[' '!' -z '' ']' ++ '[' '!' -z '' ']' ++ echo 'Select disk for installation:' + export 'TEXT_SELECT=Select disk for installation:' + TEXT_SELECT='Select disk for installation:' + '[' no = no ']' + '[' -f /config.oempartition ']' + Echo 'Including oem partition info file' + '[' 0 = 0 ']' + set +x + echo '[ 2.693291] Including oem partition info file' + '[' 0 = 0 ']' + set +x + importFile + local prefix= + cat - + grep -v '^$' + grep -v '^[ \t]*#' + sed -i -e 's#\(^[a-zA-Z0-9_]\+\)=["'\'']\(.*\)["'\'']#\1=\2#' /tmp/srcme + sed -i -e 's#\\\(.\)#\1#g' /tmp/srcme + sed -i -e 's#'\''#'\''\\'\'''\''#g' /tmp/srcme + sed -i -e 's#\(^[a-zA-Z0-9_]\+\)=\(.*\)#\1='\''\2'\''#' /tmp/srcme + source /tmp/srcme ++ OEM_SWAPSIZE=500 ++ OEM_BOOT_TITLE=openSUSE-12.2-ARM-JeOS-highbank + read line ++ echo 'OEM_SWAPSIZE='\''500'\''' ++ cut -d = -f1 + key=OEM_SWAPSIZE + eval 'export OEM_SWAPSIZE' ++ export OEM_SWAPSIZE + read line ++ echo 'OEM_BOOT_TITLE='\''openSUSE-12.2-ARM-JeOS-highbank'\''' ++ cut -d = -f1 + key=OEM_BOOT_TITLE + eval 'export OEM_BOOT_TITLE' ++ export OEM_BOOT_TITLE + read line + '[' '!' -z '' ']' + '[' -z '' ']' + '[' '!' -z '' ']' + Echo 'Searching for boot device...' + '[' 0 = 0 ']' + set +x + echo '[ 2.737108] Searching for boot device...' + '[' 0 = 0 ']' + set +x + '[' no = no ']' + searchBIOSBootDevice + IFS=' ' + local file=/boot/mbrid + local ifix + local match_count + local matched + local curd + local mbrML + local mbrMB + local mbrI + local try_count=0 + '[' '!' -e /boot/mbrid ']' + read mbrI + true + ifix=0 + match_count=0 + try_count=1 + '[' 1 -eq 15 ']' + lookupDiskDevices + local h=/usr/sbin/hwinfo + local 'c=Device File:|BIOS id' + udevPending + local timeout=30 ++ which udevadm + local udevadmExec=/sbin/udevadm + '[' -x /sbin/udevadm ']' + /sbin/udevadm settle --timeout=30 ++ /usr/sbin/hwinfo --disk ++ grep -E 'Device File:|BIOS id' ++ sed '-es@(.*)@@' ++ tr -d ' ' ++ cut -f2 -d: + diskDevices='/dev/sda /dev/sdb' + lookupBiosBootDevice + local curd + local pred + for curd in '$diskDevices' + '[' /dev/sda = 0x80 ']' + pred=/dev/sda + for curd in '$diskDevices' + '[' /dev/sdb = 0x80 ']' + pred=/dev/sdb + for curd in '$diskDevices' + '[' '!' -b /dev/sda ']' ++ dd if=/dev/sda bs=1 count=4 skip=440 ++ hexdump -n4 -e '"0x%08x"' 4+0 records in 4+0 records out 4 bytes (4 B) copied, 0.000704166 s, 5.7 kB/s + mbrML=0xc9457a53 ++ echo 0xc9457a53 ++ sed 's/^0x\(..\)\(..\)\(..\)\(..\)$/0x\4\3\2\1/' + mbrMB=0x537a45c9 + '[' 0xc9457a53 = 0xc9457a53 ']' + ifix=1 + matched=/dev/sda + match_count=1 + '[' 0xc9457a53 = 0xc9457a53 ']' + export masterBootID=0xc9457a53 + masterBootID=0xc9457a53 + '[' 0x537a45c9 = 0xc9457a53 ']' + '[' /dev/sda = '' ']' + for curd in '$diskDevices' + '[' '!' -b /dev/sdb ']' ++ dd if=/dev/sdb bs=1 count=4 skip=440 ++ hexdump -n4 -e '"0x%08x"' 4+0 records in 4+0 records out 4 bytes (4 B) copied, 0.000673793 s, 5.9 kB/s + mbrML=0x000c3ede ++ echo 0x000c3ede ++ sed 's/^0x\(..\)\(..\)\(..\)\(..\)$/0x\4\3\2\1/' + mbrMB=0xde3e0c00 + '[' 0x000c3ede = 0xc9457a53 ']' + '[' 0xde3e0c00 = 0xc9457a53 ']' + '[' 1 -gt 1 ']' + '[' 1 -eq 1 ']' + export biosBootDevice=/dev/sda + biosBootDevice=/dev/sda + return 0 + export imageDiskDevice=/dev/sda + imageDiskDevice=/dev/sda + Echo 'Found boot device: /dev/sda' + '[' 0 = 0 ']' + set +x + echo '[ 3.055981] Found boot device: /dev/sda' + '[' 0 = 0 ']' + set +x + '[' no = no ']' + OEMInstall + local count=0 + local dsize=0 + local index=0 + local message + local prefix + '[' '!' -f /config.vmxsystem ']' + return + setupInitialDeviceNames + '[' '!' -z '' ']' + '[' -z /dev/sda ']' + searchVolumeGroup + local vg_count + '[' '!' '' = true ']' + return 1 ++ ddn /dev/sda 1 ++ echo /dev/sda ++ grep -q '^\/dev\/disk\/' ++ echo /dev/sda ++ grep -q '^\/dev\/ram' +++ echo /dev/sda +++ sed -e 's@\(^.*\)\(.$\)@\2@' ++ local lastc=a ++ echo a ++ grep -qP '^\d+$' ++ echo /dev/sda1 + export imageRootDevice=/dev/sda1 + imageRootDevice=/dev/sda1 ++ ddn /dev/sda 1 ++ echo /dev/sda ++ grep -q '^\/dev\/disk\/' ++ echo /dev/sda ++ grep -q '^\/dev\/ram' +++ echo /dev/sda +++ sed -e 's@\(^.*\)\(.$\)@\2@' ++ local lastc=a ++ echo a ++ grep -qP '^\d+$' ++ echo /dev/sda1 + export imageBootDevice=/dev/sda1 + imageBootDevice=/dev/sda1 ++ ddn /dev/sda 2 ++ echo /dev/sda ++ grep -q '^\/dev\/disk\/' ++ echo /dev/sda ++ grep -q '^\/dev\/ram' +++ echo /dev/sda +++ sed -e 's@\(^.*\)\(.$\)@\2@' ++ local lastc=a ++ echo a ++ grep -qP '^\d+$' ++ echo /dev/sda2 + export imageRODevice=/dev/sda2 + imageRODevice=/dev/sda2 + '[' -e /dev/sda2 ']' ++ ddn /dev/sda 3 ++ echo /dev/sda ++ grep -q '^\/dev\/disk\/' ++ echo /dev/sda ++ grep -q '^\/dev\/ram' +++ echo /dev/sda +++ sed -e 's@\(^.*\)\(.$\)@\2@' ++ local lastc=a ++ echo a ++ grep -qP '^\d+$' ++ echo /dev/sda3 + export imageRWDevice=/dev/sda3 + imageRWDevice=/dev/sda3 ++ ddn /dev/sda 2 ++ echo /dev/sda ++ grep -q '^\/dev\/disk\/' ++ echo /dev/sda ++ grep -q '^\/dev\/ram' +++ echo /dev/sda +++ sed -e 's@\(^.*\)\(.$\)@\2@' ++ local lastc=a ++ echo a ++ grep -qP '^\d+$' ++ echo /dev/sda2 + export imageRootDevice=/dev/sda2 + imageRootDevice=/dev/sda2 + '[' '!' -z '' ']' + '[' '!' -z '' ']' + probeFileSystem /dev/sda2 + FSTYPE=unknown ++ blkid /dev/sda2 -s TYPE -o value + FSTYPE=ext3 + case $FSTYPE in + FSTYPE=ext3 + '[' ext3 = unknown ']' + '[' ext3 = unknown ']' + export FSTYPE + '[' ext3 = luks ']' + isFSTypeReadOnly + '[' ext3 = squashfs ']' + '[' ext3 = clicfs ']' + return 1 + isFSTypeReadOnly + '[' ext3 = squashfs ']' + '[' ext3 = clicfs ']' + return 1 + '[' no = no ']' + OEMRepart + '[' '!' no = no ']' + '[' '' = yes ']' + OEMRepartInit ++ grep MemTotal: /proc/meminfo ++ tr -dc '[0-9]' + mem_size=4137764 + swapsize=8081 + recoMByte=0 + '[' '!' -z 500 ']' + swapsize=500 + '[' '!' -z '' ']' + '[' '!' -z '' ']' + export input=/part.input + input=/part.input + export bootid=1 + bootid=1 + rm -f /part.input + '[' '!' -z '' ']' + '[' '!' -z '' ']' + isFSTypeReadOnly + '[' ext3 = squashfs ']' + '[' ext3 = clicfs ']' + return 1 + OEMRepartStandard + local newparts=0 + local partsize=0 + createBootDeviceData ++ ddn /dev/sda 2 ++ echo /dev/sda ++ grep -q '^\/dev\/disk\/' ++ echo /dev/sda ++ grep -q '^\/dev\/ram' +++ echo /dev/sda +++ sed -e 's@\(^.*\)\(.$\)@\2@' ++ local lastc=a ++ echo a ++ grep -qP '^\d+$' ++ echo /dev/sda2 + local checkDevice=/dev/sda2 + '[' -e /dev/sda2 ']' + export haveBootPartition=yes + haveBootPartition=yes ++ echo ++ cut -d , -f 3 + local unionFST= + '[' '' = clicfs ']' + sleep 1 ++ partitionSize /dev/sda ++ local diskDevice=/dev/sda ++ local psizeBytes ++ local psizeKBytes ++ '[' -z /dev/sda ']' ++ '[' '!' -e /dev/sda ']' +++ blockdev --getsize64 /dev/sda ++ psizeBytes=500107862016 ++ psizeKBytes=488386584 ++ echo 488386584 + diskXMBytes=476940 +++ ddn /dev/sda 1 +++ echo /dev/sda +++ grep -q '^\/dev\/disk\/' +++ echo /dev/sda +++ grep -q '^\/dev\/ram' ++++ echo /dev/sda ++++ sed -e 's@\(^.*\)\(.$\)@\2@' +++ local lastc=a +++ echo a +++ grep -qP '^\d+$' +++ echo /dev/sda1 ++ partitionSize /dev/sda1 ++ local diskDevice=/dev/sda1 ++ local psizeBytes ++ local psizeKBytes ++ '[' -z /dev/sda1 ']' ++ '[' '!' -e /dev/sda1 ']' +++ blockdev --getsize64 /dev/sda1 ++ psizeBytes=157290496 ++ psizeKBytes=153604 ++ echo 153604 + diskP1MByte=150 + diskP2MByte=0 + '[' yes = yes ']' +++ ddn /dev/sda 2 +++ echo /dev/sda +++ grep -q '^\/dev\/disk\/' +++ echo /dev/sda +++ grep -q '^\/dev\/ram' ++++ echo /dev/sda ++++ sed -e 's@\(^.*\)\(.$\)@\2@' +++ local lastc=a +++ echo a +++ grep -qP '^\d+$' +++ echo /dev/sda2 ++ partitionSize /dev/sda2 ++ local diskDevice=/dev/sda2 ++ local psizeBytes ++ local psizeKBytes ++ '[' -z /dev/sda2 ']' ++ '[' '!' -e /dev/sda2 ']' +++ blockdev --getsize64 /dev/sda2 ++ psizeBytes=644870144 ++ psizeKBytes=629756 ++ echo 629756 + diskP2MByte=614 + diskRMBytes=475676 + '[' yes = yes ']' + diskRootMBytes=614 + diskSysMBytes=476290 + '[' '!' -z '' ']' + '[' 476290 -lt 614 ']' + '[' -z '' ']' + pID=1 + bootParam=1 + rootParam=1 + recoParam=no + swapParam=no + cowpParam=no + '[' '' = yes ']' + '[' yes = yes ']' + pID=2 + rootParam=2 + '[' -z '' ']' + newparts=1 + '[' '!' -z '' ']' + partsize=+476290M + '[' -z '' ']' + '[' 1 -eq 0 ']' + createPartitionerInput d 2 n p 2 . +476290M + echo /dev/sda + grep -q 'dev\/dasd' + '[' parted = fdasd ']' + Echo 'Repartition the disk according to real geometry [ parted ]' + '[' 0 = 0 ']' + set +x + echo '[ 4.350191] Repartition the disk according to real geometry [ parted ]' + '[' 0 = 0 ']' + set +x + partedInit /dev/sda + local device=/dev/sda + local IFS= ++ parted -m /dev/sda unit cyl print + local 'parted=CYL; /dev/sda:60801cyl:scsi:512:512:msdos:ATA VM0500EBQHB; 60801:255:63:8225kB; 1:0cyl:19cyl:19cyl:ext3::boot, type=83; 2:19cyl:97cyl:78cyl:ext3::type=83;' ++ echo 'CYL; /dev/sda:60801cyl:scsi:512:512:msdos:ATA VM0500EBQHB; 60801:255:63:8225kB; 1:0cyl:19cyl:19cyl:ext3::boot, type=83; 2:19cyl:97cyl:78cyl:ext3::type=83;' ++ head -n 3 ++ tail -n 1 + local 'header=60801:255:63:8225kB;' ++ echo '60801:255:63:8225kB;' ++ cut -f1 -d: + local ccount=60801 ++ echo '60801:255:63:8225kB;' ++ cut -f4 -d: ++ cut -f1 -dk + local cksize=8225 + export 'partedOutput=CYL; /dev/sda:60801cyl:scsi:512:512:msdos:ATA VM0500EBQHB; 60801:255:63:8225kB; 1:0cyl:19cyl:19cyl:ext3::boot, type=83; 2:19cyl:97cyl:78cyl:ext3::type=83;' + partedOutput='CYL; /dev/sda:60801cyl:scsi:512:512:msdos:ATA VM0500EBQHB; 60801:255:63:8225kB; 1:0cyl:19cyl:19cyl:ext3::boot, type=83; 2:19cyl:97cyl:78cyl:ext3::type=83;' + export partedCylCount=60801 + partedCylCount=60801 + export partedCylKSize=8225 + partedCylKSize=8225 + partedSectorInit /dev/sda + IFS=' ' + local disk=/dev/sda + local s_start + local s_stopp + unset startSectors + unset endSectors ++ parted -m /dev/sda unit s print ++ grep '^[1-4]:' ++ cut -f2-3 -d: ++ tr -d s + for i in '$( parted -m $disk unit s print | grep ^[1-4]: | cut -f2-3 -d: | tr -d s )' ++ echo 2048:309255 ++ cut -f1 -d: + s_start=2048 ++ echo 2048:309255 ++ cut -f2 -d: + s_stopp=309255 + '[' -z '' ']' + startSectors=2048s + '[' -z '' ']' + endSectors=309256s + for i in '$( parted -m $disk unit s print | grep ^[1-4]: | cut -f2-3 -d: | tr -d s )' ++ echo 309256:1568767 ++ cut -f1 -d: + s_start=309256 ++ echo 309256:1568767 ++ cut -f2 -d: + s_stopp=1568767 + '[' -z 2048s ']' + startSectors=2048s:309256s + '[' -z 309256s ']' + endSectors=309256s:1568768s + '[' -z 2048s:309256s ']' + createPartedInput /dev/sda d 2 n p 2 . +476290M + local disk=/dev/sda + shift + local index=0 + local partid + local pstart + local pstopp + local value + local cmdq + normalizeRepartInput d 2 n p 2 . +476290M + local pcmds_fix + local index=0 + local index_fix=0 + local partid + local cmd + unset pcmds + for cmd in '$*' + pcmds[$index]=d + index=1 + for cmd in '$*' + pcmds[$index]=2 + index=2 + for cmd in '$*' + pcmds[$index]=n + index=3 + for cmd in '$*' + pcmds[$index]=p + index=4 + for cmd in '$*' + pcmds[$index]=2 + index=5 + for cmd in '$*' + pcmds[$index]=. + index=6 + for cmd in '$*' + pcmds[$index]=+476290M + index=7 + index=0 + '[' '!' -z d ']' + cmd=d + pcmds_fix[$index_fix]=d + case $cmd in + partid=2 + echo 2 + grep -q '^[0-4]$' + index=1 + index_fix=1 + '[' '!' -z 2 ']' + cmd=2 + pcmds_fix[$index_fix]=2 + case $cmd in + index=2 + index_fix=2 + '[' '!' -z n ']' + cmd=n + pcmds_fix[$index_fix]=n + case $cmd in + partid=2 + '[' '!' parted = fdasd ']' + echo 2 + grep -q '^[0-4]$' + index=3 + index_fix=3 + '[' '!' -z p ']' + cmd=p + pcmds_fix[$index_fix]=p + case $cmd in + index=4 + index_fix=4 + '[' '!' -z 2 ']' + cmd=2 + pcmds_fix[$index_fix]=2 + case $cmd in + index=5 + index_fix=5 + '[' '!' -z . ']' + cmd=. + pcmds_fix[$index_fix]=. + case $cmd in + index=6 + index_fix=6 + '[' '!' -z +476290M ']' + cmd=+476290M + pcmds_fix[$index_fix]=+476290M + case $cmd in + index=7 + index_fix=7 + '[' '!' -z '' ']' + unset pcmds + pcmds=(${pcmds_fix[*]}) + unset pcmds_fix + echo 'Normalized Repartition input: d 2 n p 2 . +476290M' Normalized Repartition input: d 2 n p 2 . +476290M + for cmd in '${pcmds[*]}' + case $cmd in + partid=2 + partid=2 + cmdq=' rm 2' + partedWrite /dev/sda ' rm 2' + local device=/dev/sda + local 'cmds= rm 2' + local opts + '[' 1 -eq 1 ']' + opts='-a cyl' + parted -a cyl -m /dev/sda unit cyl rm 2 + partedInit /dev/sda + local device=/dev/sda + local IFS= ++ parted -m /dev/sda unit cyl print + local 'parted=CYL; /dev/sda:60801cyl:scsi:512:512:msdos:ATA VM0500EBQHB; 60801:255:63:8225kB; 1:0cyl:19cyl:19cyl:ext3::boot, type=83;' ++ echo 'CYL; /dev/sda:60801cyl:scsi:512:512:msdos:ATA VM0500EBQHB; 60801:255:63:8225kB; 1:0cyl:19cyl:19cyl:ext3::boot, type=83;' ++ head -n 3 ++ tail -n 1 + local 'header=60801:255:63:8225kB;' ++ echo '60801:255:63:8225kB;' ++ cut -f1 -d: + local ccount=60801 ++ echo '60801:255:63:8225kB;' ++ cut -f4 -d: ++ cut -f1 -dk + local cksize=8225 + export 'partedOutput=CYL; /dev/sda:60801cyl:scsi:512:512:msdos:ATA VM0500EBQHB; 60801:255:63:8225kB; 1:0cyl:19cyl:19cyl:ext3::boot, type=83;' + partedOutput='CYL; /dev/sda:60801cyl:scsi:512:512:msdos:ATA VM0500EBQHB; 60801:255:63:8225kB; 1:0cyl:19cyl:19cyl:ext3::boot, type=83;' + export partedCylCount=60801 + partedCylCount=60801 + export partedCylKSize=8225 + partedCylKSize=8225 + cmdq= + index=1 + for cmd in '${pcmds[*]}' + case $cmd in + index=2 + for cmd in '${pcmds[*]}' + case $cmd in + partid=2 + partid=2 + pstart=. + '[' . = 1 ']' + '[' . = . ']' + pstart=1 + '[' 1 -gt 0 ']' ++ echo 309256s:1568768s ++ cut -f 1 -d: + pstart=309256s + pstopp=+476290M + '[' +476290M = . ']' + echo +476290M + grep -qi M + pstopp=1 + '[' 1 -gt 0 ']' ++ partedEndCylinder 1 ++ local part=4 ++ local IFS= +++ echo 'CYL; /dev/sda:60801cyl:scsi:512:512:msdos:ATA VM0500EBQHB; 60801:255:63:8225kB; 1:0cyl:19cyl:19cyl:ext3::boot, type=83;' +++ head -n 4 +++ tail -n 1 ++ local 'header=1:0cyl:19cyl:19cyl:ext3::boot, type=83;' +++ echo '1:0cyl:19cyl:19cyl:ext3::boot, type=83;' +++ cut -f3 -d: +++ tr -d cyl ++ local ccount=19 ++ echo 19 + pstopp=19 ++ echo +476290M ++ cut -f1 -dM ++ tr -d + + value=476290 ++ partedMBToCylinder 476290 ++ local sizeBytes=499426263040 +++ echo 'scale=0; 499426263040 / (8225 * 1000)' +++ bc ++ local cylreq=60720 ++ echo 60720 + value=60720 + pstopp=60740 + '[' 60740 -gt 60801 ']' + cmdq=' mkpart primary 309256s 60740' + partedWrite /dev/sda ' mkpart primary 309256s 60740' + local device=/dev/sda + local 'cmds= mkpart primary 309256s 60740' + local opts + '[' 1 -eq 1 ']' + opts='-a cyl' + parted -a cyl -m /dev/sda unit cyl mkpart primary 309256s 60740 + partedInit /dev/sda + local device=/dev/sda + local IFS= ++ parted -m /dev/sda unit cyl print + local 'parted=CYL; /dev/sda:60801cyl:scsi:512:512:msdos:ATA VM0500EBQHB; 60801:255:63:8225kB; 1:0cyl:19cyl:19cyl:ext3::boot, type=83; 2:19cyl:60740cyl:60720cyl:ext3::type=83;' ++ echo 'CYL; /dev/sda:60801cyl:scsi:512:512:msdos:ATA VM0500EBQHB; 60801:255:63:8225kB; 1:0cyl:19cyl:19cyl:ext3::boot, type=83; 2:19cyl:60740cyl:60720cyl:ext3::type=83;' ++ head -n 3 ++ tail -n 1 + local 'header=60801:255:63:8225kB;' ++ echo '60801:255:63:8225kB;' ++ cut -f1 -d: + local ccount=60801 ++ echo '60801:255:63:8225kB;' ++ cut -f4 -d: ++ cut -f1 -dk + local cksize=8225 + export 'partedOutput=CYL; /dev/sda:60801cyl:scsi:512:512:msdos:ATA VM0500EBQHB; 60801:255:63:8225kB; 1:0cyl:19cyl:19cyl:ext3::boot, type=83; 2:19cyl:60740cyl:60720cyl:ext3::type=83;' + partedOutput='CYL; /dev/sda:60801cyl:scsi:512:512:msdos:ATA VM0500EBQHB; 60801:255:63:8225kB; 1:0cyl:19cyl:19cyl:ext3::boot, type=83; 2:19cyl:60740cyl:60720cyl:ext3::type=83;' + export partedCylCount=60801 + partedCylCount=60801 + export partedCylKSize=8225 + partedCylKSize=8225 + partedSectorInit /dev/sda + IFS=' ' + local disk=/dev/sda + local s_start + local s_stopp + unset startSectors + unset endSectors ++ parted -m /dev/sda unit s print ++ grep '^[1-4]:' ++ cut -f2-3 -d: ++ tr -d s + for i in '$( parted -m $disk unit s print | grep ^[1-4]: | cut -f2-3 -d: | tr -d s )' ++ echo 2048:309255 ++ cut -f1 -d: + s_start=2048 ++ echo 2048:309255 ++ cut -f2 -d: + s_stopp=309255 + '[' -z '' ']' + startSectors=2048s + '[' -z '' ']' + endSectors=309256s + for i in '$( parted -m $disk unit s print | grep ^[1-4]: | cut -f2-3 -d: | tr -d s )' ++ echo 309256:975788100 ++ cut -f1 -d: + s_start=309256 ++ echo 309256:975788100 ++ cut -f2 -d: + s_stopp=975788100 + '[' -z 2048s ']' + startSectors=2048s:309256s + '[' -z 309256s ']' + endSectors=309256s:975788104s + '[' -z 2048s:309256s ']' + cmdq= + index=3 + for cmd in '${pcmds[*]}' + case $cmd in + index=4 + for cmd in '${pcmds[*]}' + case $cmd in + index=5 + for cmd in '${pcmds[*]}' + case $cmd in + index=6 + for cmd in '${pcmds[*]}' + case $cmd in + index=7 + '[' -z '' ']' + pID=3 + partsize=+500M + '[' -z '' ']' + '[' 1 -eq 1 ']' + partsize=. + createPartitionerInput n p 3 . . t 3 82 + echo /dev/sda + grep -q 'dev\/dasd' + '[' parted = fdasd ']' + Echo 'Repartition the disk according to real geometry [ parted ]' + '[' 0 = 0 ']' + set +x + echo '[ 5.561505] Repartition the disk according to real geometry [ parted ]' + '[' 0 = 0 ']' + set +x + partedInit /dev/sda + local device=/dev/sda + local IFS= ++ parted -m /dev/sda unit cyl print + local 'parted=CYL; /dev/sda:60801cyl:scsi:512:512:msdos:ATA VM0500EBQHB; 60801:255:63:8225kB; 1:0cyl:19cyl:19cyl:ext3::boot, type=83; 2:19cyl:60740cyl:60720cyl:ext3::type=83;' ++ echo 'CYL; /dev/sda:60801cyl:scsi:512:512:msdos:ATA VM0500EBQHB; 60801:255:63:8225kB; 1:0cyl:19cyl:19cyl:ext3::boot, type=83; 2:19cyl:60740cyl:60720cyl:ext3::type=83;' ++ head -n 3 ++ tail -n 1 + local 'header=60801:255:63:8225kB;' ++ echo '60801:255:63:8225kB;' ++ cut -f1 -d: + local ccount=60801 ++ echo '60801:255:63:8225kB;' ++ cut -f4 -d: ++ cut -f1 -dk + local cksize=8225 + export 'partedOutput=CYL; /dev/sda:60801cyl:scsi:512:512:msdos:ATA VM0500EBQHB; 60801:255:63:8225kB; 1:0cyl:19cyl:19cyl:ext3::boot, type=83; 2:19cyl:60740cyl:60720cyl:ext3::type=83;' + partedOutput='CYL; /dev/sda:60801cyl:scsi:512:512:msdos:ATA VM0500EBQHB; 60801:255:63:8225kB; 1:0cyl:19cyl:19cyl:ext3::boot, type=83; 2:19cyl:60740cyl:60720cyl:ext3::type=83;' + export partedCylCount=60801 + partedCylCount=60801 + export partedCylKSize=8225 + partedCylKSize=8225 + partedSectorInit /dev/sda + IFS=' ' + local disk=/dev/sda + local s_start + local s_stopp + unset startSectors + unset endSectors ++ parted -m /dev/sda unit s print ++ grep '^[1-4]:' ++ cut -f2-3 -d: ++ tr -d s + for i in '$( parted -m $disk unit s print | grep ^[1-4]: | cut -f2-3 -d: | tr -d s )' ++ echo 2048:309255 ++ cut -f1 -d: + s_start=2048 ++ echo 2048:309255 ++ cut -f2 -d: + s_stopp=309255 + '[' -z '' ']' + startSectors=2048s + '[' -z '' ']' + endSectors=309256s + for i in '$( parted -m $disk unit s print | grep ^[1-4]: | cut -f2-3 -d: | tr -d s )' ++ echo 309256:975788100 ++ cut -f1 -d: + s_start=309256 ++ echo 309256:975788100 ++ cut -f2 -d: + s_stopp=975788100 + '[' -z 2048s ']' + startSectors=2048s:309256s + '[' -z 309256s ']' + endSectors=309256s:975788104s + '[' -z 2048s:309256s ']' + createPartedInput /dev/sda n p 3 . . t 3 82 + local disk=/dev/sda + shift + local index=0 + local partid + local pstart + local pstopp + local value + local cmdq + normalizeRepartInput n p 3 . . t 3 82 + local pcmds_fix + local index=0 + local index_fix=0 + local partid + local cmd + unset pcmds + for cmd in '$*' + pcmds[$index]=n + index=1 + for cmd in '$*' + pcmds[$index]=p + index=2 + for cmd in '$*' + pcmds[$index]=3 + index=3 + for cmd in '$*' + pcmds[$index]=. + index=4 + for cmd in '$*' + pcmds[$index]=. + index=5 + for cmd in '$*' + pcmds[$index]=t + index=6 + for cmd in '$*' + pcmds[$index]=3 + index=7 + for cmd in '$*' + pcmds[$index]=82 + index=8 + index=0 + '[' '!' -z n ']' + cmd=n + pcmds_fix[$index_fix]=n + case $cmd in + partid=3 + '[' '!' parted = fdasd ']' + echo 3 + grep -q '^[0-4]$' + index=1 + index_fix=1 + '[' '!' -z p ']' + cmd=p + pcmds_fix[$index_fix]=p + case $cmd in + index=2 + index_fix=2 + '[' '!' -z 3 ']' + cmd=3 + pcmds_fix[$index_fix]=3 + case $cmd in + index=3 + index_fix=3 + '[' '!' -z . ']' + cmd=. + pcmds_fix[$index_fix]=. + case $cmd in + index=4 + index_fix=4 + '[' '!' -z . ']' + cmd=. + pcmds_fix[$index_fix]=. + case $cmd in + index=5 + index_fix=5 + '[' '!' -z t ']' + cmd=t + pcmds_fix[$index_fix]=t + case $cmd in + partid=3 + echo 3 + grep -q '^[0-4]$' + index=6 + index_fix=6 + '[' '!' -z 3 ']' + cmd=3 + pcmds_fix[$index_fix]=3 + case $cmd in + index=7 + index_fix=7 + '[' '!' -z 82 ']' + cmd=82 + pcmds_fix[$index_fix]=82 + case $cmd in + index=8 + index_fix=8 + '[' '!' -z '' ']' + unset pcmds + pcmds=(${pcmds_fix[*]}) + unset pcmds_fix + echo 'Normalized Repartition input: n p 3 . . t 3 82' Normalized Repartition input: n p 3 . . t 3 82 + for cmd in '${pcmds[*]}' + case $cmd in + partid=3 + partid=3 + pstart=. + '[' . = 1 ']' + '[' . = . ']' + pstart=2 + '[' 2 -gt 0 ']' ++ echo 309256s:975788104s ++ cut -f 2 -d: + pstart=975788104s + pstopp=. + '[' . = . ']' + pstopp=60801 + cmdq=' mkpart primary 975788104s 60801' + partedWrite /dev/sda ' mkpart primary 975788104s 60801' + local device=/dev/sda + local 'cmds= mkpart primary 975788104s 60801' + local opts + '[' 1 -eq 1 ']' + opts='-a cyl' + parted -a cyl -m /dev/sda unit cyl mkpart primary 975788104s 60801 + partedInit /dev/sda + local device=/dev/sda + local IFS= ++ parted -m /dev/sda unit cyl print + local 'parted=CYL; /dev/sda:60801cyl:scsi:512:512:msdos:ATA VM0500EBQHB; 60801:255:63:8225kB; 1:0cyl:19cyl:19cyl:ext3::boot, type=83; 2:19cyl:60740cyl:60720cyl:ext3::type=83; 3:60740cyl:60800cyl:60cyl:::type=83;' ++ echo 'CYL; /dev/sda:60801cyl:scsi:512:512:msdos:ATA VM0500EBQHB; 60801:255:63:8225kB; 1:0cyl:19cyl:19cyl:ext3::boot, type=83; 2:19cyl:60740cyl:60720cyl:ext3::type=83; 3:60740cyl:60800cyl:60cyl:::type=83;' ++ head -n 3 ++ tail -n 1 + local 'header=60801:255:63:8225kB;' ++ echo '60801:255:63:8225kB;' ++ cut -f1 -d: + local ccount=60801 ++ echo '60801:255:63:8225kB;' ++ cut -f4 -d: ++ cut -f1 -dk + local cksize=8225 + export 'partedOutput=CYL; /dev/sda:60801cyl:scsi:512:512:msdos:ATA VM0500EBQHB; 60801:255:63:8225kB; 1:0cyl:19cyl:19cyl:ext3::boot, type=83; 2:19cyl:60740cyl:60720cyl:ext3::type=83; 3:60740cyl:60800cyl:60cyl:::type=83;' + partedOutput='CYL; /dev/sda:60801cyl:scsi:512:512:msdos:ATA VM0500EBQHB; 60801:255:63:8225kB; 1:0cyl:19cyl:19cyl:ext3::boot, type=83; 2:19cyl:60740cyl:60720cyl:ext3::type=83; 3:60740cyl:60800cyl:60cyl:::type=83;' + export partedCylCount=60801 + partedCylCount=60801 + export partedCylKSize=8225 + partedCylKSize=8225 + partedSectorInit /dev/sda + IFS=' ' + local disk=/dev/sda + local s_start + local s_stopp + unset startSectors + unset endSectors ++ parted -m /dev/sda unit s print ++ grep '^[1-4]:' ++ cut -f2-3 -d: ++ tr -d s + for i in '$( parted -m $disk unit s print | grep ^[1-4]: | cut -f2-3 -d: | tr -d s )' ++ echo 2048:309255 ++ cut -f1 -d: + s_start=2048 ++ echo 2048:309255 ++ cut -f2 -d: + s_stopp=309255 + '[' -z '' ']' + startSectors=2048s + '[' -z '' ']' + endSectors=309256s + for i in '$( parted -m $disk unit s print | grep ^[1-4]: | cut -f2-3 -d: | tr -d s )' ++ echo 309256:975788100 ++ cut -f1 -d: + s_start=309256 ++ echo 309256:975788100 ++ cut -f2 -d: + s_stopp=975788100 + '[' -z 2048s ']' + startSectors=2048s:309256s + '[' -z 309256s ']' + endSectors=309256s:975788104s + for i in '$( parted -m $disk unit s print | grep ^[1-4]: | cut -f2-3 -d: | tr -d s )' ++ echo 975788104:976768064 ++ cut -f1 -d: + s_start=975788104 ++ echo 975788104:976768064 ++ cut -f2 -d: + s_stopp=976768064 + '[' -z 2048s:309256s ']' + startSectors=2048s:309256s:975788104s + '[' -z 309256s:975788104s ']' + endSectors=309256s:975788104s:976768072s + '[' -z 2048s:309256s:975788104s ']' + cmdq= + index=1 + for cmd in '${pcmds[*]}' + case $cmd in + index=2 + for cmd in '${pcmds[*]}' + case $cmd in + index=3 + for cmd in '${pcmds[*]}' + case $cmd in + index=4 + for cmd in '${pcmds[*]}' + case $cmd in + index=5 + for cmd in '${pcmds[*]}' + case $cmd in + ptypex=82 + partid=3 + cmdq=' set 3 type 0x82' + partedWrite /dev/sda ' set 3 type 0x82' + local device=/dev/sda + local 'cmds= set 3 type 0x82' + local opts + '[' 1 -eq 1 ']' + opts='-a cyl' + parted -a cyl -m /dev/sda unit cyl set 3 type 0x82 + partedInit /dev/sda + local device=/dev/sda + local IFS= ++ parted -m /dev/sda unit cyl print + local 'parted=CYL; /dev/sda:60801cyl:scsi:512:512:msdos:ATA VM0500EBQHB; 60801:255:63:8225kB; 1:0cyl:19cyl:19cyl:ext3::boot, type=83; 2:19cyl:60740cyl:60720cyl:ext3::type=83; 3:60740cyl:60800cyl:60cyl:::type=82;' ++ echo 'CYL; /dev/sda:60801cyl:scsi:512:512:msdos:ATA VM0500EBQHB; 60801:255:63:8225kB; 1:0cyl:19cyl:19cyl:ext3::boot, type=83; 2:19cyl:60740cyl:60720cyl:ext3::type=83; 3:60740cyl:60800cyl:60cyl:::type=82;' ++ head -n 3 ++ tail -n 1 + local 'header=60801:255:63:8225kB;' ++ echo '60801:255:63:8225kB;' ++ cut -f1 -d: + local ccount=60801 ++ echo '60801:255:63:8225kB;' ++ cut -f4 -d: ++ cut -f1 -dk + local cksize=8225 + export 'partedOutput=CYL; /dev/sda:60801cyl:scsi:512:512:msdos:ATA VM0500EBQHB; 60801:255:63:8225kB; 1:0cyl:19cyl:19cyl:ext3::boot, type=83; 2:19cyl:60740cyl:60720cyl:ext3::type=83; 3:60740cyl:60800cyl:60cyl:::type=82;' + partedOutput='CYL; /dev/sda:60801cyl:scsi:512:512:msdos:ATA VM0500EBQHB; 60801:255:63:8225kB; 1:0cyl:19cyl:19cyl:ext3::boot, type=83; 2:19cyl:60740cyl:60720cyl:ext3::type=83; 3:60740cyl:60800cyl:60cyl:::type=82;' + export partedCylCount=60801 + partedCylCount=60801 + export partedCylKSize=8225 + partedCylKSize=8225 + cmdq= + index=6 + for cmd in '${pcmds[*]}' + case $cmd in + index=7 + for cmd in '${pcmds[*]}' + case $cmd in + index=8 + newparts=0 + swapParam=3 + '[' '!' -z '' ']' + setupDeviceNames 2 3 no 1 no + local rootID=2 + local swapID=3 + local recoID=no + local bootID=1 + local iorwID=no + local vgroup= + '[' -z '' ']' ++ ddn /dev/sda 2 ++ echo /dev/sda ++ grep -q '^\/dev\/disk\/' ++ echo /dev/sda ++ grep -q '^\/dev\/ram' +++ echo /dev/sda +++ sed -e 's@\(^.*\)\(.$\)@\2@' ++ local lastc=a ++ echo a ++ grep -qP '^\d+$' ++ echo /dev/sda2 + export imageRootDevice=/dev/sda2 + imageRootDevice=/dev/sda2 + '[' '!' 3 = no ']' ++ ddn /dev/sda 3 ++ echo /dev/sda ++ grep -q '^\/dev\/disk\/' ++ echo /dev/sda ++ grep -q '^\/dev\/ram' +++ echo /dev/sda +++ sed -e 's@\(^.*\)\(.$\)@\2@' ++ local lastc=a ++ echo a ++ grep -qP '^\d+$' ++ echo /dev/sda3 + export imageSwapDevice=/dev/sda3 + imageSwapDevice=/dev/sda3 + '[' '!' no = no ']' + '[' '!' no = no ']' ++ ddn /dev/sda 1 ++ echo /dev/sda ++ grep -q '^\/dev\/disk\/' ++ echo /dev/sda ++ grep -q '^\/dev\/ram' +++ echo /dev/sda +++ sed -e 's@\(^.*\)\(.$\)@\2@' ++ local lastc=a ++ echo a ++ grep -qP '^\d+$' ++ echo /dev/sda1 + export imageBootDevice=/dev/sda1 + imageBootDevice=/dev/sda1 + export bootid=1 + bootid=1 + callPartitioner /part.input + local input=/part.input + '[' parted = fdasd ']' + udevPending + local timeout=30 ++ which udevadm + local udevadmExec=/sbin/udevadm + '[' -x /sbin/udevadm ']' + /sbin/udevadm settle --timeout=30 + blockdev --rereadpt /dev/sda + sleep 1 + '[' '' = yes ']' + probeFileSystem /dev/sda2 + FSTYPE=unknown ++ blkid /dev/sda2 -s TYPE -o value + FSTYPE=ext3 + case $FSTYPE in + FSTYPE=ext3 + '[' ext3 = unknown ']' + '[' ext3 = unknown ']' + export FSTYPE + '[' -z '' ']' + '[' 500 -gt 0 ']' + partitionSize /dev/sda3 + Echo 'Activating swap space on /dev/sda3' + '[' 0 = 0 ']' + set +x + echo '[ 8.933751] Activating swap space on /dev/sda3' + '[' 0 = 0 ']' + set +x + mkswap /dev/sda3 Setting up swapspace version 1, size = 489976 KiB no label, UUID=a56c0849-32b3-4b36-b69f-30a62b145883 + '[' -z '' ']' + '[' '!' -z '' ']' + '[' -z '' ']' + '[' '!' -z '' ']' + Echo 'Filesystem of OEM system is: ext3 -> /dev/sda2' + '[' 0 = 0 ']' + set +x + echo '[ 8.993359] Filesystem of OEM system is: ext3 -> /dev/sda2' + '[' 0 = 0 ']' + set +x + '[' no = no ']' + deviceResize=/dev/sda2 + fstypeRootFS=ext3 + '[' '!' -z ']' + isFSTypeReadOnly + '[' ext3 = squashfs ']' + '[' ext3 = clicfs ']' + return 1 + '[' '' = yes ']' + '[' '!' -z /dev/sda2 ']' + partitionSize /dev/sda2 + '[' '!' -z '' ']' + '[' -z '' ']' + resizeFilesystem /dev/sda2 + local deviceResize=/dev/sda2 + local callme= + local ramdisk=0 + local resize_fs + local resize_lucks + local check + echo /dev/sda2 + grep -qi /dev/ram + '[' -z ext3 ']' + resize_lucks='luksResize /dev/sda2' + '[' ext3 = reiserfs ']' + '[' ext3 = ext2 ']' + '[' ext3 = ext3 ']' + Echo 'Resize EXT3 filesystem to full partition space...' + '[' 0 = 0 ']' + set +x + echo '[ 9.014092] Resize EXT3 filesystem to full partition space...' + '[' 0 = 0 ']' + set +x + resize_fs='resize2fs -f -F -p /dev/sda2' + check='e2fsck -p /dev/sda2' + '[' 0 -eq 1 ']' + '[' -z '' ']' + '[' 0 -eq 0 ']' + e2fsck -p /dev/sda2 + '[' 0 -eq 0 ']' + eval luksResize /dev/sda2 ++ luksResize /dev/sda2 ++ local ldev=/dev/sda2 ++ '[' '!' '' = yes ']' ++ return + eval resize2fs -f -F -p /dev/sda2 ++ resize2fs -f -F -p /dev/sda2 resize2fs 1.42.4 (12-June-2012) + '[' '!' 0 = 0 ']' + INITRD_MODULES=' ext3' + '[' '' = yes ']' + FSTYPE=ext3 + '[' -z '' ']' + mountSystem /dev/sda2 + local retval=0 + local 'OLDIFS= ' + IFS=' ' + local mountDevice=/dev/sda2 + '[' '!' -z /dev/sda2 ']' + mountDevice=/dev/sda2 + echo /dev/sda2 + grep -qE 'loop|vers=' + waitForStorageDevice /dev/sda2 + local device=/dev/sda2 + local check=0 + udevPending + local timeout=30 ++ which udevadm + local udevadmExec=/sbin/udevadm + '[' -x /sbin/udevadm ']' + /sbin/udevadm settle --timeout=30 + true + partitionSize /dev/sda2 + '[' 0 = 0 ']' + sleep 1 + return 0 + '[' '!' -z '' ']' + '[' '!' -z '' ']' + mountSystemStandard /dev/sda2 + local mountDevice=/dev/sda2 + '[' ext3 = btrfs ']' + '[' ext3 = xfs ']' + '[' '!' -z ext3 ']' + '[' '!' ext3 = unknown ']' + '[' '!' ext3 = auto ']' + kiwiMount /dev/sda2 /mnt + local src=/dev/sda2 + local dst=/mnt + local opt= + local lop= + modprobe squashfs + '[' '!' -z ext3 ']' + FSTYPE_SAVE=ext3 + '[' '!' ext3 = nfs ']' + '[' '!' -z '' ']' + probeFileSystem /dev/sda2 + FSTYPE=unknown ++ blkid /dev/sda2 -s TYPE -o value + FSTYPE=ext3 + case $FSTYPE in + FSTYPE=ext3 + '[' ext3 = unknown ']' + '[' ext3 = unknown ']' + export FSTYPE + '[' -z ext3 ']' + '[' ext3 = unknown ']' + '[' '!' -z '' ']' + mount -t ext3 /dev/sda2 /mnt + '[' '!' -z ext3 ']' + FSTYPE=ext3 + return 0 + '[' '' = yes ']' + return 0 + retval=0 + '[' no = no ']' + '[' '!' clean = fine ']' + '[' 0 = 0 ']' + '[' -z '' ']' + setupBootPartition + local label=undef + local mpoint=boot_bind + local haveBootPartition=0 + local FSTYPE_SAVE=ext3 + local fs_type=undef + unset NETBOOT_ONLY + '[' -z /dev/sda ']' +++ ddn /dev/sda 1 +++ echo /dev/sda +++ grep -q '^\/dev\/disk\/' +++ echo /dev/sda +++ grep -q '^\/dev\/ram' ++++ echo /dev/sda ++++ sed -e 's@\(^.*\)\(.$\)@\2@' +++ local lastc=a +++ echo a +++ grep -qP '^\d+$' +++ echo /dev/sda1 ++ blkid /dev/sda1 -s LABEL -o value + label=BOOT + '[' BOOT = BOOT ']' + export haveBootPartition=1 + haveBootPartition=1 ++ ddn /dev/sda 1 ++ echo /dev/sda ++ grep -q '^\/dev\/disk\/' ++ echo /dev/sda ++ grep -q '^\/dev\/ram' +++ echo /dev/sda +++ sed -e 's@\(^.*\)\(.$\)@\2@' ++ local lastc=a ++ echo a ++ grep -qP '^\d+$' ++ echo /dev/sda1 + export imageBootDevice=/dev/sda1 + imageBootDevice=/dev/sda1 + '[' -z 1 ']' ++ ddn /dev/sda 1 ++ echo /dev/sda ++ grep -q '^\/dev\/disk\/' ++ echo /dev/sda ++ grep -q '^\/dev\/ram' +++ echo /dev/sda +++ sed -e 's@\(^.*\)\(.$\)@\2@' ++ local lastc=a ++ echo a ++ grep -qP '^\d+$' ++ echo /dev/sda1 + probeFileSystem /dev/sda1 + FSTYPE=unknown ++ blkid /dev/sda1 -s TYPE -o value + FSTYPE=ext3 + case $FSTYPE in + FSTYPE=ext3 + '[' ext3 = unknown ']' + '[' ext3 = unknown ']' + export FSTYPE + fs_type=ext3 + FSTYPE=ext3 + '[' ext3 = luks ']' + '[' -z 1 ']' + '[' 1 -eq 0 ']' + '[' '!' -e /dev/sda1 ']' + mkdir -p /boot_bind + mount /dev/sda1 /boot_bind + cp -a /mnt/boot /boot_bind + '[' -e /boot.tgz ']' + umount /boot_bind + rmdir /boot_bind + isFSTypeReadOnly + '[' ext3 = squashfs ']' + '[' ext3 = clicfs ']' + return 1 + rm -rf /mnt/boot + mkdir /mnt/boot + mkdir /mnt/boot_bind + mount /dev/sda1 /mnt/boot_bind + mount --bind /mnt/boot_bind/boot /mnt/boot + resetMountCounter + local curtype=ext3 + local command + for device in '$imageRootDevice' '$imageBootDevice' '$imageRecoveryDevice' + '[' '!' -e /dev/sda2 ']' + probeFileSystem /dev/sda2 + FSTYPE=unknown ++ blkid /dev/sda2 -s TYPE -o value + FSTYPE=ext3 + case $FSTYPE in + FSTYPE=ext3 + '[' ext3 = unknown ']' + '[' ext3 = unknown ']' + export FSTYPE + '[' ext3 = ext2 ']' + '[' ext3 = ext3 ']' + command='tune2fs -c -1 -i 0' + eval tune2fs -c -1 -i 0 /dev/sda2 ++ tune2fs -c -1 -i 0 /dev/sda2 tune2fs 1.42.4 (12-June-2012) Setting maximal mount count to -1 Setting interval between checks to 0 seconds + for device in '$imageRootDevice' '$imageBootDevice' '$imageRecoveryDevice' + '[' '!' -e /dev/sda1 ']' + probeFileSystem /dev/sda1 + FSTYPE=unknown ++ blkid /dev/sda1 -s TYPE -o value + FSTYPE=ext3 + case $FSTYPE in + FSTYPE=ext3 + '[' ext3 = unknown ']' + '[' ext3 = unknown ']' + export FSTYPE + '[' ext3 = ext2 ']' + '[' ext3 = ext3 ']' + command='tune2fs -c -1 -i 0' + eval tune2fs -c -1 -i 0 /dev/sda1 ++ tune2fs -c -1 -i 0 /dev/sda1 tune2fs 1.42.4 (12-June-2012) Setting maximal mount count to -1 Setting interval between checks to 0 seconds + FSTYPE=ext3 + IFS=' ' + return 0 + validateRootTree + '[' '!' -x /mnt/sbin/init -a '!' -L /mnt/sbin/init ']' + '[' '!' -z '' ']' + '[' no = no ']' + kernelList /mnt + local prefix=/mnt + local kcount=1 + local kname= + local kernel= + local initrd= + local kpair= ++ uname -r + local krunning=3.6.0-rc7-1.1-highbank + KERNEL_LIST= + KERNEL_NAME= + KERNEL_PAIR= + '[' -d /mnt/lib/modules/3.6.0-rc7-1.1-highbank ']' + for name in vmlinux vmlinuz image uImage + '[' -f /mnt/boot/vmlinux-3.6.0-rc7-1.1-highbank ']' + for name in vmlinux vmlinuz image uImage + '[' -f /mnt/boot/vmlinuz-3.6.0-rc7-1.1-highbank ']' + for name in vmlinux vmlinuz image uImage + '[' -f /mnt/boot/image-3.6.0-rc7-1.1-highbank ']' + for name in vmlinux vmlinuz image uImage + '[' -f /mnt/boot/uImage-3.6.0-rc7-1.1-highbank ']' + kernel=uImage-3.6.0-rc7-1.1-highbank + initrd=initrd-3.6.0-rc7-1.1-highbank + break + '[' '!' -z uImage-3.6.0-rc7-1.1-highbank ']' + KERNEL_PAIR=uImage-3.6.0-rc7-1.1-highbank:initrd-3.6.0-rc7-1.1-highbank + KERNEL_NAME[$kcount]=3.6.0-rc7-1.1-highbank + KERNEL_LIST=uImage-3.6.0-rc7-1.1-highbank:initrd-3.6.0-rc7-1.1-highbank + kcount=2 + for i in '$prefix/lib/modules/*' + '[' '!' -d /mnt/lib/modules/3.6.0-rc7-1.1-highbank ']' + unset kernel + unset initrd ++ basename /mnt/lib/modules/3.6.0-rc7-1.1-highbank + kname=3.6.0-rc7-1.1-highbank + '[' 3.6.0-rc7-1.1-highbank = 3.6.0-rc7-1.1-highbank ']' + continue + '[' -z uImage-3.6.0-rc7-1.1-highbank:initrd-3.6.0-rc7-1.1-highbank ']' ++ echo uImage-3.6.0-rc7-1.1-highbank:initrd-3.6.0-rc7-1.1-highbank ++ sed -e 's@^,@@' + KERNEL_LIST=uImage-3.6.0-rc7-1.1-highbank:initrd-3.6.0-rc7-1.1-highbank + export KERNEL_LIST + export KERNEL_NAME + export KERNEL_PAIR + '[' no = no ']' + setupKernelLinks + local mountCalled=no + '[' -e /dev/sda1 ']' + blkid /dev/sda1 + kiwiMount /dev/sda1 /mnt + local src=/dev/sda1 + local dst=/mnt + local opt= + local lop= + modprobe squashfs + '[' '!' -z ext3 ']' + FSTYPE_SAVE=ext3 + '[' '!' ext3 = nfs ']' + '[' '!' -z '' ']' + probeFileSystem /dev/sda1 + FSTYPE=unknown ++ blkid /dev/sda1 -s TYPE -o value + FSTYPE=ext3 + case $FSTYPE in + FSTYPE=ext3 + '[' ext3 = unknown ']' + '[' ext3 = unknown ']' + export FSTYPE + '[' -z ext3 ']' + '[' ext3 = unknown ']' + '[' '!' -z '' ']' + mount -t ext3 /dev/sda1 /mnt + '[' '!' -z ext3 ']' + FSTYPE=ext3 + return 0 + mountCalled=yes + pushd /mnt/boot + '[' uboot = syslinux ']' + '[' uboot = extlinux ']' + '[' '' = yes ']' + '[' '' = yes ']' + isFSTypeReadOnly + '[' ext3 = squashfs ']' + '[' ext3 = clicfs ']' + return 1 + '[' '!' uboot = syslinux -a '!' uboot = uboot ']' + popd + '[' yes = yes ']' + umount /mnt + '[' no = no ']' + setupDefaultFstab /config + local prefix=/config + local nfstab=/config/etc/fstab + mkdir -p /config/etc + cat + echo 'devpts /dev/pts devpts mode=0620,gid=5 0 0' + echo 'proc /proc proc defaults 0 0' + echo 'sysfs /sys sysfs noauto 0 0' + echo 'debugfs /sys/kernel/debug debugfs noauto 0 0' + echo 'usbfs /proc/bus/usb usbfs noauto 0 0' + echo 'tmpfs /run tmpfs noauto 0 0' + updateRootDeviceFstab /config /dev/sda2 + IFS=' ' + local prefix=/config + local rdev=/dev/sda2 + local nfstab=/config/etc/fstab ++ getDiskID /dev/sda2 ++ local device=/dev/sda2 ++ local swap= ++ local prefix=by-id ++ '[' -z /dev/sda2 ']' ++ '[' '!' -z kiwiVG ']' ++ echo /dev/sda2 ++ grep -q kiwiVG ++ '[' -z '' ']' ++ echo /dev/sda2 ++ grep -q 'dev\/md' ++ '[' '!' -z '' ']' ++ '[' '!' -z '' ']' ++ for i in '/dev/disk/$prefix/*' ++ '[' -z /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT ']' ++ echo /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT ++ grep -q edd- +++ readlink /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT ++ local dev=../../sda +++ basename ../../sda ++ dev=/dev/sda ++ '[' /dev/sda = /dev/sda2 ']' ++ for i in '/dev/disk/$prefix/*' ++ '[' -z /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part1 ']' ++ echo /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part1 ++ grep -q edd- +++ readlink /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part1 ++ local dev=../../sda1 +++ basename ../../sda1 ++ dev=/dev/sda1 ++ '[' /dev/sda1 = /dev/sda2 ']' ++ for i in '/dev/disk/$prefix/*' ++ '[' -z /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part2 ']' ++ echo /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part2 ++ grep -q edd- +++ readlink /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part2 ++ local dev=../../sda2 +++ basename ../../sda2 ++ dev=/dev/sda2 ++ '[' /dev/sda2 = /dev/sda2 ']' ++ echo /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part2 ++ return + local diskByID=/dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part2 + local opts=defaults + '[' '!' -z '' ']' + '[' '!' -z '' ']' + '[' -z '' ']' + echo '/dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part2 / ext3 defaults 1 1' + '[' '' = yes ']' + updateBootDeviceFstab /config /dev/sda1 + local prefix=/config + local sdev=/dev/sda1 + local mount=boot_bind + '[' '!' -e /mnt/boot_bind ']' ++ getDiskID /dev/sda1 ++ local device=/dev/sda1 ++ local swap= ++ local prefix=by-id ++ '[' -z /dev/sda1 ']' ++ '[' '!' -z kiwiVG ']' ++ echo /dev/sda1 ++ grep -q kiwiVG ++ '[' -z '' ']' ++ echo /dev/sda1 ++ grep -q 'dev\/md' ++ '[' '!' -z '' ']' ++ '[' '!' -z '' ']' ++ for i in '/dev/disk/$prefix/*' ++ '[' -z /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT ']' ++ echo /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT ++ grep -q edd- +++ readlink /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT ++ local dev=../../sda +++ basename ../../sda ++ dev=/dev/sda ++ '[' /dev/sda = /dev/sda1 ']' ++ for i in '/dev/disk/$prefix/*' ++ '[' -z /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part1 ']' ++ echo /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part1 ++ grep -q edd- +++ readlink /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part1 ++ local dev=../../sda1 +++ basename ../../sda1 ++ dev=/dev/sda1 ++ '[' /dev/sda1 = /dev/sda1 ']' ++ echo /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part1 ++ return + local diskByID=/dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part1 + local nfstab=/config/etc/fstab + '[' '!' -z ext3 ']' + FSTYPE_SAVE=ext3 + probeFileSystem /dev/sda1 + FSTYPE=unknown ++ blkid /dev/sda1 -s TYPE -o value + FSTYPE=ext3 + case $FSTYPE in + FSTYPE=ext3 + '[' ext3 = unknown ']' + '[' ext3 = unknown ']' + export FSTYPE + '[' -z ext3 ']' + '[' ext3 = unknown ']' + echo '/dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part1 /boot_bind ext3 defaults 1 2' + echo 'boot_bind/boot /boot none bind 0 0' + '[' '!' -z ext3 ']' + FSTYPE=ext3 + partitionSize /dev/sda3 + updateSwapDeviceFstab /config /dev/sda3 + local prefix=/config + local sdev=/dev/sda3 ++ getDiskID /dev/sda3 ++ local device=/dev/sda3 ++ local swap= ++ local prefix=by-id ++ '[' -z /dev/sda3 ']' ++ '[' '!' -z kiwiVG ']' ++ echo /dev/sda3 ++ grep -q kiwiVG ++ '[' -z '' ']' ++ echo /dev/sda3 ++ grep -q 'dev\/md' ++ '[' '!' -z '' ']' ++ '[' '!' -z '' ']' ++ for i in '/dev/disk/$prefix/*' ++ '[' -z /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT ']' ++ echo /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT ++ grep -q edd- +++ readlink /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT ++ local dev=../../sda +++ basename ../../sda ++ dev=/dev/sda ++ '[' /dev/sda = /dev/sda3 ']' ++ for i in '/dev/disk/$prefix/*' ++ '[' -z /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part1 ']' ++ echo /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part1 ++ grep -q edd- +++ readlink /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part1 ++ local dev=../../sda1 +++ basename ../../sda1 ++ dev=/dev/sda1 ++ '[' /dev/sda1 = /dev/sda3 ']' ++ for i in '/dev/disk/$prefix/*' ++ '[' -z /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part2 ']' ++ echo /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part2 ++ grep -q edd- +++ readlink /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part2 ++ local dev=../../sda2 +++ basename ../../sda2 ++ dev=/dev/sda2 ++ '[' /dev/sda2 = /dev/sda3 ']' ++ for i in '/dev/disk/$prefix/*' ++ '[' -z /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part3 ']' ++ echo /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part3 ++ grep -q edd- +++ readlink /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part3 ++ local dev=../../sda3 +++ basename ../../sda3 ++ dev=/dev/sda3 ++ '[' /dev/sda3 = /dev/sda3 ']' ++ echo /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part3 ++ return + local diskByID=/dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part3 + local nfstab=/config/etc/fstab + echo '/dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part3 swap swap defaults 0 0' + Echo 'Creating boot loader configuration' + '[' 0 = 0 ']' + set +x + echo '[ 242.993953] Creating boot loader configuration' + '[' 0 = 0 ']' + set +x + '[' -z openSUSE-12.2-ARM-JeOS-highbank ']' + '[' '!' -z ']' + setupBootLoader /mnt /config 0 /dev/sda2 openSUSE-12.2-ARM-JeOS-highbank /dev/sda3 ++ uname -m + local arch=armv7l + local para= + '[' 6 -gt 0 ']' ++ echo /mnt ++ sed -e 's#'\''#'\''\\'\'''\''#g' + arg=/mnt + para=' '\''/mnt'\''' + shift + '[' 5 -gt 0 ']' ++ echo /config ++ sed -e 's#'\''#'\''\\'\'''\''#g' + arg=/config + para=' '\''/mnt'\'' '\''/config'\''' + shift + '[' 4 -gt 0 ']' ++ echo 0 ++ sed -e 's#'\''#'\''\\'\'''\''#g' + arg=0 + para=' '\''/mnt'\'' '\''/config'\'' '\''0'\''' + shift + '[' 3 -gt 0 ']' ++ echo /dev/sda2 ++ sed -e 's#'\''#'\''\\'\'''\''#g' + arg=/dev/sda2 + para=' '\''/mnt'\'' '\''/config'\'' '\''0'\'' '\''/dev/sda2'\''' + shift + '[' 2 -gt 0 ']' ++ echo openSUSE-12.2-ARM-JeOS-highbank ++ sed -e 's#'\''#'\''\\'\'''\''#g' + arg=openSUSE-12.2-ARM-JeOS-highbank + para=' '\''/mnt'\'' '\''/config'\'' '\''0'\'' '\''/dev/sda2'\'' '\''openSUSE-12.2-ARM-JeOS-highbank'\''' + shift + '[' 1 -gt 0 ']' ++ echo /dev/sda3 ++ sed -e 's#'\''#'\''\\'\'''\''#g' + arg=/dev/sda3 + para=' '\''/mnt'\'' '\''/config'\'' '\''0'\'' '\''/dev/sda2'\'' '\''openSUSE-12.2-ARM-JeOS-highbank'\'' '\''/dev/sda3'\''' + shift + '[' 0 -gt 0 ']' + case $arch-$loader in + eval setupBootLoaderUBoot ''\''/mnt'\''' ''\''/config'\''' ''\''0'\''' ''\''/dev/sda2'\''' ''\''openSUSE-12.2-ARM-JeOS-highbank'\''' ''\''/dev/sda3'\''' ++ setupBootLoaderUBoot /mnt /config 0 /dev/sda2 openSUSE-12.2-ARM-JeOS-highbank /dev/sda3 ++ runHook setupUBoot /mnt /config 0 /dev/sda2 openSUSE-12.2-ARM-JeOS-highbank /dev/sda3 ++ HOOK=/kiwi-hooks/setupUBoot.sh ++ '[' '!' -e /kiwi-hooks/setupUBoot.sh ']' ++ '[' -e /kiwi-hooks/setupUBoot.sh ']' ++ . /kiwi-hooks/setupUBoot.sh setupUBoot /mnt /config 0 /dev/sda2 openSUSE-12.2-ARM-JeOS-highbank /dev/sda3 +++ mountPrefix=setupUBoot +++ destsPrefix=/mnt +++ unum=/config +++ rdev=0 +++ ufix=/dev/sda2 +++ swap=openSUSE-12.2-ARM-JeOS-highbank +++ conf=/mnt/boot/boot.script +++ kernel= +++ initrd= +++ mkdir -p /mnt/boot ++++ getDiskID 0 ++++ local device=0 ++++ local swap= ++++ local prefix=by-id ++++ '[' -z 0 ']' ++++ '[' '!' -z kiwiVG ']' ++++ echo 0 ++++ grep -q kiwiVG ++++ '[' -z '' ']' ++++ echo 0 ++++ grep -q 'dev\/md' ++++ '[' '!' -z '' ']' ++++ '[' '!' -z '' ']' ++++ for i in '/dev/disk/$prefix/*' ++++ '[' -z /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT ']' ++++ echo /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT ++++ grep -q edd- +++++ readlink /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT ++++ local dev=../../sda +++++ basename ../../sda ++++ dev=/dev/sda ++++ '[' /dev/sda = 0 ']' ++++ for i in '/dev/disk/$prefix/*' ++++ '[' -z /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part1 ']' ++++ echo /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part1 ++++ grep -q edd- +++++ readlink /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part1 ++++ local dev=../../sda1 +++++ basename ../../sda1 ++++ dev=/dev/sda1 ++++ '[' /dev/sda1 = 0 ']' ++++ for i in '/dev/disk/$prefix/*' ++++ '[' -z /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part2 ']' ++++ echo /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part2 ++++ grep -q edd- +++++ readlink /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part2 ++++ local dev=../../sda2 +++++ basename ../../sda2 ++++ dev=/dev/sda2 ++++ '[' /dev/sda2 = 0 ']' ++++ for i in '/dev/disk/$prefix/*' ++++ '[' -z /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part3 ']' ++++ echo /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part3 ++++ grep -q edd- +++++ readlink /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part3 ++++ local dev=../../sda3 +++++ basename ../../sda3 ++++ dev=/dev/sda3 ++++ '[' /dev/sda3 = 0 ']' ++++ for i in '/dev/disk/$prefix/*' ++++ '[' -z /dev/disk/by-id/ata-VM0500EBQHB_91NST062T ']' ++++ echo /dev/disk/by-id/ata-VM0500EBQHB_91NST062T ++++ grep -q edd- +++++ readlink /dev/disk/by-id/ata-VM0500EBQHB_91NST062T ++++ local dev=../../sdb +++++ basename ../../sdb ++++ dev=/dev/sdb ++++ '[' /dev/sdb = 0 ']' ++++ for i in '/dev/disk/$prefix/*' ++++ '[' -z /dev/disk/by-id/ata-VM0500EBQHB_91NST062T-part1 ']' ++++ echo /dev/disk/by-id/ata-VM0500EBQHB_91NST062T-part1 ++++ grep -q edd- +++++ readlink /dev/disk/by-id/ata-VM0500EBQHB_91NST062T-part1 ++++ local dev=../../sdb1 +++++ basename ../../sdb1 ++++ dev=/dev/sdb1 ++++ '[' /dev/sdb1 = 0 ']' ++++ for i in '/dev/disk/$prefix/*' ++++ '[' -z /dev/disk/by-id/scsi-SATA_VM0500EBQHB_91NST05UT ']' ++++ echo /dev/disk/by-id/scsi-SATA_VM0500EBQHB_91NST05UT ++++ grep -q edd- +++++ readlink /dev/disk/by-id/scsi-SATA_VM0500EBQHB_91NST05UT ++++ local dev=../../sda +++++ basename ../../sda ++++ dev=/dev/sda ++++ '[' /dev/sda = 0 ']' ++++ for i in '/dev/disk/$prefix/*' ++++ '[' -z /dev/disk/by-id/scsi-SATA_VM0500EBQHB_91NST05UT-part1 ']' ++++ echo /dev/disk/by-id/scsi-SATA_VM0500EBQHB_91NST05UT-part1 ++++ grep -q edd- +++++ readlink /dev/disk/by-id/scsi-SATA_VM0500EBQHB_91NST05UT-part1 ++++ local dev=../../sda1 +++++ basename ../../sda1 ++++ dev=/dev/sda1 ++++ '[' /dev/sda1 = 0 ']' ++++ for i in '/dev/disk/$prefix/*' ++++ '[' -z /dev/disk/by-id/scsi-SATA_VM0500EBQHB_91NST05UT-part2 ']' ++++ echo /dev/disk/by-id/scsi-SATA_VM0500EBQHB_91NST05UT-part2 ++++ grep -q edd- +++++ readlink /dev/disk/by-id/scsi-SATA_VM0500EBQHB_91NST05UT-part2 ++++ local dev=../../sda2 +++++ basename ../../sda2 ++++ dev=/dev/sda2 ++++ '[' /dev/sda2 = 0 ']' ++++ for i in '/dev/disk/$prefix/*' ++++ '[' -z /dev/disk/by-id/scsi-SATA_VM0500EBQHB_91NST05UT-part3 ']' ++++ echo /dev/disk/by-id/scsi-SATA_VM0500EBQHB_91NST05UT-part3 ++++ grep -q edd- +++++ readlink /dev/disk/by-id/scsi-SATA_VM0500EBQHB_91NST05UT-part3 ++++ local dev=../../sda3 +++++ basename ../../sda3 ++++ dev=/dev/sda3 ++++ '[' /dev/sda3 = 0 ']' ++++ for i in '/dev/disk/$prefix/*' ++++ '[' -z /dev/disk/by-id/scsi-SATA_VM0500EBQHB_91NST062T ']' ++++ echo /dev/disk/by-id/scsi-SATA_VM0500EBQHB_91NST062T ++++ grep -q edd- +++++ readlink /dev/disk/by-id/scsi-SATA_VM0500EBQHB_91NST062T ++++ local dev=../../sdb +++++ basename ../../sdb ++++ dev=/dev/sdb ++++ '[' /dev/sdb = 0 ']' ++++ for i in '/dev/disk/$prefix/*' ++++ '[' -z /dev/disk/by-id/scsi-SATA_VM0500EBQHB_91NST062T-part1 ']' ++++ echo /dev/disk/by-id/scsi-SATA_VM0500EBQHB_91NST062T-part1 ++++ grep -q edd- +++++ readlink /dev/disk/by-id/scsi-SATA_VM0500EBQHB_91NST062T-part1 ++++ local dev=../../sdb1 +++++ basename ../../sdb1 ++++ dev=/dev/sdb1 ++++ '[' /dev/sdb1 = 0 ']' ++++ for i in '/dev/disk/$prefix/*' ++++ '[' -z /dev/disk/by-id/wwn-0x5000039381d86c98 ']' ++++ echo /dev/disk/by-id/wwn-0x5000039381d86c98 ++++ grep -q edd- +++++ readlink /dev/disk/by-id/wwn-0x5000039381d86c98 ++++ local dev=../../sda +++++ basename ../../sda ++++ dev=/dev/sda ++++ '[' /dev/sda = 0 ']' ++++ for i in '/dev/disk/$prefix/*' ++++ '[' -z /dev/disk/by-id/wwn-0x5000039381d86c98-part1 ']' ++++ echo /dev/disk/by-id/wwn-0x5000039381d86c98-part1 ++++ grep -q edd- +++++ readlink /dev/disk/by-id/wwn-0x5000039381d86c98-part1 ++++ local dev=../../sda1 +++++ basename ../../sda1 ++++ dev=/dev/sda1 ++++ '[' /dev/sda1 = 0 ']' ++++ for i in '/dev/disk/$prefix/*' ++++ '[' -z /dev/disk/by-id/wwn-0x5000039381d86c98-part2 ']' ++++ echo /dev/disk/by-id/wwn-0x5000039381d86c98-part2 ++++ grep -q edd- +++++ readlink /dev/disk/by-id/wwn-0x5000039381d86c98-part2 ++++ local dev=../../sda2 +++++ basename ../../sda2 ++++ dev=/dev/sda2 ++++ '[' /dev/sda2 = 0 ']' ++++ for i in '/dev/disk/$prefix/*' ++++ '[' -z /dev/disk/by-id/wwn-0x5000039381d86c98-part3 ']' ++++ echo /dev/disk/by-id/wwn-0x5000039381d86c98-part3 ++++ grep -q edd- +++++ readlink /dev/disk/by-id/wwn-0x5000039381d86c98-part3 ++++ local dev=../../sda3 +++++ basename ../../sda3 ++++ dev=/dev/sda3 ++++ '[' /dev/sda3 = 0 ']' ++++ for i in '/dev/disk/$prefix/*' ++++ '[' -z /dev/disk/by-id/wwn-0x5000039381d86ca0 ']' ++++ echo /dev/disk/by-id/wwn-0x5000039381d86ca0 ++++ grep -q edd- +++++ readlink /dev/disk/by-id/wwn-0x5000039381d86ca0 ++++ local dev=../../sdb +++++ basename ../../sdb ++++ dev=/dev/sdb ++++ '[' /dev/sdb = 0 ']' ++++ for i in '/dev/disk/$prefix/*' ++++ '[' -z /dev/disk/by-id/wwn-0x5000039381d86ca0-part1 ']' ++++ echo /dev/disk/by-id/wwn-0x5000039381d86ca0-part1 ++++ grep -q edd- +++++ readlink /dev/disk/by-id/wwn-0x5000039381d86ca0-part1 ++++ local dev=../../sdb1 +++++ basename ../../sdb1 ++++ dev=/dev/sdb1 ++++ '[' /dev/sdb1 = 0 ']' ++++ echo 0 +++ local diskByID=0 ++++ getDiskID openSUSE-12.2-ARM-JeOS-highbank swap ++++ local device=openSUSE-12.2-ARM-JeOS-highbank ++++ local swap=swap ++++ local prefix=by-id ++++ '[' -z openSUSE-12.2-ARM-JeOS-highbank ']' ++++ '[' '!' -z kiwiVG ']' ++++ echo openSUSE-12.2-ARM-JeOS-highbank ++++ grep -q kiwiVG ++++ '[' -z swap ']' ++++ '[' '!' -z '' ']' ++++ '[' '!' -z '' ']' ++++ for i in '/dev/disk/$prefix/*' ++++ '[' -z /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT ']' ++++ echo /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT ++++ grep -q edd- +++++ readlink /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT ++++ local dev=../../sda +++++ basename ../../sda ++++ dev=/dev/sda ++++ '[' /dev/sda = openSUSE-12.2-ARM-JeOS-highbank ']' ++++ for i in '/dev/disk/$prefix/*' ++++ '[' -z /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part1 ']' ++++ echo /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part1 ++++ grep -q edd- +++++ readlink /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part1 ++++ local dev=../../sda1 +++++ basename ../../sda1 ++++ dev=/dev/sda1 ++++ '[' /dev/sda1 = openSUSE-12.2-ARM-JeOS-highbank ']' ++++ for i in '/dev/disk/$prefix/*' ++++ '[' -z /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part2 ']' ++++ echo /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part2 ++++ grep -q edd- +++++ readlink /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part2 ++++ local dev=../../sda2 +++++ basename ../../sda2 ++++ dev=/dev/sda2 ++++ '[' /dev/sda2 = openSUSE-12.2-ARM-JeOS-highbank ']' ++++ for i in '/dev/disk/$prefix/*' ++++ '[' -z /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part3 ']' ++++ echo /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part3 ++++ grep -q edd- +++++ readlink /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part3 ++++ local dev=../../sda3 +++++ basename ../../sda3 ++++ dev=/dev/sda3 ++++ '[' /dev/sda3 = openSUSE-12.2-ARM-JeOS-highbank ']' ++++ for i in '/dev/disk/$prefix/*' ++++ '[' -z /dev/disk/by-id/ata-VM0500EBQHB_91NST062T ']' ++++ echo /dev/disk/by-id/ata-VM0500EBQHB_91NST062T ++++ grep -q edd- +++++ readlink /dev/disk/by-id/ata-VM0500EBQHB_91NST062T ++++ local dev=../../sdb +++++ basename ../../sdb ++++ dev=/dev/sdb ++++ '[' /dev/sdb = openSUSE-12.2-ARM-JeOS-highbank ']' ++++ for i in '/dev/disk/$prefix/*' ++++ '[' -z /dev/disk/by-id/ata-VM0500EBQHB_91NST062T-part1 ']' ++++ echo /dev/disk/by-id/ata-VM0500EBQHB_91NST062T-part1 ++++ grep -q edd- +++++ readlink /dev/disk/by-id/ata-VM0500EBQHB_91NST062T-part1 ++++ local dev=../../sdb1 +++++ basename ../../sdb1 ++++ dev=/dev/sdb1 ++++ '[' /dev/sdb1 = openSUSE-12.2-ARM-JeOS-highbank ']' ++++ for i in '/dev/disk/$prefix/*' ++++ '[' -z /dev/disk/by-id/scsi-SATA_VM0500EBQHB_91NST05UT ']' ++++ echo /dev/disk/by-id/scsi-SATA_VM0500EBQHB_91NST05UT ++++ grep -q edd- +++++ readlink /dev/disk/by-id/scsi-SATA_VM0500EBQHB_91NST05UT ++++ local dev=../../sda +++++ basename ../../sda ++++ dev=/dev/sda ++++ '[' /dev/sda = openSUSE-12.2-ARM-JeOS-highbank ']' ++++ for i in '/dev/disk/$prefix/*' ++++ '[' -z /dev/disk/by-id/scsi-SATA_VM0500EBQHB_91NST05UT-part1 ']' ++++ echo /dev/disk/by-id/scsi-SATA_VM0500EBQHB_91NST05UT-part1 ++++ grep -q edd- +++++ readlink /dev/disk/by-id/scsi-SATA_VM0500EBQHB_91NST05UT-part1 ++++ local dev=../../sda1 +++++ basename ../../sda1 ++++ dev=/dev/sda1 ++++ '[' /dev/sda1 = openSUSE-12.2-ARM-JeOS-highbank ']' ++++ for i in '/dev/disk/$prefix/*' ++++ '[' -z /dev/disk/by-id/scsi-SATA_VM0500EBQHB_91NST05UT-part2 ']' ++++ echo /dev/disk/by-id/scsi-SATA_VM0500EBQHB_91NST05UT-part2 ++++ grep -q edd- +++++ readlink /dev/disk/by-id/scsi-SATA_VM0500EBQHB_91NST05UT-part2 ++++ local dev=../../sda2 +++++ basename ../../sda2 ++++ dev=/dev/sda2 ++++ '[' /dev/sda2 = openSUSE-12.2-ARM-JeOS-highbank ']' ++++ for i in '/dev/disk/$prefix/*' ++++ '[' -z /dev/disk/by-id/scsi-SATA_VM0500EBQHB_91NST05UT-part3 ']' ++++ echo /dev/disk/by-id/scsi-SATA_VM0500EBQHB_91NST05UT-part3 ++++ grep -q edd- +++++ readlink /dev/disk/by-id/scsi-SATA_VM0500EBQHB_91NST05UT-part3 ++++ local dev=../../sda3 +++++ basename ../../sda3 ++++ dev=/dev/sda3 ++++ '[' /dev/sda3 = openSUSE-12.2-ARM-JeOS-highbank ']' ++++ for i in '/dev/disk/$prefix/*' ++++ '[' -z /dev/disk/by-id/scsi-SATA_VM0500EBQHB_91NST062T ']' ++++ echo /dev/disk/by-id/scsi-SATA_VM0500EBQHB_91NST062T ++++ grep -q edd- +++++ readlink /dev/disk/by-id/scsi-SATA_VM0500EBQHB_91NST062T ++++ local dev=../../sdb +++++ basename ../../sdb ++++ dev=/dev/sdb ++++ '[' /dev/sdb = openSUSE-12.2-ARM-JeOS-highbank ']' ++++ for i in '/dev/disk/$prefix/*' ++++ '[' -z /dev/disk/by-id/scsi-SATA_VM0500EBQHB_91NST062T-part1 ']' ++++ echo /dev/disk/by-id/scsi-SATA_VM0500EBQHB_91NST062T-part1 ++++ grep -q edd- +++++ readlink /dev/disk/by-id/scsi-SATA_VM0500EBQHB_91NST062T-part1 ++++ local dev=../../sdb1 +++++ basename ../../sdb1 ++++ dev=/dev/sdb1 ++++ '[' /dev/sdb1 = openSUSE-12.2-ARM-JeOS-highbank ']' ++++ for i in '/dev/disk/$prefix/*' ++++ '[' -z /dev/disk/by-id/wwn-0x5000039381d86c98 ']' ++++ echo /dev/disk/by-id/wwn-0x5000039381d86c98 ++++ grep -q edd- +++++ readlink /dev/disk/by-id/wwn-0x5000039381d86c98 ++++ local dev=../../sda +++++ basename ../../sda ++++ dev=/dev/sda ++++ '[' /dev/sda = openSUSE-12.2-ARM-JeOS-highbank ']' ++++ for i in '/dev/disk/$prefix/*' ++++ '[' -z /dev/disk/by-id/wwn-0x5000039381d86c98-part1 ']' ++++ echo /dev/disk/by-id/wwn-0x5000039381d86c98-part1 ++++ grep -q edd- +++++ readlink /dev/disk/by-id/wwn-0x5000039381d86c98-part1 ++++ local dev=../../sda1 +++++ basename ../../sda1 ++++ dev=/dev/sda1 ++++ '[' /dev/sda1 = openSUSE-12.2-ARM-JeOS-highbank ']' ++++ for i in '/dev/disk/$prefix/*' ++++ '[' -z /dev/disk/by-id/wwn-0x5000039381d86c98-part2 ']' ++++ echo /dev/disk/by-id/wwn-0x5000039381d86c98-part2 ++++ grep -q edd- +++++ readlink /dev/disk/by-id/wwn-0x5000039381d86c98-part2 ++++ local dev=../../sda2 +++++ basename ../../sda2 ++++ dev=/dev/sda2 ++++ '[' /dev/sda2 = openSUSE-12.2-ARM-JeOS-highbank ']' ++++ for i in '/dev/disk/$prefix/*' ++++ '[' -z /dev/disk/by-id/wwn-0x5000039381d86c98-part3 ']' ++++ echo /dev/disk/by-id/wwn-0x5000039381d86c98-part3 ++++ grep -q edd- +++++ readlink /dev/disk/by-id/wwn-0x5000039381d86c98-part3 ++++ local dev=../../sda3 +++++ basename ../../sda3 ++++ dev=/dev/sda3 ++++ '[' /dev/sda3 = openSUSE-12.2-ARM-JeOS-highbank ']' ++++ for i in '/dev/disk/$prefix/*' ++++ '[' -z /dev/disk/by-id/wwn-0x5000039381d86ca0 ']' ++++ echo /dev/disk/by-id/wwn-0x5000039381d86ca0 ++++ grep -q edd- +++++ readlink /dev/disk/by-id/wwn-0x5000039381d86ca0 ++++ local dev=../../sdb +++++ basename ../../sdb ++++ dev=/dev/sdb ++++ '[' /dev/sdb = openSUSE-12.2-ARM-JeOS-highbank ']' ++++ for i in '/dev/disk/$prefix/*' ++++ '[' -z /dev/disk/by-id/wwn-0x5000039381d86ca0-part1 ']' ++++ echo /dev/disk/by-id/wwn-0x5000039381d86ca0-part1 ++++ grep -q edd- +++++ readlink /dev/disk/by-id/wwn-0x5000039381d86ca0-part1 ++++ local dev=../../sdb1 +++++ basename ../../sdb1 ++++ dev=/dev/sdb1 ++++ '[' /dev/sdb1 = openSUSE-12.2-ARM-JeOS-highbank ']' ++++ echo openSUSE-12.2-ARM-JeOS-highbank +++ local swapByID=openSUSE-12.2-ARM-JeOS-highbank +++ '[' -f setupUBoot/image/.profile ']' +++ '[' '!' -z console=ttyAMA0 ']' +++ KIWI_KERNEL_OPTIONS=' console=ttyAMA0' +++ IFS=, +++ for i in '$KERNEL_LIST' +++ test -z uImage-3.6.0-rc7-1.1-highbank:initrd-3.6.0-rc7-1.1-highbank +++ kernel=uImage +++ initrd=initrd +++ echo 'setenv ramdisk initrd' +++ echo 'setenv kernel uImage' +++ echo 'setenv initrd_high "0xffffffff"' +++ echo 'setenv fdt_high "0xffffffff"' +++ echo 'printenv kerneladdr || setenv kerneladdr ${kernel_addr_r}' +++ echo 'printenv ramdiskaddr|| setenv ramdiskaddr ${ramdisk_addr_r}' +++ echo -n 'setenv bootcmd "' +++ echo -n 'ext2load scsi 0:1 ${kerneladdr} uImage; ' +++ echo -n 'ext2load scsi 0:1 ${ramdiskaddr} initrd; ' +++ echo 'bootm ${kerneladdr} ${ramdiskaddr} ${fdt_addr}"' +++ echo -n 'setenv bootargs root=0 loader=uboot' +++ '[' '!' -z /dev/sda ']' ++++ getDiskID /dev/sda ++++ local device=/dev/sda ++++ local swap= ++++ local prefix=by-id ++++ '[' -z /dev/sda ']' ++++ '[' '!' -z kiwiVG ']' ++++ echo /dev/sda ++++ grep -q kiwiVG ++++ '[' -z '' ']' ++++ echo /dev/sda ++++ grep -q 'dev\/md' ++++ '[' '!' -z '' ']' ++++ '[' '!' -z '' ']' ++++ for i in '/dev/disk/$prefix/*' ++++ '[' -z /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT ']' ++++ echo /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT ++++ grep -q edd- +++++ readlink /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT ++++ local dev=../../sda +++++ basename ../../sda ++++ dev=/dev/sda ++++ '[' /dev/sda = /dev/sda ']' ++++ echo /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT ++++ return +++ echo -n ' disk=/dev/disk/by-id/ata-VM0500EBQHB_91NST05UT' +++ '[' '!' -z openSUSE-12.2-ARM-JeOS-highbank ']' +++ echo -n ' resume=openSUSE-12.2-ARM-JeOS-highbank' +++ '[' '' = yes ']' +++ echo -n ' ' +++ echo -n ' console=ttyAMA0' +++ echo ';' +++ echo boot +++ break + setupBootThemes /config + local destprefix=/config + local srcprefix= + '[' -z '' ']' + srcprefix=/mnt + '[' '!' -z openSUSE ']' + local theme=openSUSE + local orig_bootsplash=/mnt/etc/sysconfig/bootsplash + local inst_bootsplash=/config/etc/sysconfig/bootsplash + mkdir -p /config/etc/sysconfig + touch /config/etc/sysconfig/bootsplash + '[' -f /mnt/etc/sysconfig/bootsplash ']' + cp /mnt/etc/sysconfig/bootsplash /config/etc/sysconfig/bootsplash + cat /config/etc/sysconfig/bootsplash + grep -q -E '^THEME' + echo 'THEME="openSUSE"' + which plymouthd + '[' '!' -z openSUSE ']' + local theme=/boot/grub2/themes/openSUSE/theme.txt + '[' uboot = grub2 ']' + setupKernelModules /config + local destprefix=/config + local srcprefix= + '[' -z '' ']' + srcprefix=/mnt + local sysimg_ktempl=/mnt/var/adm/fillup-templates/sysconfig.kernel + local sysimg_syskernel=/mnt/etc/sysconfig/kernel + local syskernel=/config/etc/sysconfig/kernel + local newstyle_mkinitrd=/mnt/lib/mkinitrd/scripts/boot-usb.sh + local key + local val + mkdir -p /config/etc/sysconfig + '[' '!' -e /mnt/lib/mkinitrd/scripts/boot-usb.sh ']' + '[' -f /mnt/etc/sysconfig/kernel ']' + cp /mnt/etc/sysconfig/kernel /config/etc/sysconfig/kernel + for key in INITRD_MODULES DOMU_INITRD_MODULES + '[' INITRD_MODULES = INITRD_MODULES ']' + val=' ext3' + '[' INITRD_MODULES = DOMU_INITRD_MODULES ']' + '[' -z ' ext3' ']' + sed -i -e 's@^INITRD_MODULES="\(.*\)"@INITRD_MODULES="\1 ext3"@' /config/etc/sysconfig/kernel + for key in INITRD_MODULES DOMU_INITRD_MODULES + '[' DOMU_INITRD_MODULES = INITRD_MODULES ']' + '[' DOMU_INITRD_MODULES = DOMU_INITRD_MODULES ']' + val='xennet xenblk' + '[' -z 'xennet xenblk' ']' + sed -i -e 's@^DOMU_INITRD_MODULES="\(.*\)"@DOMU_INITRD_MODULES="\1 xennet xenblk"@' /config/etc/sysconfig/kernel + '[' no = no ']' + setupConfigFiles + local file + local dir + cd /config + find . -type f + read file ++ dirname ./etc/sysconfig/kernel + dir=./etc/sysconfig + '[' '!' -d /mnt/./etc/sysconfig ']' + canWrite /mnt/./etc/sysconfig + local dest=/mnt/./etc/sysconfig + '[' -z /mnt/./etc/sysconfig ']' + '[' '!' -d /mnt/./etc/sysconfig ']' + touch /mnt/./etc/sysconfig/can-write + rm /mnt/./etc/sysconfig/can-write + return 0 + cp ./etc/sysconfig/kernel /mnt/./etc/sysconfig/kernel + read file ++ dirname ./etc/sysconfig/bootsplash + dir=./etc/sysconfig + '[' '!' -d /mnt/./etc/sysconfig ']' + canWrite /mnt/./etc/sysconfig + local dest=/mnt/./etc/sysconfig + '[' -z /mnt/./etc/sysconfig ']' + '[' '!' -d /mnt/./etc/sysconfig ']' + touch /mnt/./etc/sysconfig/can-write + rm /mnt/./etc/sysconfig/can-write + return 0 + cp ./etc/sysconfig/bootsplash /mnt/./etc/sysconfig/bootsplash + read file ++ dirname ./etc/fstab + dir=./etc + '[' '!' -d /mnt/./etc ']' + canWrite /mnt/./etc + local dest=/mnt/./etc + '[' -z /mnt/./etc ']' + '[' '!' -d /mnt/./etc ']' + touch /mnt/./etc/can-write + rm /mnt/./etc/can-write + return 0 + cp ./etc/fstab /mnt/./etc/fstab + read file + cd / + rm -rf /config + setupInittab /mnt + local prefix=/mnt + cat /proc/cmdline + grep -qi textmode=1 + echo 256 + umountSystemFilesystems + umount_rpc_pipefs + case `stat -c "%t" -f /var/lib/nfs/rpc_pipefs 2>/dev/null` in ++ stat -c %t -f /var/lib/nfs/rpc_pipefs + umount /dev/pts + umount /sys + umount /proc + '[' no = no ']' + importBranding + '[' -f /image/loader/message ']' + '[' -f /image/loader/branding/logo.mng ']' + cp /preinit /mnt + cp /include /mnt + killShell + local umountProc=0 + '[' '!' -e /proc/mounts ']' + mount -t proc proc /proc + umountProc=1 + '[' '!' -z '' ']' + '[' 1 -eq 1 ']' + umount /proc + activateImage + local name + '[' '!' -z '' ']' + '[' '!' -z '' ']' + '[' '!' -z '' ']' + '[' '!' -z /dev/sda2 ']' + name=/dev/sda2 + local roDir=read-only + local rwDir=read-write + local xiDir=xino + '[' -z '' ']' + '[' -d read-only ']' + '[' -d read-write ']' + '[' -d xino ']' + local cdDir=/livecd + '[' -d /livecd ']' + Echo 'Activating Image: [/dev/sda2]' + '[' 0 = 0 ']' + set +x + echo '[ 243.975618] Activating Image: [/dev/sda2]' + '[' 0 = 0 ']' + set +x + udevPending + local timeout=30 ++ which udevadm + local udevadmExec=/sbin/udevadm + '[' -x /sbin/udevadm ']' + /sbin/udevadm settle --timeout=30 + mkdir -p /mnt/run + mkdir -p /mnt/dev + mount --move /dev /mnt/dev + mount --move /run /mnt/run + udevKill + . /iprocs ++ UTIMER_PID=150 ++ UDEVD_PID=174 + '[' -x /sbin/udevadm ']' + Echo 'udevd: stop via control signal...' + '[' 0 = 0 ']' + set +x + echo '[ 244.023156] udevd: stop via control signal...' + '[' 0 = 0 ']' + set +x + udevadm control --exit + udevadm info --cleanup-db + sleep 2 + kill -0 174 + Echo 'udevd: still running, killing it the hard way' + '[' 0 = 0 ']' + set +x + echo '[ 246.041094] udevd: still running, killing it the hard way' + '[' 0 = 0 ']' + set +x + kill 174 + Echo 'Preparing preinit phase...' + '[' 0 = 0 ']' + set +x + echo '[ 246.046498] Preparing preinit phase...' + '[' 0 = 0 ']' + set +x + cp /usr/bin/utimer /mnt + cp /iprocs /mnt + cp /preinit /mnt + cp /include /mnt + '[' '!' -x /lib/mkinitrd/bin/run-init ']' + bootImage showopts + local reboot=no + local option=showopts + '[' -z '' ']' + '[' -f /mnt/bin/systemd ']' + export init=/bin/systemd + init=/bin/systemd ++ echo showopts ++ sed -e s@4@5@ + option=showopts + echo + Echo 'Booting System: showopts' + '[' 0 = 0 ']' + set +x + echo '[ 246.091264] Booting System: showopts' + '[' 0 = 0 ']' + set +x + export 'IFS= ' + IFS=' ' + '[' no = no ']' + '[' -z '' ']' + '[' '!' -z '' ']' + '[' '!' -z '' ']' + '[' '!' -z '' ']' + '[' '!' -z '' ']' + '[' '!' -z '' ']' + resetBootBind /mnt + local bprefix=/mnt + local bootdir=/mnt/boot_bind + '[' '!' -e /proc/mounts ']' + mount -t proc proc /proc + '[' '!' -e //mnt/boot_bind ']' + umount /mnt/boot + mv //mnt/boot_bind/boot //mnt/boot_bind/tmp + mv //mnt/boot_bind/tmp/boot.readme //mnt/boot_bind/tmp/boot.script //mnt/boot_bind/tmp/config-3.6.0-rc7-1.1-highbank //mnt/boot_bind/tmp/do_purge_kernels //mnt/boot_bind/tmp/initrd //mnt/boot_bind/tmp/initrd.uboot //mnt/boot_bind/tmp/linux.vmx //mnt/boot_bind/tmp/mbrid //mnt/boot_bind/tmp/symvers-3.6.0-rc7-1.1-highbank.gz //mnt/boot_bind/tmp/sysctl.conf-3.6.0-rc7-1.1-highbank //mnt/boot_bind/tmp/System.map-3.6.0-rc7-1.1-highbank //mnt/boot_bind/tmp/uImage //mnt/boot_bind/tmp/uImage-3.6.0-rc7-1.1-highbank //mnt/boot_bind/tmp/vmlinux-3.6.0-rc7-1.1-highbank.gz //mnt/boot_bind + rmdir //mnt/boot_bind/tmp + umount //mnt/boot_bind + rmdir //mnt/boot_bind + grep -v '^boot_bind' /mnt/etc/fstab + mv /mnt/etc/fstab.new /mnt/etc/fstab + sed -i -e s@/boot_bind@/boot@ /mnt/etc/fstab + chroot /mnt mount /dev/sda1 /boot + '[' uboot = syslinux ']' + . /iprocs ++ UTIMER_PID=150 ++ UDEVD_PID=174 + kill 150 + mkdir -p /mnt/var/log + rm -f /mnt/boot/mbrid + '[' -e /mnt/dev/shm/initrd.msg ']' + '[' -e /var/log/boot.kiwi ']' + cp -f /var/log/boot.kiwi /mnt/var/log/boot.kiwi KIWI PreInit Log KIWI .profile contents: kiwi_strip_tools='qemu-arm-binfmt qemu-arm' kiwi_type="oem" kiwi_bootloader='uboot' kiwi_splash_theme='openSUSE' kiwi_keytable='us.map.gz' kiwi_displayname='openSUSE-12.2-ARM-JeOS-highbank' kiwi_oemswap='true' kiwi_size='auto' kiwi_hwclock='utc' kiwi_iname='openSUSE-12.2-ARM-JeOS-highbank' kiwi_timezone='Europe/Berlin' kiwi_language='en_US' kiwi_profiles='' kiwi_revision='28d1a4d4cb433e8ad21ddaa25da49614e00df537' kiwi_loader_theme='openSUSE' kiwi_fixedpackbootincludes='qemu-linux-user-arm kernel-highbank' kiwi_iversion='1.12.2' kiwi_oemswapMB='500' kiwi_cmdline='console=ttyAMA0' cat: /proc/cmdline: No such file or directory + Echo 'Calling pre-init stage in system image' + '[' 0 = 0 ']' + set +x + echo '[ 0.044209] Calling pre-init stage in system image' + '[' 0 = 0 ']' + set +x + '[' no = yes ']' + mountSystemFilesystems + mount -t proc proc /proc + mount -t sysfs sysfs /sys + udevSystemStart + '[' -e /etc/init.d/boot.udev ']' + /etc/init.d/boot.udev start + echo + updateMTAB + prefix= + umount=0 + '[' '!' -e /proc/mounts ']' + '[' -e /proc/self/mounts ']' + pushd /etc + rm -f mtab + ln -s /proc/self/mounts mtab + popd + '[' 0 -eq 1 ']' + createFramebufferDevices + '[' -f /proc/fb ']' + Echo 'Creating framebuffer devices' + '[' 0 = 0 ']' + set +x + echo '[ 1.821670] Creating framebuffer devices' + '[' 0 = 0 ']' + set +x + read fbnum fbtype + '[' -z '' ']' + '[' -z '' ']' + '[' '!' '' = yes ']' + setupSUSEInitrd + bootLoaderOK=1 + local umountProc=0 + local umountSys=0 + local systemMap=0 ++ which mkinitrd + local mkinitrdExec=/sbin/mkinitrd + local params + local running + local rlinux + local rinitrd ++ find /boot/ -name 'System.map*' + for i in '`find /boot/ -name "System.map*"`' + systemMap=1 + setupDefaultTheme + which plymouthd + '[' 1 -eq 1 ']' + '[' '!' -e /proc/mounts ']' + '[' '!' -e /sys/block ']' + '[' -f /etc/init.d/boot.device-mapper ']' + /etc/init.d/boot.device-mapper start + updateModuleDependencies ++ which depmod + local depmodExec=/sbin/depmod + '[' '!' -x /sbin/depmod ']' + /sbin/depmod -a + grep -qi param_B /sbin/mkinitrd + params=-B + /sbin/mkinitrd -B Root device: /dev/disk/by-id/ata-VM0500EBQHB_91NST05UT-part2 (/dev/sda2) (mounted on / as ext3) + '[' 1 = 1 ']' + '[' -f /boot/initrd.vmx ']' + '[' uboot = syslinux ']' + '[' -f /etc/init.d/boot.device-mapper ']' + /etc/init.d/boot.device-mapper stop ..missing + '[' 0 -eq 1 ']' + '[' 0 -eq 1 ']' + '[' 1 = 1 ']' + installBootLoader ++ uname -m + local arch=armv7l + case $arch-$loader in + installBootLoaderUBoot + runHook installUBoot + HOOK=/kiwi-hooks/installUBoot.sh + '[' '!' -e /kiwi-hooks/installUBoot.sh ']' + '[' -e /kiwi-hooks/installUBoot.sh ']' + . /kiwi-hooks/installUBoot.sh installUBoot ++ '[' -x /usr/bin/mkimage ']' ++ mkimage -A arm -O linux -a 0 -e 0 -T script -C none -n Boot-Script -d /boot/boot.script /boot/boot.scr ++ '[' '!' 0 = 0 ']' ++ printf 0x%04x%04x 13965 6865 + masterBootID=0x368d1ad1 + Echo 'writing new MBR ID to master boot record: 0x368d1ad1' + '[' 0 = 0 ']' + set +x + echo '[ 28.434833] writing new MBR ID to master boot record: 0x368d1ad1' + '[' 0 = 0 ']' + set +x + echo 0x368d1ad1 ++ echo 0x368d1ad1 ++ sed 's/^0x\(..\)\(..\)\(..\)\(..\)$/\\x\4\\x\3\\x\2\\x\1/' + masterBootIDHex='\xd1\x1a\x8d\x36' + echo -e -n '\xd1\x1a\x8d\x36' + dd of=/dev/sda bs=1 count=4 seek=440 4+0 records in 4+0 records out 4 bytes (4 B) copied, 0.00020138 s, 19.9 kB/s + '[' no = no ']' + '[' '!' -z '' ']' + '[' no = no ']' + '[' -x /bin/rpm ']' + Echo 'Creating initial image package info file' + '[' 0 = 0 ']' + set +x + echo '[ 28.463937] Creating initial image package info file' + '[' 0 = 0 ']' + set +x + rpm -qa --last + setupConsole + local itab=/etc/inittab + local stty=/etc/securetty + local 'xvc=X0:12345:respawn:/sbin/mingetty --noclear xvc0 linux' + local 'hvc=H0:12345:respawn:/sbin/mingetty --noclear hvc0 linux' + setupTTY + local tty_driver + local major + local minor + local tty + true + return + '[' -e /sys/class/tty/xvc0 ']' + '[' -e /sys/class/tty/hvc0 ']' + '[' '!' -e /sys/class/tty/ttyS0 ']' + createOriginSnapshot + '[' '!' ext3 = btrfs ']' + return + runHook preCallInit + HOOK=/kiwi-hooks/preCallInit.sh + '[' '!' -e /kiwi-hooks/preCallInit.sh ']' + HOOK=/lib/kiwi/hooks/preCallInit.sh + '[' -e /lib/kiwi/hooks/preCallInit.sh ']' + udevSystemStop + '[' -e /etc/init.d/boot.udev ']' + /etc/init.d/boot.udev stop + echo + umountSystemFilesystems + umount_rpc_pipefs + case `stat -c "%t" -f /var/lib/nfs/rpc_pipefs 2>/dev/null` in ++ stat -c %t -f /var/lib/nfs/rpc_pipefs + umount /dev/pts + umount /sys + umount /proc + cleanImage + local bootdir=boot_bind + exec + set -x + . /iprocs ++ UTIMER_PID=1268 + kill 1268 + rm -f /tmp/utimer + rm -f /dev/utimer + rm -f /utimer + rm -f /iprocs + rm -f /preinit + rm -f /include + rm -f /.kconfig + rm -f /.profile + rm -rf /image + '[' '' = yes ']' + '[' '' = yes ']' + '[' '' = yes ']' + '[' '!' -z '' ']' + '[' '!' -z '' ']' + '[' '!' -z '' ']' + '[' '!' -z '' ']' + '[' /bin/systemd = /bin/systemd ']' + return + set -x + which plymouthd + '[' -b /dev/sda2 ']' + export ROOTFS_FSCK=0 + ROOTFS_FSCK=0 + '[' '!' -z '' ']' + '[' no = yes ']' + '[' '' = yes ']' + '[' '' = yes ']' + '[' '' = yes ']' + '[' '!' '' = yes ']' + '[' -z '' ']' + [[ initrd-oemboot-suse-12.2 =~ initrd-.*-suse ]] + exec /lib/mkinitrd/bin/run-init -c ./dev/console /mnt /bin/systemd showopts-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org