[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Ubuntu live filesystem builds moved to live-build



I am used to using live build for my ubuntu live system, and I am glad that it's now the way ubuntu does itself.

I tried afer CW

  Once only:
    $ mkdir -p auto
    $ ln -sf /usr/share/livecd-rootfs/live-build/auto/* auto/

  Each time:
$ export PROJECT=xubuntu SUITE=oneiric ARCH=i386 MIRROR=http://fr.archive.ubuntu.com/ubuntu/
    $ sudo lb clean
    $ lb config
    $ sudo lb build

But with my host is amd64 and my target is i386, I had to patch auto/config for not building for amd64 target



--- /usr/share/livecd-rootfs/live-build/auto/config 2011-10-07 18:26:19.000000000 +0200 +++ /media/oczV3-14G-live-build/oneiric-CW/auto/config 2011-11-22 12:00:29.679688782 +0100
@@ -240,6 +240,7 @@
 lb config noauto \
     --mode ubuntu \
     --distribution "$SUITE" \
+    --architectures "$ARCH" \
     --bootstrap-keyring ubuntu-keyring \
     --binary-images "$BINARY_IMAGES" \
     --memtest "$MEMTEST" \

Also build stops at

Processing triggers for ureadahead ...
Errors were encountered while processing:
 /var/cache/apt/archives/humanity-icon-theme_0.5.3.11_all.deb
 /var/cache/apt/archives/elementary-icon-theme_2.7.1-0ubuntu6_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
P: Begin unmounting filesystems...

Ph.L.



Reply to: