Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #231633
| From | Matthijs <debian-user-001@vanaalten.net> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Rebuilding Debian Live gnome image fails |
| Date | 2021-02-12 09:20 +0100 |
| Message-ID | <BHBQd-673-5@gated-at.bofh.it> (permalink) |
| References | <BGB5U-1F0-25@gated-at.bofh.it> <BHwnv-2Lm-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 12-02-2021 03:12, John Crawley wrote:
> On 09/02/2021 21:40, Matthijs wrote:
>> Following the Debian Live manual on using a predefined
>> configuration(https://live-team.pages.debian.net/live-manual/html/live-manual/managing-a-configuration.en.html#333):
>> $ mkdir live-images && cd live-images
>> $ lb config --config
>> https://salsa.debian.org/live-team/live-images.git::debian
>> $ cd images/standard
>> $ sudo lb build
>>
>> ...this works and I get an ISO image in that directory.
>>
>> But, instead doing this:
>> $ mkdir live-images && cd live-images
>> $ lb config --config
>> https://salsa.debian.org/live-team/live-images.git::debian
>> $ cd images/gnome-desktop
>> $ sudo lb build
>> (note the change in the 'cd' command)
>> ...this does NOT work. The build command starts doing a lot of work,
>> fetching & installing stuff, but then simply stops at this point
>> (copy/paste of ~17 lines of build.log):
> It's not mentioned in those docs, but I'm pretty sure you'll need to
> run 'lb config' one more time after moving to the config directory
> (and possibly editing the files inside), before 'lb build'.
Interesting. I've tried it, but it doesn't make much of a difference -
stops at roughly the same point (well, I get two lines extra, but not
much information from that).
I did manage to trace the root cause back to lines 75/76 in
/usr/lib/live/build/chroot_package-lists:
Expand_packagelist "$(basename ${LIST})" "config/package-lists" \
| grep -v '^#' >> chroot/root/packages.chroot
It seems that at some point, with the config I'm using,
"Expand_packagelist" does not return anything and the script then simply
stops. When I replace it with:
My_list=$(Expand_packagelist "$(basename ${LIST})"
"config/package-lists")
echo ${My_list} | grep -v '^#' >> chroot/root/packages.chroot
...the build continues and delivers a bootable image. So, my issue seems
to be solved with that, or at least I have a workaround. Perhaps I'll
dive a bit further, because right now I don't fully understand why the
build would stop originally: I would expect, if "expand_packagelist"
doesn't return anything, that the following "grep" would hang
indefinitely.
Nevertheless, an additional "lb config" doesn't seem to be necessary, as
the modified chrot_package-list script works correctly with the original
procedure.
--
Matthijs
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Rebuilding Debian Live gnome image fails Matthijs <debian-user-001@vanaalten.net> - 2021-02-09 14:20 +0100
Re: Rebuilding Debian Live gnome image fails John Crawley <john@bunsenlabs.org> - 2021-02-12 03:30 +0100
Re: Rebuilding Debian Live gnome image fails Matthijs <debian-user-001@vanaalten.net> - 2021-02-12 09:20 +0100
Re: Rebuilding Debian Live gnome image fails John Crawley <john@bunsenlabs.org> - 2021-02-13 06:10 +0100
Re: Rebuilding Debian Live gnome image fails debian-user-001@vanaalten.net - 2021-02-13 20:10 +0100
csiph-web