:: Re: [DNG] live-build
トップ ページ
このメッセージを削除
このメッセージに返信
著者: Ozi Traveller
日付:  
To: aitor_czr
CC: dng
題目: Re: [DNG] live-build
Hi Aitor

I've been using live-build for a while now, just not where I need to run
the individual parts so manually.

I'm trying to build a 64 bit iso using devuan jessie alpha 64 as the host.
I've been keeping jessie up-to-date.

I've been looking at
https://l3net.wordpress.com/2013/09/21/how-to-build-a-debian-livecd/

Cheers
Ozi



On Fri, Oct 2, 2015 at 9:46 PM, aitor_czr <aitor_czr@???> wrote:

> Once you've run 'lb init' before using 'lb config', don't run it again
> after using 'lb clean --purge'. It could be the origin of the issue.
>
> I repeat:
>
> 'lb clean --purge' cleans 'lb build' (= lb chroot && lb chroot && lb
> binary)
> 'lb clean --binary' cleans 'lb binary'
>
> Another clarification, although it is understood: the architecture of the
> host system (your system) and the board system (the chroot jail) must be
> the same.
>
> E.g., if you are in x86_x64 you can't do 'lb config -a i386 ... ', and
> vice versa.
>
> Aitor.
>
> On 01/10/15 23:24, Ozi Traveller wrote:
>
> > Same issue.>>> I have all this in auto/config>>> lb clean --purge>> lb init>> lb config -a amd64 \> --binary-images iso \> --distribution jessie \> --win32-loader false \> --checksums md5 \> --archive-areas "main" \> --apt-recommends false \> --apt aptitude \> --apt-options --yes \> --build-with-chroot false \> --bootappend-live "boot=live config locales=en_US.UTF-8 > keyboard-layouts=en" \> --bootappend-live "boot=live config username=user" \> --bootappend-live "boot=live config full_username=User" \> --bootappend-live "boot=live config hostname=devuan" \> --parent-mirror-bootstrap="http://au.mirror.devuan.org/merged/" <http://au.mirror.devuan.org/merged/> \> --parent-mirror-chroot="http://au.mirror.devuan.org/merged/" <http://au.mirror.devuan.org/merged/> \> --parent-mirror-debian-installer="http://au.mirror.devuan.org/merged/" <http://au.mirror.devuan.org/merged/> \> --mirror-bootstrap="http://au.mirror.devuan.org/merged/" <http://au.mirror.devuan.org/merged/> \> --mirror-chroot="http://au.mirror.devuan.org/merged/" <http://au.mirror.devuan.org/merged/> \> --mirror-debian-installer="http://au.mirror.devuan.org/merged/" <http://au.mirror.devuan.org/merged/> \> "${@}">> lb bootstrap && lb chroot>> ozi@debuan:~/diy-distro/diy-build$ ./build> [sudo] password for ozi:> [2015-10-02 08:20:32] lb clean> P: Executing auto/clean script.> [2015-10-02 08:20:32] lb clean noauto> P: Cleaning chroot> [2015-10-02 08:20:33] lb config> P: Updating config tree for a debian/jessie/amd64 system> P: Symlinking hooks...> [2015-10-02 08:20:33] lb build> P: Executing auto/build script.> [2015-10-02 08:20:33] lb build noauto> P: live-build 4.0.3> P: Building config tree for a debian/jessie/amd64 system> [2015-10-02 08:20:33] lb bootstrap> P: Setting up cleanup function> [2015-10-02 08:20:33] lb bootstrap_cache restore> P: Restoring bootstrap stage from cache...> [2015-10-02 08:20:33] lb bootstrap_cdebootstrap> [2015-10-02 08:20:33] 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> I: Retrieving Release.gpg> I: Checking Release signature> E: Release signed by unknown key (key id CBF8D6FD518E17E1)> P: Begin unmounting filesystems...> P: Saving caches...> chroot: failed to run command ‘/usr/bin/env’: No such file or directory> ozi@debuan:~/diy-distro/diy-build$>>> On Wed, Sep 30, 2015 at 11:34 PM, aitor_czr <aitor_czr@??? > <mailto:aitor_czr@gnuinos.org> <aitor_czr@???>> wrote:>>     I used this mirror au.mirror.devuan.org>     <http://ftp.au.mirror.devuan.org/merged/> <http://ftp.au.mirror.devuan.org/merged/> with no issues.>>     Aitor.>>     Note: without wishing to give offence, the host system of the>     chroot jail should be devuan, and not debian.>>     On 29/09/15 22:11, Ozi Traveller wrote:

>
> >>     Hi Aitor.>>>>     I ran the following and I'm still getting this error.>>     E: Release signed by unknown key (key id CBF8D6FD518E17E1)>>>>     Ozi>>>>>>>>     lb clean --purge>>>>     lb init>>>>     lb config -a amd64 \>>     --binary-images iso \>>     --distribution jessie \>>     --win32-loader false \>>     --checksums md5 \>>     --archive-areas "main" \>>     --apt-recommends false \>>     --apt aptitude \>>     --apt-options --yes \>>     --build-with-chroot false \>>     --bootappend-live "boot=live config locales=en_US.UTF-8>>     keyboard-layouts=en" \>>     --bootappend-live "boot=live config username=user" \>>     --bootappend-live "boot=live config full_username=User" \>>     --bootappend-live "boot=live config hostname=devuan" \>>     --parent-mirror-bootstrap="http://ftp.au.mirror.devuan.org/merged/" <http://ftp.au.mirror.devuan.org/merged/> \>>     --parent-mirror-chroot="http://ftp.au.mirror.devuan.org/merged/" <http://ftp.au.mirror.devuan.org/merged/> \>>     --parent-mirror-debian-installer="http://ftp.au.mirror.devuan.org/merged/" <http://ftp.au.mirror.devuan.org/merged/>>>     \>>     --mirror-bootstrap="http://ftp.au.mirror.devuan.org/merged/" <http://ftp.au.mirror.devuan.org/merged/> \>>     --mirror-chroot="http://ftp.au.mirror.devuan.org/merged/" <http://ftp.au.mirror.devuan.org/merged/> \>>     --mirror-debian-installer="http://ftp.au.mirror.devuan.org/merged/" <http://ftp.au.mirror.devuan.org/merged/>>>>>     lb bootstrap && lb chroot>>>>     [2015-09-30 06:05:44] lb build noauto>>     P: live-build 4.0.3>>     P: Building config tree for a debian/jessie/amd64 system>>     [2015-09-30 06:05:44] lb bootstrap>>     P: Setting up cleanup function>>     [2015-09-30 06:05:44] lb bootstrap_cache restore>>     P: Restoring bootstrap stage from cache...>>     [2015-09-30 06:05:44] lb bootstrap_cdebootstrap>>     [2015-09-30 06:05:45] 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>>     I: Retrieving Release.gpg>>     I: Checking Release signature>>     E: Release signed by unknown key (key id CBF8D6FD518E17E1)>>     P: Begin unmounting filesystems...>>     P: Saving caches...>>     chroot: failed to run command ‘/usr/bin/env’: No such file or>>     directory>>>>     On Tue, Sep 29, 2015 at 1:38 PM, aitor_czr <aitor_czr@???>>     <mailto:aitor_czr@gnuinos.org> <aitor_czr@???>> wrote:>>>>         You must change default mirrors:>>>>         lb config -a amd64 \>>             --binary-images iso \>>             --distribution jessie \>>             --win32-loader false \>>             --checksums md5 \>>             --archive-areas "main" \>>             --apt-recommends false \>>             --apt aptitude \>>             --apt-options --yes \>>             --build-with-chroot false \>>             --bootappend-live "boot=live config locales=en_US.UTF-8>>         keyboard-layouts=en" \>>             --bootappend-live "boot=live config username=user" \>>             --bootappend-live "boot=live config full_username=User" \>>             --bootappend-live "boot=live config hostname=devuan" \>>            >>         --parent-mirror-bootstrap="http://ftp.es.mirror.devuan.org/merged/" <http://ftp.es.mirror.devuan.org/merged/>>>         <http://ftp.es.mirror.devuan.org/merged/> <http://ftp.es.mirror.devuan.org/merged/> \>>            >>         --parent-mirror-chroot="http://ftp.es.mirror.devuan.org/merged/" <http://ftp.es.mirror.devuan.org/merged/>>>         <http://ftp.es.mirror.devuan.org/merged/> <http://ftp.es.mirror.devuan.org/merged/> \>>            >>         --parent-mirror-debian-installer="http://ftp.es.mirror.devuan.org/merged/" <http://ftp.es.mirror.devuan.org/merged/>>>         <http://ftp.es.mirror.devuan.org/merged/> <http://ftp.es.mirror.devuan.org/merged/> \>>            >>         --mirror-bootstrap="http://ftp.es.mirror.devuan.org/merged/" <http://ftp.es.mirror.devuan.org/merged/>>>         <http://ftp.es.mirror.devuan.org/merged/> <http://ftp.es.mirror.devuan.org/merged/> \>>             --mirror-chroot="http://ftp.es.mirror.devuan.org/merged/" <http://ftp.es.mirror.devuan.org/merged/>>>         <http://ftp.es.mirror.devuan.org/merged/> <http://ftp.es.mirror.devuan.org/merged/> \>>            >>         --mirror-debian-installer="http://ftp.es.mirror.devuan.org/merged/" <http://ftp.es.mirror.devuan.org/merged/>>>         <http://ftp.es.mirror.devuan.org/merged/> <http://ftp.es.mirror.devuan.org/merged/>>>>>         Aitor.>>>>         On 28/09/15 22:26, Ozi Traveller wrote:

>
> >>>         Hi Aitor.>>>>>>         I ran the following and got this error.>>>         E: Release signed by unknown key (key id CBF8D6FD518E17E1)>>>>>>         Ozi>>>>>>         lb clean --purge>>>>>>         lb init>>>>>>         lb config -a amd64 \>>>         --binary-images iso \>>>         --distribution jessie \>>>         --win32-loader false \>>>         --checksums md5 \>>>         --archive-areas "main" \>>>         --apt-recommends false \>>>               --apt aptitude \>>>         --apt-options --yes \>>>         --build-with-chroot false \>>>         --bootappend-live "boot=live config locales=en_US.UTF-8>>>         keyboard-layouts=en" \>>>         --bootappend-live "boot=live config username=user" \>>>         --bootappend-live "boot=live config full_username=User" \>>>         --bootappend-live "boot=live config hostname=devuan"

>
> >>>>
>
> >>>>> _______________________________________________> Dng mailing list> Dng@???> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
>
> You could try adding:
>
>      --keyring=/usr/share/keyrings/devuan-keyring.gpg \
>      --keyring-packages devuan-keyring \

>
>
>
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
>
>