Excellent Mikhail thank you Ozi
On Thu, Nov 14, 2013 at 5:59 AM, Mikhail Morfikov <mmorfi...@gmail.com>wrote: > Package: live-build > Version: 4.0~alpha30-1 > Severity: normal > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Package: live-build > Version: 4.0~alpha30-1 > > I've been trying to build a testing live hdd image using experimental > live-build package, but unfortunately something went wrong. > > Following is my lb config: > > root:/media/Server/live# cat auto/config > #!/bin/sh > > set -e > > lb config noauto \ > --apt aptitude \ > --apt-recommends true \ > --apt-secure true \ > --distribution jessie \ > --binary-image hdd \ > --archive-areas "main contrib non-free" \ > --bootappend-live "\ > boot=live \ > config \ > components \ > locales=pl_PL.UTF-8,en_US.UTF-8 \ > keyboard-layouts=pl \ > timezone=Europe/Warsaw \ > persistence \ > persistence-encryption=luks \ > persistence-media=removable \ > persistence-label=data \ > nottyautologin \ > noeject \ > swapon \ > hostname=livemor \ > " \ > --bootstrap debootstrap \ > --mirror-bootstrap http://ftp.pl.debian.org/debian/ \ > --mirror-binary http://ftp.pl.debian.org/debian/ \ > --architecture amd64 \ > --linux-flavours "amd64 aptosid-amd64" \ > --linux-packages "linux-image linux-headers" \ > --bootloader syslinux \ > "${@}" > > I have configured two additional repositories -- aptosid and debian > experimental, the former is for aptosid kernel, and the latter for live-* > packages. Here's configuration: > > root:/media/Server/live# cat config/archives/aptosid.pref.chroot > Package: * > Pin: origin aptosid.office-vienna.at > Pin-Priority: 120 > > Package: * > Pin: origin ftp.spline.de > Pin-Priority: 120 > > Package: * > Pin: origin debian.tu-bs.de > Pin-Priority: 120 > > root:/media/Server/live# cat config/archives/aptosid.list.chroot > # AptoSID # > # deb http://debian.tu-bs.de/project/aptosid/debian/ sid main > fix.main > # deb-src http://debian.tu-bs.de/project/aptosid/debian/ sid main > fix.main > > # deb ftp://ftp.spline.de/pub/aptosid/debian/ sid main fix.main > # deb-src ftp://ftp.spline.de/pub/aptosid/debian/ sid main fix.main > > deb http://aptosid.office-vienna.at/aptosid/debian/ sid main > fix.main > deb-src http://aptosid.office-vienna.at/aptosid/debian/ sid main > fix.main > > root:/media/Server/live# cat config/archives/experimental.list.chroot > # EXPERIMENTAL # > deb http://ftp.pl.debian.org/debian/ experimental main contrib > non-free > deb-src http://ftp.pl.debian.org/debian/ experimental main contrib > non-free > > root:/media/Server/live# cat config/archives/experimental.pref.chroot > Package: live-* > Pin: release o=Debian,a=experimental > Pin-Priority: 600 > > I also have some custom packages to include in the building image: > > cat config/package-lists/* > vim > mc > cryptsetup > lvm2 > smplayer > vlc > spacefm > keepass2 > gparted > gajim > geany > convertall > disk-manager > filezilla > gsmartcontrol > meld > ntp > hddtemp > lm-sensors > fancontrol > terminator > task-gnome-desktop > task-laptop > task-desktop > > Now time for build: > > root:/media/Server/live# lb clean --all > [2013-11-13 18:13:21] lb clean --all > P: Executing auto/clean script. > [2013-11-13 18:13:21] lb clean noauto --all > P: Cleaning chroot > root:/media/Server/live# ls -al > total 20K > drwxr-xr-x 5 root root 4.0K Nov 13 18:13 ./ > drwxr-xr-x 16 morfik morfik 4.0K Nov 12 23:30 ../ > drwxr-xr-x 2 root root 4.0K Nov 13 18:13 auto/ > drwxr-xr-x 7 root root 4.0K Nov 12 21:48 cache/ > drwxr-xr-x 17 root root 4.0K Nov 13 18:13 config/ > root:/media/Server/live# lb config > [2013-11-13 18:14:08] lb config > P: Executing auto/config script. > [2013-11-13 18:14:08] lb config noauto --apt aptitude --apt-recommends true > - --apt-secure true --distribution jessie --binary-image hdd > --archive-areas main > contrib non-free --bootappend-live boot=live config components > locales=pl_PL.UTF-8,en_US.UTF-8 keyboard-layouts=pl timezone=Europe/Warsaw > persistence persistence-encryption=luks persistence-media=removable > persistence-label=data nottyautologin noeject swapon hostname=livemor > - --bootstrap debootstrap --mirror-bootstrap > http://ftp.pl.debian.org/debian/ > - --mirror-binary http://ftp.pl.debian.org/debian/ --architecture amd64 > --linux- > flavours amd64 aptosid-amd64 --linux-packages linux-image linux-headers > - --bootloader syslinux > P: Updating config tree for a debian/jessie/amd64 system > W: WARNING: THIS VERSION OF LIVE-BUILD IS EXPERIMENTAL! > W: IT IS UNFINISHED AND CHANGES HEAVILY WITHOUT PRIOR NOTICE. > W: USER DISCRETION IS ADVISED. > W: > W: Please also note that you are running a live-build development version > W: and that we are only supporting the newest development version. > W: > W: Make sure you are using the newest version at all times. > P: Symlinking hooks... > root:/media/Server/live# lb build > > Everything goes according to plan to this moment: > > Reading state information... > [2013-11-13 19:31:40] lb binary_manifest > P: Begin creating manifest... > [2013-11-13 19:31:41] lb binary_package-lists > P: Begin installing local package lists... > [2013-11-13 19:31:41] lb binary_linux-image > P: Begin install linux-image... > [2013-11-13 19:31:42] lb binary_memtest > [2013-11-13 19:31:42] lb binary_grub > [2013-11-13 19:31:43] lb binary_grub2 > [2013-11-13 19:31:43] lb binary_syslinux > P: Begin installing syslinux... > Reading package lists... > Building dependency tree... > Reading state information... > Reading extended state information... > Initializing package states... > Reading task descriptions... > The following NEW packages will be installed: > librsvg2-bin syslinux syslinux-common > 0 packages upgraded, 3 newly installed, 0 to remove and 0 not upgraded. > Need to get 0 B/1212 kB of archives. After unpacking 3628 kB will be used. > Writing extended state information... > Selecting previously unselected package librsvg2-bin. > (Reading database ... 161270 files and directories currently installed.) > Unpacking librsvg2-bin (from .../librsvg2-bin_2.40.0-1_amd64.deb) ... > Selecting previously unselected package syslinux-common. > Unpacking syslinux-common (from .../syslinux- > common_3%3a4.05+dfsg-6+deb7u3_all.deb) ... > Selecting previously unselected package syslinux. > Unpacking syslinux (from .../syslinux_3%3a4.05+dfsg-6+deb7u3_amd64.deb) ... > Processing triggers for man-db ... > Setting up librsvg2-bin (2.40.0-1) ... > Setting up syslinux-common (3:4.05+dfsg-6+deb7u3) ... > Setting up syslinux (3:4.05+dfsg-6+deb7u3) ... > Reading package lists... > Building dependency tree... > Reading state information... > Reading extended state information... > Initializing package states... > Writing extended state information... > Reading task descriptions... > cp: cannot stat '/root/syslinux/libcom32.c32': No such file or directory > cp: cannot stat '/root/syslinux/ldlinux.c32': No such file or directory > cp: cannot stat '/root/syslinux/libutil.c32': No such file or directory > mv: target ‘binary/live/vmlinuz1’ is not a directory > P: Begin unmounting filesystems... > P: Saving caches... > Reading package lists... > Building dependency tree... > Reading state information... > > filesystem.squashfs file was created, and I'm able to use it with my > pendrive. I'm using it differently than a normal user, and I don't need > to copy the whole image to the pendrive in order to test it. All I need > is a working filesystem.squashfs. So, I tested it, and the image works > fine, more or less, the live system boots and I can use it. So, why the > image was not created successfully? > > > > - -- Package-specific info: > > - -- System Information: > Debian Release: jessie/sid > APT prefers testing > APT policy: (900, 'testing'), (500, 'unstable'), (130, 'experimental') > Architecture: amd64 (x86_64) > > Kernel: Linux 3.12-0.slh.1-aptosid-amd64 (SMP w/2 CPU cores; PREEMPT) > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > > Versions of packages live-build depends on: > ii debootstrap 1.0.55 > ii python3 3.3.2-17 > > Versions of packages live-build recommends: > ii cpio 2.11+dfsg-1 > pn gnu-fdisk <none> > pn live-boot-doc <none> > pn live-config-doc <none> > pn live-manual-html | live-manual <none> > > Versions of packages live-build suggests: > pn debian-keyring <none> > ii dosfstools 3.0.16-2 > pn git <none> > ii gpgv 1.4.15-1.1 > pn loadlin <none> > ii memtest86+ 4.20-1.1 > ii mtools 4.0.18-1 > ii parted 2.3-16 > ii squashfs-tools 1:4.2+20130409-2 > pn syslinux | grub <none> > pn uuid-runtime <none> > pn win32-loader <none> > pn xorriso <none> > > - -- no debconf information > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.15 (GNU/Linux) > > iQIcBAEBAgAGBQJSg8wWAAoJEM0EaBB3G2Ugw4wQANRNq7TY+0bDoqncnPoLY8wA > E6H29jGvdlm0HnItma6KvJkUx6HQsqcWkZBXk3O9/NjfrMrb8lycmLtjLFTndCWw > TsIX3QZI3JPxH+rUTbtTh1yghO95MyqzF5cBbpqWEkbfs5lA7N2DAaBpq9wGpg7o > 90jmmGHwn+nCKpAlCrGuw8QNGFChCHfr63ahFNkm0riUQTiXm9qfK3D1fsj06fZ/ > 6OxD0MZAZdWq6+dhcZUfIml5lB3sJPqSBdJbbzdpVwq24tBXmKooyscIllpRNvEf > DQSBFs1dnhysaUfg1deL8pTyuRg36HfqzAL12ZoVUqqG/9Cri52oxE3T6iSkOQxr > vg3bxnA2DqdYjw0ZcEGhgADuAuKQLwqzMe6zYwXQ8UcBcZvE5S2EFUIQtY7rXNlt > 4ic729dv4yg9hr1onMylCyOoK91lQaun2fgojTRRcNRBMGTLZOXKNHLOW5v92Ptw > LCr4z5VamP9evVg9Jud4Ur8amkVCP/C0T9kjwsAxqQF//GCwdcAp2GPa9qoj67HI > 0/3QBgHAoK1xUBItgmtcnv+hHfLQQXxBA7bK7uvI67nUJcILHTxGwbddWMEs2baO > kd9gi/Lyq5gyR6oqBMtKHCC2DATE9D04BaoZ2I49TIf6xiIsuQANe4XeczzAotT0 > rVmLURdrbXoqlpkJhnW9 > =bykN > -----END PGP SIGNATURE----- > > > -- > To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact > listmas...@lists.debian.org > Archive: > http://lists.debian.org/20131113185934.15926.17357.reportbug@morfikownia.mhouse > >