[elbe-devel] [PATCH] hdimg: use correct size prefix for specifying partition sizes

Manuel Traut manuel.traut at linutronix.de
Wed Jul 5 19:31:16 CEST 2017


Hi Kurt,

> I've just stumbled across an interesting issue: For partition sizes elbe uses
> kiB as size prefix. If you try to use KiB, the XML schema validation fails.
> 
> However for specifying the physical erase block (PEB) size for UBI images you
> have to use KiB as prefix. Using kiB results in a error when elbe invokes
> ubinize (at the end of the Elbe-Build). This way I ended up using KiB for PEB
> size and using kiB for UBI volume sizes in the same XML file.

have you updated ubinize / mtd-utils inside the initvm? I can't see these issues
i current test-builds of e.g. armel-versatile-ubi-tightenmode.xml (see attached
shortened log)

I'm afraid your patch will break the current working examples.

> Regarding to IEC standard, KiB is actually correct. This patch adjusts the hdimg
> code and the XML schema accordingly.

However if this is really an issue we need or should fix for newer mtd-utils
or whatever reason, we don't want to brick existing XML files. Maybe someone
uses kiB for msdoshd or gpt partitions. So i'd like to support both variants.

Could we than please use sth. like
peb = ubivg.text("physicaleraseblocksize").replace("kiB", "KiB")
??

Can you please explain your problem more detailed?

Thanks,

  Manuel

> Signed-off-by: Kurt Kanzenbach <kurt at linutronix.de>
> ---
>  elbepack/hdimg.py | 2 +-
>  schema/dbsfed.xsd | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/elbepack/hdimg.py b/elbepack/hdimg.py
> index e2834e5..d8be13f 100644
> --- a/elbepack/hdimg.py
> +++ b/elbepack/hdimg.py
> @@ -160,7 +160,7 @@ def size_to_int( size ):
>      if size.endswith( "k" ):
>          unit = 1000
>          s = size[:-1]
> -    elif size.endswith( "kiB" ):

please keep this entry and just add KiB

> +    elif size.endswith( "KiB" ):
>          unit = 1024
>          s = size[:-3]
>      elif size.endswith( "kB" ):
> diff --git a/schema/dbsfed.xsd b/schema/dbsfed.xsd
> index 74eb732..49c882f 100644
> --- a/schema/dbsfed.xsd
> +++ b/schema/dbsfed.xsd
> @@ -1523,7 +1523,7 @@
>        </documentation>
>      </annotation>
>      <restriction base="string">
> -      <pattern value="(\d+(k|M|G|kB|MB|GB|kiB|MiB|GiB)?|remain)" />
> +      <pattern value="(\d+(k|M|G|kB|MB|GB|KiB|MiB|GiB)?|remain)" />

support both

>      </restriction>
>    </simpleType>
>  
> -- 
> 2.11.0
> 
> 
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel
-------------- next part --------------
running cmd +reprepro --basedir "/var/cache/elbe/60517761-87b0-42b4-8fd5-8657bc8c5386/repo" export wheezy+
------------------------------------------------------------------------------
------------------------------------------------------------------------------

Enqueueing project for build
Build started

ELBE Report
===========

report timestamp: 20170609-095243
running cmd +reprepro --basedir "/var/cache/elbe/60517761-87b0-42b4-8fd5-8657bc8c5386/repo" export wheezy+
------------------------------------------------------------------------------
------------------------------------------------------------------------------

running cmd +mkdir -p "/var/cache/elbe/60517761-87b0-42b4-8fd5-8657bc8c5386/chroot"+
------------------------------------------------------------------------------
------------------------------------------------------------------------------


debootstrap log
---------------

getting output from cmd +dpkg --print-architecture+
running cmd +debootstrap --foreign --arch=armel "wheezy" "/var/cache/elbe/60517761-87b0-42b4-8fd5-8657bc8c5386/chroot" "http://ftp.de.debian.org//debian"+
------------------------------------------------------------------------------
I: Retrieving Release 
I: Retrieving Release.gpg 
I: Checking Release signature
I: Valid Release signature (key id ED6D65271AACF0FF15D123036FB2A1C265FFB764)
I: Retrieving Packages 
I: Validating Packages 
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Found additional required dependencies: insserv libbz2-1.0 libdb5.1 libsemanage-common libsemanage1 libslang2 libustr-1.0-1 
I: Found additional base dependencies: libept1.4.12 libgcrypt11 libgnutls26 libgpg-error0 libidn11 libnfnetlink0 libp11-kit0 libsqlite3-0 libtasn1-3 libxapian22 
I: Checking component main on http://ftp.de.debian.org//debian...
I: Retrieving libacl1 2.2.51-8
I: Validating libacl1 2.2.51-8
I: Retrieving adduser 3.113+nmu3
I: Validating adduser 3.113+nmu3
I: Retrieving apt 0.9.7.9+deb7u7
I: Validating apt 0.9.7.9+deb7u7
I: Retrieving apt-utils 0.9.7.9+deb7u7
I: Validating apt-utils 0.9.7.9+deb7u7
I: Retrieving libapt-inst1.5 0.9.7.9+deb7u7
I: Validating libapt-inst1.5 0.9.7.9+deb7u7
I: Retrieving libapt-pkg4.12 0.9.7.9+deb7u7
I: Validating libapt-pkg4.12 0.9.7.9+deb7u7
I: Retrieving aptitude 0.6.8.2-1
I: Validating aptitude 0.6.8.2-1
I: Retrieving aptitude-common 0.6.8.2-1
I: Validating aptitude-common 0.6.8.2-1
I: Retrieving libattr1 1:2.4.46-8
I: Validating libattr1 1:2.4.46-8
I: Retrieving base-files 7.1wheezy11
I: Validating base-files 7.1wheezy11
I: Retrieving base-passwd 3.5.26
I: Validating base-passwd 3.5.26
I: Retrieving bash 4.2+dfsg-0.1+deb7u3
I: Validating bash 4.2+dfsg-0.1+deb7u3
I: Retrieving libboost-iostreams1.49.0 1.49.0-3.2
I: Validating libboost-iostreams1.49.0 1.49.0-3.2
I: Retrieving bsdmainutils 9.0.3
I: Validating bsdmainutils 9.0.3
I: Retrieving libbz2-1.0 1.0.6-4
I: Validating libbz2-1.0 1.0.6-4
I: Retrieving coreutils 8.13-3.5
I: Validating coreutils 8.13-3.5
I: Retrieving cpio 2.11+dfsg-0.1+deb7u2
I: Validating cpio 2.11+dfsg-0.1+deb7u2
I: Retrieving cron 3.0pl1-124
I: Validating cron 3.0pl1-124
I: Retrieving libcwidget3 0.5.16-3.4
I: Validating libcwidget3 0.5.16-3.4
I: Retrieving dash 0.5.7-3
I: Validating dash 0.5.7-3
I: Retrieving libdb5.1 5.1.29-5
I: Validating libdb5.1 5.1.29-5
I: Retrieving debconf 1.5.49
I: Validating debconf 1.5.49
I: Retrieving debconf-i18n 1.5.49
I: Validating debconf-i18n 1.5.49
I: Retrieving debian-archive-keyring 2014.3~deb7u1
I: Validating debian-archive-keyring 2014.3~deb7u1
I: Retrieving debianutils 4.3.2
I: Validating debianutils 4.3.2
I: Retrieving diffutils 1:3.2-6
I: Validating diffutils 1:3.2-6
I: Retrieving dpkg 1.16.18
I: Validating dpkg 1.16.18
I: Retrieving e2fslibs 1.42.5-1.1+deb7u1
I: Validating e2fslibs 1.42.5-1.1+deb7u1
I: Retrieving e2fsprogs 1.42.5-1.1+deb7u1
I: Validating e2fsprogs 1.42.5-1.1+deb7u1
I: Retrieving libcomerr2 1.42.5-1.1+deb7u1
I: Validating libcomerr2 1.42.5-1.1+deb7u1
I: Retrieving libss2 1.42.5-1.1+deb7u1
I: Validating libss2 1.42.5-1.1+deb7u1
I: Retrieving libc-bin 2.13-38+deb7u10
I: Validating libc-bin 2.13-38+deb7u10
I: Retrieving libc6 2.13-38+deb7u10
I: Validating libc6 2.13-38+deb7u10
I: Retrieving multiarch-support 2.13-38+deb7u10
I: Validating multiarch-support 2.13-38+deb7u10
I: Retrieving findutils 4.4.2-4
I: Validating findutils 4.4.2-4
I: Retrieving gcc-4.7-base 4.7.2-5
I: Validating gcc-4.7-base 4.7.2-5
I: Retrieving libgcc1 1:4.7.2-5
I: Validating libgcc1 1:4.7.2-5
I: Retrieving libstdc++6 4.7.2-5
I: Validating libstdc++6 4.7.2-5
I: Retrieving libgdbm3 1.8.3-11
I: Validating libgdbm3 1.8.3-11
I: Retrieving gnupg 1.4.12-7+deb7u7
I: Validating gnupg 1.4.12-7+deb7u7
I: Retrieving gpgv 1.4.12-7+deb7u7
I: Validating gpgv 1.4.12-7+deb7u7
I: Retrieving libgnutls26 2.12.20-8+deb7u5
I: Validating libgnutls26 2.12.20-8+deb7u5
I: Retrieving grep 2.12-2
I: Validating grep 2.12-2
I: Retrieving groff-base 1.21-9
I: Validating groff-base 1.21-9
I: Retrieving gzip 1.5-1.1
I: Validating gzip 1.5-1.1
I: Retrieving hostname 3.11
I: Validating hostname 3.11
I: Retrieving ifupdown 0.7.8
I: Validating ifupdown 0.7.8
I: Retrieving insserv 1.14.0-5
I: Validating insserv 1.14.0-5
I: Retrieving iproute 20120521-3+b3
I: Validating iproute 20120521-3+b3
I: Retrieving iptables 1.4.14-3.1
I: Validating iptables 1.4.14-3.1
I: Retrieving iputils-ping 3:20101006-1+b1
I: Validating iputils-ping 3:20101006-1+b1
I: Retrieving isc-dhcp-client 4.2.2.dfsg.1-5+deb70u8
I: Validating isc-dhcp-client 4.2.2.dfsg.1-5+deb70u8
I: Retrieving isc-dhcp-common 4.2.2.dfsg.1-5+deb70u8
I: Validating isc-dhcp-common 4.2.2.dfsg.1-5+deb70u8
I: Retrieving kmod 9-3
I: Validating kmod 9-3
I: Retrieving libkmod2 9-3
I: Validating libkmod2 9-3
I: Retrieving libept1.4.12 1.0.9
I: Validating libept1.4.12 1.0.9
I: Retrieving libgcrypt11 1.5.0-5+deb7u4
I: Validating libgcrypt11 1.5.0-5+deb7u4
I: Retrieving libgpg-error0 1.10-3.1
I: Validating libgpg-error0 1.10-3.1
I: Retrieving libidn11 1.25-2
I: Validating libidn11 1.25-2
I: Retrieving liblocale-gettext-perl 1.05-7+b1
I: Validating liblocale-gettext-perl 1.05-7+b1
I: Retrieving libnfnetlink0 1.0.0-1.1
I: Validating libnfnetlink0 1.0.0-1.1
I: Retrieving libpipeline1 1.2.1-1
I: Validating libpipeline1 1.2.1-1
I: Retrieving libselinux1 2.1.9-5
I: Validating libselinux1 2.1.9-5
I: Retrieving libsemanage-common 2.1.6-6
I: Validating libsemanage-common 2.1.6-6
I: Retrieving libsemanage1 2.1.6-6
I: Validating libsemanage1 2.1.6-6
I: Retrieving libsepol1 2.1.4-3
I: Validating libsepol1 2.1.4-3
I: Retrieving libsigc++-2.0-0c2a 2.2.10-0.2
I: Validating libsigc++-2.0-0c2a 2.2.10-0.2
I: Retrieving libtasn1-3 2.13-2+deb7u2
I: Validating libtasn1-3 2.13-2+deb7u2
I: Retrieving libtext-charwidth-perl 0.04-7+b1
I: Validating libtext-charwidth-perl 0.04-7+b1
I: Retrieving libtext-iconv-perl 1.7-5
I: Validating libtext-iconv-perl 1.7-5
I: Retrieving libtext-wrapi18n-perl 0.06-7
I: Validating libtext-wrapi18n-perl 0.06-7
I: Retrieving libusb-0.1-4 2:0.1.12-20+nmu1
I: Validating libusb-0.1-4 2:0.1.12-20+nmu1
I: Retrieving logrotate 3.8.1-4
I: Validating logrotate 3.8.1-4
I: Retrieving lsb-base 4.1+Debian8+deb7u1
I: Validating lsb-base 4.1+Debian8+deb7u1
I: Retrieving man-db 2.6.2-1
I: Validating man-db 2.6.2-1
I: Retrieving manpages 3.44-1
I: Validating manpages 3.44-1
I: Retrieving mawk 1.3.3-17
I: Validating mawk 1.3.3-17
I: Retrieving nano 2.2.6-1+b1
I: Validating nano 2.2.6-1+b1
I: Retrieving libncurses5 5.9-10
I: Validating libncurses5 5.9-10
I: Retrieving libncursesw5 5.9-10
I: Validating libncursesw5 5.9-10
I: Retrieving libtinfo5 5.9-10
I: Validating libtinfo5 5.9-10
I: Retrieving ncurses-base 5.9-10
I: Validating ncurses-base 5.9-10
I: Retrieving ncurses-bin 5.9-10
I: Validating ncurses-bin 5.9-10
I: Retrieving net-tools 1.60-24.2
I: Validating net-tools 1.60-24.2
I: Retrieving netbase 5.0
I: Validating netbase 5.0
I: Retrieving netcat-traditional 1.10-40
I: Validating netcat-traditional 1.10-40
I: Retrieving libnewt0.52 0.52.14-11.1
I: Validating libnewt0.52 0.52.14-11.1
I: Retrieving whiptail 0.52.14-11.1
I: Validating whiptail 0.52.14-11.1
I: Retrieving libssl1.0.0 1.0.1e-2+deb7u20
I: Validating libssl1.0.0 1.0.1e-2+deb7u20
I: Retrieving libp11-kit0 0.12-3
I: Validating libp11-kit0 0.12-3
I: Retrieving libpam-modules 1.1.3-7.1
I: Validating libpam-modules 1.1.3-7.1
I: Retrieving libpam-modules-bin 1.1.3-7.1
I: Validating libpam-modules-bin 1.1.3-7.1
I: Retrieving libpam-runtime 1.1.3-7.1
I: Validating libpam-runtime 1.1.3-7.1
I: Retrieving libpam0g 1.1.3-7.1
I: Validating libpam0g 1.1.3-7.1
I: Retrieving perl-base 5.14.2-21+deb7u3
I: Validating perl-base 5.14.2-21+deb7u3
I: Retrieving libpopt0 1.16-7
I: Validating libpopt0 1.16-7
I: Retrieving libprocps0 1:3.3.3-3
I: Validating libprocps0 1:3.3.3-3
I: Retrieving procps 1:3.3.3-3
I: Validating procps 1:3.3.3-3
I: Retrieving libreadline6 6.2+dfsg-0.1
I: Validating libreadline6 6.2+dfsg-0.1
I: Retrieving readline-common 6.2+dfsg-0.1
I: Validating readline-common 6.2+dfsg-0.1
I: Retrieving rsyslog 5.8.11-3+deb7u2
I: Validating rsyslog 5.8.11-3+deb7u2
I: Retrieving sed 4.2.1-10
I: Validating sed 4.2.1-10
I: Retrieving sensible-utils 0.0.7
I: Validating sensible-utils 0.0.7
I: Retrieving login 1:4.1.5.1-1
I: Validating login 1:4.1.5.1-1
I: Retrieving passwd 1:4.1.5.1-1
I: Validating passwd 1:4.1.5.1-1
I: Retrieving libslang2 2.2.4-15
I: Validating libslang2 2.2.4-15
I: Retrieving libsqlite3-0 3.7.13-1+deb7u2
I: Validating libsqlite3-0 3.7.13-1+deb7u2
I: Retrieving initscripts 2.88dsf-41+deb7u1
I: Validating initscripts 2.88dsf-41+deb7u1
I: Retrieving sysv-rc 2.88dsf-41+deb7u1
I: Validating sysv-rc 2.88dsf-41+deb7u1
I: Retrieving sysvinit 2.88dsf-41+deb7u1
I: Validating sysvinit 2.88dsf-41+deb7u1
I: Retrieving sysvinit-utils 2.88dsf-41+deb7u1
I: Validating sysvinit-utils 2.88dsf-41+deb7u1
I: Retrieving tar 1.26+dfsg-0.1
I: Validating tar 1.26+dfsg-0.1
I: Retrieving tasksel 3.14.1
I: Validating tasksel 3.14.1
I: Retrieving tasksel-data 3.14.1
I: Validating tasksel-data 3.14.1
I: Retrieving info 4.13a.dfsg.1-10
I: Validating info 4.13a.dfsg.1-10
I: Retrieving install-info 4.13a.dfsg.1-10
I: Validating install-info 4.13a.dfsg.1-10
I: Retrieving traceroute 1:2.0.18-3
I: Validating traceroute 1:2.0.18-3
I: Retrieving tzdata 2016d-0+deb7u1
I: Validating tzdata 2016d-0+deb7u1
I: Retrieving libudev0 175-7.2
I: Validating libudev0 175-7.2
I: Retrieving udev 175-7.2
I: Validating udev 175-7.2
I: Retrieving libustr-1.0-1 1.0.4-3
I: Validating libustr-1.0-1 1.0.4-3
I: Retrieving bsdutils 1:2.20.1-5.3
I: Validating bsdutils 1:2.20.1-5.3
I: Retrieving libblkid1 2.20.1-5.3
I: Validating libblkid1 2.20.1-5.3
I: Retrieving libmount1 2.20.1-5.3
I: Validating libmount1 2.20.1-5.3
I: Retrieving libuuid1 2.20.1-5.3
I: Validating libuuid1 2.20.1-5.3
I: Retrieving mount 2.20.1-5.3
I: Validating mount 2.20.1-5.3
I: Retrieving util-linux 2.20.1-5.3
I: Validating util-linux 2.20.1-5.3
I: Retrieving vim-common 2:7.3.547-7
I: Validating vim-common 2:7.3.547-7
I: Retrieving vim-tiny 2:7.3.547-7
I: Validating vim-tiny 2:7.3.547-7
I: Retrieving wget 1.13.4-3+deb7u2
I: Validating wget 1.13.4-3+deb7u2
I: Retrieving libxapian22 1.2.12-2+deb7u1
I: Validating libxapian22 1.2.12-2+deb7u1
I: Retrieving liblzma5 5.1.1alpha+20120614-2
I: Validating liblzma5 5.1.1alpha+20120614-2
I: Retrieving xz-utils 5.1.1alpha+20120614-2
I: Validating xz-utils 5.1.1alpha+20120614-2
I: Retrieving zlib1g 1:1.2.7.dfsg-13
I: Validating zlib1g 1:1.2.7.dfsg-13
I: Chosen extractor for .deb packages: dpkg-deb
I: Extracting libacl1...
I: Extracting libattr1...
I: Extracting base-files...
I: Extracting base-passwd...
I: Extracting bash...
I: Extracting libbz2-1.0...
I: Extracting coreutils...
I: Extracting dash...
I: Extracting libdb5.1...
I: Extracting debconf...
I: Extracting debconf-i18n...
I: Extracting debianutils...
I: Extracting diffutils...
I: Extracting dpkg...
I: Extracting e2fslibs...
I: Extracting e2fsprogs...
I: Extracting libcomerr2...
I: Extracting libss2...
I: Extracting libc-bin...
I: Extracting libc6...
I: Extracting multiarch-support...
I: Extracting findutils...
I: Extracting gcc-4.7-base...
I: Extracting libgcc1...
I: Extracting grep...
I: Extracting gzip...
I: Extracting hostname...
I: Extracting insserv...
I: Extracting liblocale-gettext-perl...
I: Extracting libselinux1...
I: Extracting libsemanage-common...
I: Extracting libsemanage1...
I: Extracting libsepol1...
I: Extracting libtext-charwidth-perl...
I: Extracting libtext-iconv-perl...
I: Extracting libtext-wrapi18n-perl...
I: Extracting lsb-base...
I: Extracting mawk...
I: Extracting libncurses5...
I: Extracting libtinfo5...
I: Extracting ncurses-base...
I: Extracting ncurses-bin...
I: Extracting libpam-modules...
I: Extracting libpam-modules-bin...
I: Extracting libpam-runtime...
I: Extracting libpam0g...
I: Extracting perl-base...
I: Extracting sed...
I: Extracting sensible-utils...
I: Extracting login...
I: Extracting passwd...
I: Extracting libslang2...
I: Extracting initscripts...
I: Extracting sysv-rc...
I: Extracting sysvinit...
I: Extracting sysvinit-utils...
I: Extracting tar...
I: Extracting tzdata...
I: Extracting libustr-1.0-1...
I: Extracting bsdutils...
I: Extracting libblkid1...
I: Extracting libmount1...
I: Extracting libuuid1...
I: Extracting mount...
I: Extracting util-linux...
I: Extracting liblzma5...
I: Extracting xz-utils...
I: Extracting zlib1g...
------------------------------------------------------------------------------

running cmd +cp /usr/share/elbe/qemu-elbe/qemu-arm-static /var/cache/elbe/60517761-87b0-42b4-8fd5-8657bc8c5386/chroot/usr/bin+
------------------------------------------------------------------------------
------------------------------------------------------------------------------

running cmd +chroot /var/cache/elbe/60517761-87b0-42b4-8fd5-8657bc8c5386/chroot /debootstrap/debootstrap --second-stage+
------------------------------------------------------------------------------
I: Keyring file not available at /usr/share/keyrings/debian-archive-keyring.gpg; switching to https mirror https://mirrors.kernel.org/debian
I: Installing core packages...
I: Unpacking required packages...
I: Unpacking libacl1:armel...
I: Unpacking libattr1:armel...
I: Unpacking base-files...
I: Unpacking base-passwd...
I: Unpacking bash...
I: Unpacking libbz2-1.0:armel...
I: Unpacking coreutils...
I: Unpacking dash...
I: Unpacking libdb5.1:armel...
I: Unpacking debconf...
I: Unpacking debconf-i18n...
I: Unpacking debianutils...
I: Unpacking diffutils...
I: Unpacking dpkg...
I: Unpacking e2fslibs:armel...
I: Unpacking e2fsprogs...
I: Unpacking libcomerr2:armel...
I: Unpacking libss2:armel...
I: Unpacking libc-bin...
I: Unpacking libc6:armel...
I: Unpacking multiarch-support...
I: Unpacking findutils...
I: Unpacking gcc-4.7-base:armel...
I: Unpacking libgcc1:armel...
I: Unpacking grep...
I: Unpacking gzip...
I: Unpacking hostname...
I: Unpacking insserv...
I: Unpacking liblocale-gettext-perl...
I: Unpacking libselinux1:armel...
I: Unpacking libsemanage-common...
I: Unpacking libsemanage1:armel...
I: Unpacking libsepol1:armel...
I: Unpacking libtext-charwidth-perl...
I: Unpacking libtext-iconv-perl...
I: Unpacking libtext-wrapi18n-perl...
I: Unpacking lsb-base...
I: Unpacking mawk...
I: Unpacking libncurses5:armel...
I: Unpacking libtinfo5:armel...
I: Unpacking ncurses-base...
I: Unpacking ncurses-bin...
I: Unpacking libpam-modules:armel...
I: Unpacking libpam-modules-bin...
I: Unpacking libpam-runtime...
I: Unpacking libpam0g:armel...
I: Unpacking perl-base...
I: Unpacking sed...
I: Unpacking sensible-utils...
I: Unpacking login...
I: Unpacking passwd...
I: Unpacking libslang2:armel...
I: Unpacking initscripts...
I: Unpacking sysv-rc...
I: Unpacking sysvinit...
I: Unpacking sysvinit-utils...
I: Unpacking tar...
I: Unpacking tzdata...
I: Unpacking libustr-1.0-1:armel...
I: Unpacking bsdutils...
I: Unpacking libblkid1:armel...
I: Unpacking libmount1...
I: Unpacking libuuid1:armel...
I: Unpacking mount...
I: Unpacking util-linux...
I: Unpacking liblzma5:armel...
I: Unpacking xz-utils...
I: Unpacking zlib1g:armel...
I: Configuring required packages...
I: Configuring lsb-base...
I: Configuring ncurses-base...
I: Configuring sensible-utils...
I: Configuring libsemanage-common...
I: Configuring gcc-4.7-base:armel...
I: Configuring libc-bin...
I: Configuring libc6:armel...
I: Configuring debianutils...
I: Configuring base-passwd...
I: Configuring mawk...
I: Configuring hostname...
I: Configuring insserv...
I: Configuring multiarch-support...
I: Configuring libselinux1:armel...
I: Configuring libsepol1:armel...
I: Configuring libgcc1:armel...
I: Configuring base-files...
I: Configuring libattr1:armel...
I: Configuring e2fslibs:armel...
I: Configuring libcomerr2:armel...
I: Configuring libacl1:armel...
I: Configuring libslang2:armel...
I: Configuring libss2:armel...
I: Configuring liblzma5:armel...
I: Configuring libdb5.1:armel...
I: Configuring libbz2-1.0:armel...
I: Configuring libtinfo5:armel...
I: Configuring sysvinit-utils...
I: Configuring libustr-1.0-1:armel...
I: Configuring bsdutils...
I: Configuring ncurses-bin...
I: Configuring libsemanage1:armel...
I: Configuring tar...
I: Configuring zlib1g:armel...
I: Configuring libncurses5:armel...
I: Configuring xz-utils...
I: Configuring dpkg...
I: Configuring dash...
I: Configuring coreutils...
I: Configuring perl-base...
I: Configuring diffutils...
I: Configuring libtext-iconv-perl...
I: Configuring sed...
I: Configuring grep...
I: Configuring findutils...
I: Configuring gzip...
I: Configuring liblocale-gettext-perl...
I: Configuring bash...
I: Configuring libtext-charwidth-perl...
I: Configuring libtext-wrapi18n-perl...
I: Configuring debconf...
I: Configuring libpam0g:armel...
I: Configuring sysv-rc...
I: Configuring tzdata...
I: Configuring debconf-i18n...
I: Configuring initscripts...
I: Configuring libpam-modules-bin...
I: Configuring libpam-modules:armel...
I: Configuring passwd...
I: Configuring libpam-runtime...
I: Configuring sysvinit...
I: Configuring login...
I: Configuring libuuid1:armel...
I: Configuring libblkid1:armel...
I: Configuring util-linux...
I: Configuring libmount1...
I: Configuring mount...
I: Configuring e2fsprogs...
I: Unpacking the base system...
I: Unpacking adduser...
I: Unpacking apt...
I: Unpacking apt-utils...
I: Unpacking libapt-inst1.5:armel...
I: Unpacking libapt-pkg4.12:armel...
I: Unpacking aptitude...
I: Unpacking aptitude-common...
I: Unpacking libboost-iostreams1.49.0...
I: Unpacking bsdmainutils...
I: Unpacking cpio...
I: Unpacking cron...
I: Unpacking libcwidget3...
I: Unpacking debian-archive-keyring...
I: Unpacking libstdc++6:armel...
I: Unpacking libgdbm3:armel...
I: Unpacking gnupg...
I: Unpacking gpgv...
I: Unpacking libgnutls26:armel...
I: Unpacking groff-base...
I: Unpacking ifupdown...
I: Unpacking iproute...
I: Unpacking iptables...
I: Unpacking iputils-ping...
I: Unpacking isc-dhcp-client...
I: Unpacking isc-dhcp-common...
I: Unpacking kmod...
I: Unpacking libkmod2:armel...
I: Unpacking libept1.4.12...
I: Unpacking libgcrypt11:armel...
I: Unpacking libgpg-error0:armel...
I: Unpacking libidn11:armel...
I: Unpacking libnfnetlink0...
I: Unpacking libpipeline1:armel...
I: Unpacking libsigc++-2.0-0c2a:armel...
I: Unpacking libtasn1-3:armel...
I: Unpacking libusb-0.1-4:armel...
I: Unpacking logrotate...
I: Unpacking man-db...
I: Unpacking manpages...
I: Unpacking nano...
I: Unpacking libncursesw5:armel...
I: Unpacking net-tools...
I: Unpacking netbase...
I: Unpacking netcat-traditional...
I: Unpacking libnewt0.52...
I: Unpacking whiptail...
I: Unpacking libssl1.0.0:armel...
I: Unpacking libp11-kit0:armel...
I: Unpacking libpopt0:armel...
I: Unpacking libprocps0:armel...
I: Unpacking procps...
I: Unpacking libreadline6:armel...
I: Unpacking readline-common...
I: Unpacking rsyslog...
I: Unpacking libsqlite3-0:armel...
I: Unpacking tasksel...
I: Unpacking tasksel-data...
I: Unpacking info...
I: Unpacking install-info...
I: Unpacking traceroute...
I: Unpacking libudev0:armel...
I: Unpacking udev...
I: Unpacking vim-common...
I: Unpacking vim-tiny...
I: Unpacking wget...
I: Unpacking libxapian22...
I: Configuring the base system...
I: Configuring gpgv...
I: Configuring libssl1.0.0:armel...
I: Configuring libgdbm3:armel...
I: Configuring isc-dhcp-common...
I: Configuring libtasn1-3:armel...
I: Configuring libpopt0:armel...
I: Configuring libusb-0.1-4:armel...
I: Configuring libgpg-error0:armel...
I: Configuring install-info...
I: Configuring vim-common...
I: Configuring libprocps0:armel...
I: Configuring netbase...
I: Configuring libudev0:armel...
I: Configuring libkmod2:armel...
I: Configuring adduser...
I: Configuring traceroute...
I: Configuring manpages...
I: Configuring libsqlite3-0:armel...
I: Configuring iproute...
I: Configuring libidn11:armel...
I: Configuring libnewt0.52...
I: Configuring net-tools...
I: Configuring libpipeline1:armel...
I: Configuring bsdmainutils...
I: Configuring netcat-traditional...
I: Configuring debian-archive-keyring...
I: Configuring libncursesw5:armel...
I: Configuring info...
I: Configuring iputils-ping...
I: Configuring aptitude-common...
I: Configuring cron...
I: Configuring nano...
I: Configuring libp11-kit0:armel...
I: Configuring rsyslog...
I: Configuring cpio...
I: Configuring libstdc++6:armel...
I: Configuring isc-dhcp-client...
I: Configuring vim-tiny...
I: Configuring readline-common...
I: Configuring libnfnetlink0...
I: Configuring libgcrypt11:armel...
I: Configuring procps...
I: Configuring libxapian22...
I: Configuring whiptail...
I: Configuring ifupdown...
I: Configuring kmod...
I: Configuring libapt-pkg4.12:armel...
I: Configuring libept1.4.12...
I: Configuring libapt-inst1.5:armel...
I: Configuring libreadline6:armel...
I: Configuring logrotate...
I: Configuring libboost-iostreams1.49.0...
I: Configuring groff-base...
I: Configuring gnupg...
I: Configuring libsigc++-2.0-0c2a:armel...
I: Configuring libgnutls26:armel...
I: Configuring apt-utils...
I: Configuring udev...
I: Configuring iptables...
I: Configuring man-db...
I: Configuring apt...
I: Configuring wget...
I: Configuring libcwidget3...
I: Configuring aptitude...
I: Configuring tasksel...
I: Configuring tasksel-data...
I: Base system installed successfully.
------------------------------------------------------------------------------

running cmd +chroot /var/cache/elbe/60517761-87b0-42b4-8fd5-8657bc8c5386/chroot dpkg --configure -a+
------------------------------------------------------------------------------
------------------------------------------------------------------------------

running cmd +chroot /var/cache/elbe/60517761-87b0-42b4-8fd5-8657bc8c5386/chroot debconf-set-selections < /var/cache/elbe/60517761-87b0-42b4-8fd5-8657bc8c5386/chroot/var/cache/elbe/preseed.txt+
------------------------------------------------------------------------------
------------------------------------------------------------------------------

running cmd +chroot /var/cache/elbe/60517761-87b0-42b4-8fd5-8657bc8c5386/chroot /bin/sh -c 'echo "foo\nfoo\n" | passwd'+
------------------------------------------------------------------------------
Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully
------------------------------------------------------------------------------

running cmd +chroot /var/cache/elbe/60517761-87b0-42b4-8fd5-8657bc8c5386/chroot /bin/sh -c 'echo "127.0.0.1 myARM.tec.linutronix.de myARM elbe-daemon" >> /etc/hosts'+
------------------------------------------------------------------------------
------------------------------------------------------------------------------

running cmd +chroot /var/cache/elbe/60517761-87b0-42b4-8fd5-8657bc8c5386/chroot /bin/sh -c 'echo "myARM" > /etc/hostname'+
------------------------------------------------------------------------------
------------------------------------------------------------------------------

running cmd +chroot /var/cache/elbe/60517761-87b0-42b4-8fd5-8657bc8c5386/chroot /bin/sh -c 'echo "myARM.tec.linutronix.de" > /etc/mailname'+
------------------------------------------------------------------------------
------------------------------------------------------------------------------

running cmd +chroot /var/cache/elbe/60517761-87b0-42b4-8fd5-8657bc8c5386/chroot /bin/sh -c '[ -f /etc/inittab ] && echo "T0:23:respawn:/sbin/getty -L ttyS0 115200 vt100" >> /etc/inittab'+
------------------------------------------------------------------------------
------------------------------------------------------------------------------

running cmd +chroot /var/cache/elbe/60517761-87b0-42b4-8fd5-8657bc8c5386/chroot /bin/sh -c '[ -f /lib/systemd/system/serial-getty at .service ] && ln -s /lib/systemd/system/serial-getty at .service /etc/systemd/system/getty.target.wants/serial-getty at ttyS0.service'+
------------------------------------------------------------------------------
------------------------------------------------------------------------------

Command failed with errorcode 1
package grub-pc is not installed, skipping grub
running cmd +mkdir -p /var/cache/elbe/60517761-87b0-42b4-8fd5-8657bc8c5386/filesystems+
------------------------------------------------------------------------------
------------------------------------------------------------------------------

running cmd +mkdir -p /var/cache/elbe/60517761-87b0-42b4-8fd5-8657bc8c5386/imagemnt+
------------------------------------------------------------------------------
------------------------------------------------------------------------------

running cmd +mkdir -p "/var/cache/elbe/60517761-87b0-42b4-8fd5-8657bc8c5386/filesystems/0"+
------------------------------------------------------------------------------
------------------------------------------------------------------------------

running cmd +mkdir -p "/var/cache/elbe/60517761-87b0-42b4-8fd5-8657bc8c5386/target/"/data+
------------------------------------------------------------------------------
------------------------------------------------------------------------------

running cmd +mkdir -p "/var/cache/elbe/60517761-87b0-42b4-8fd5-8657bc8c5386/filesystems/1"+
------------------------------------------------------------------------------
------------------------------------------------------------------------------

running cmd +mkdir -p "/var/cache/elbe/60517761-87b0-42b4-8fd5-8657bc8c5386/target/"/+
------------------------------------------------------------------------------
------------------------------------------------------------------------------

running cmd +mv "/var/cache/elbe/60517761-87b0-42b4-8fd5-8657bc8c5386/target/"/* "/var/cache/elbe/60517761-87b0-42b4-8fd5-8657bc8c5386/filesystems/1"+
------------------------------------------------------------------------------
------------------------------------------------------------------------------

running cmd +mkfs.ubifs -r /var/cache/elbe/60517761-87b0-42b4-8fd5-8657bc8c5386/filesystems/1 -o /var/cache/elbe/60517761-87b0-42b4-8fd5-8657bc8c5386/rfs.ubifs -m 2048 -e 126976 -c 2047 -x lzo+
------------------------------------------------------------------------------
------------------------------------------------------------------------------

running cmd +mkfs.ubifs -r /var/cache/elbe/60517761-87b0-42b4-8fd5-8657bc8c5386/filesystems/0 -o /var/cache/elbe/60517761-87b0-42b4-8fd5-8657bc8c5386/data.ubifs -m 2048 -e 126976 -c 2047 -x lzo+
------------------------------------------------------------------------------
------------------------------------------------------------------------------

running cmd +mv "/var/cache/elbe/60517761-87b0-42b4-8fd5-8657bc8c5386/filesystems/1"/* "/var/cache/elbe/60517761-87b0-42b4-8fd5-8657bc8c5386/target/"+
------------------------------------------------------------------------------
------------------------------------------------------------------------------

running cmd +cp /var/cache/elbe/60517761-87b0-42b4-8fd5-8657bc8c5386/chroot/boot/vmlinuz-3.2.0-4-versatile /var/cache/elbe/60517761-87b0-42b4-8fd5-8657bc8c5386/kernel.ubibin+
------------------------------------------------------------------------------
------------------------------------------------------------------------------

running cmd +ubinize  -o /var/cache/elbe/60517761-87b0-42b4-8fd5-8657bc8c5386/nand.img -p 128KiB -m 2048 /var/cache/elbe/60517761-87b0-42b4-8fd5-8657bc8c5386/nand.img_nand.cfg+
------------------------------------------------------------------------------
------------------------------------------------------------------------------

running cmd +gzip -f "/var/cache/elbe/60517761-87b0-42b4-8fd5-8657bc8c5386/nand.img"+
------------------------------------------------------------------------------
------------------------------------------------------------------------------

running cmd +gzip -f "/var/cache/elbe/60517761-87b0-42b4-8fd5-8657bc8c5386/rfs.ubifs"+
------------------------------------------------------------------------------
------------------------------------------------------------------------------

running cmd +gzip -f "/var/cache/elbe/60517761-87b0-42b4-8fd5-8657bc8c5386/kernel.ubibin"+
------------------------------------------------------------------------------
------------------------------------------------------------------------------


...

Build finished successfully


More information about the elbe-devel mailing list