:: Re: [DNG] live-build
Góra strony
Delete this message
Reply to this message
Autor: aitor_czr
Data:  
Dla: Ozi Traveller, Dng
Temat: Re: [DNG] live-build
Add the following:

--build-with-chroot false

to lb config. Then you will get the filesystem.squashfs file, but only
the filesystem.squashfs. I solve the rest of the puzzle *manually*.

Aitor.

El 15/09/15 a las 23:07, Ozi Traveller escribió:
> Hi
>
> I've finally got back to testing Live-Build again.
>
> Apart from MIRROR_BINARY, the rest is from my debian jessie lb config
>
> I would appreciate it if someone could please help me.
>
> I've missed something but what?
>
> I'd like to get this to work and add devuan to my distro.
>
> Cheers
> Ozi
>
> E: unknown location deb/dists/jessie/Release
>
>
>
> _DISTRIBUTION="jessie"
> _ARCHITECTURES="amd64"
> _LINUX_FLAVOURS="amd64"
> _ARCHIVE_AREAS="main contrib non-free"
> _SOURCE="false"
> _MIRROR_BINARY="deb http://au.mirror.devuan.org/merged/"
>
> lb config noauto \
> --mode debian \
> --distribution "${_DISTRIBUTION}" \
> --debian-installer-distribution "${_DISTRIBUTION}" \
> --debian-installer live \
> --architectures "${_ARCHITECTURES}" \
> --linux-flavours "${_LINUX_FLAVOURS}" \
> --apt-recommends false \
> --apt-secure true \
> --apt-indices false \
> --apt-source-archives false \
> --archive-areas "${_ARCHIVE_AREAS}" \
> --parent-mirror-bootstrap "${_MIRROR_BINARY}" \
> --parent-mirror-binary "${_MIRROR_BINARY}" \
> --mirror-bootstrap "${_MIRROR_BINARY}" \
> --mirror-binary "${_MIRROR_BINARY}" \
> --iso-application "DIY Linux" \
> --iso-publisher "DIY" \
> --iso-volume "DIY Live" \
> --backports false \
> --security false \
>     --updates false \
> --memtest none \
> --win32-loader false \
> --debug \
> --verbose \
> --bootappend-live "boot=live config components file=/preseed.cfg quiet 
> splash autologin nouveau.modeset=0 radeon.modeset=0" \
> "${@}"

>
> [2015-09-16 06:58:11] lb build noauto
> P: live-build 4.0.3
> P: Building config tree for a debian/jessie/amd64 system
> [2015-09-16 06:58:11] lb bootstrap
> P: Setting up cleanup function
> [2015-09-16 06:58:11] lb bootstrap_cache restore
> P: Restoring bootstrap stage from cache...
> [2015-09-16 06:58:11] lb bootstrap_cdebootstrap
> [2015-09-16 06:58:11] lb bootstrap_debootstrap
> P: Begin bootstrapping system...
> P: If the following stage fails, the most likely cause of the problem
> is with your mirror configuration or a caching proxy.
> P: Running debootstrap (download-only)...
> I: Retrieving Release
> E: unknown location deb/dists/jessie/Release
> P: Begin unmounting filesystems...
> P: Saving caches...
> chroot: failed to run command ‘/usr/bin/env’: No such file or directory
>
>
>
>
>
>
>
> On Tue, Aug 11, 2015 at 6:34 AM, Ozi Traveller <ozitraveller@???
> <mailto:ozitraveller@gmail.com>> wrote:
>
>     Thanks aitor_czr excellent!

>
>     Ozi

>
>
>     On Tue, Aug 11, 2015 at 5:48 AM, aitor_czr <aitor_czr@???
>     <mailto:aitor_czr@gnuinos.org>> wrote:

>
>         On 31/07/15 08:02, Ozi Traveller wrote:
>>         Hi,

>>
>>         I've very interested to create to use Devuan as a base for my distro.

>>
>>         ISo I'm wonder whether live-build is also coming across from Debian?

>>
>>         Cheers
>>         Ozi
>         Hi Ozi,

>
>         Live-build works fine in Devuan, but you must change the
>         default mirrors in bootstrap and chroot config files. For example:

>
>         LB_MIRROR_BOOTSTRAP="http://ftp.es.mirror.devuan.org/merged/"
>         <http://ftp.es.mirror.devuan.org/merged/>

>
>         instead of "http://ftp.debian.org/debian/"
>         <http://ftp.debian.org/debian/>, etc...

>
>         Aitor.

>