Bug#778627: live-build: syslinux mbr.bin file not found (again)
On 22 February 2015 at 15:23, jnqnfe wrote: > On Sun, 2015-02-22 at 13:59 +1100, David wrote: >> On 22 February 2015 at 10:04, Michal Suchanek wrote: >> > On 21 February 2015 at 19:29, jnqnfe wrote: >> >> On Tue, 2015-02-17 at 17:30 +0100, Michal Suchanek wrote: >> >>> it seems mbr.bin has moved to a subdirectory which causes hdd build >> >>> failure in Jessie. >> >>> >> >>> Attaching a patch. >> >> >> >> Sorry, where has this change occurred? Looking at the list of files >> >> installed, e.g. [1] the file seems to be in exactly the same place as >> >> live-build is currently looking... Or is this info out of date with >> >> respect to what the package is installing and where?? >> >> >> >> [1] https://packages.debian.org/sid/amd64/syslinux/filelist >> >> >> > >> > Actually, I would like to know too. The build was clearly failing at >> > that point saying there is no such file and I had the mbr subdirectory >> > in chroot but now the chroot does not have it. >> >> In wheezy [2] the syslinux-common package installs: >> /usr/lib/syslinux/mbr.bin >> >> In jessie [3] this is unchanged only for [ia64, sparc, s390] >> architectures, apparently for all other architectures it has been >> changed to install to a sub-directory named "mbr": >> /usr/lib/syslinux/mbr/mbr.bin >> >> And this breaks the references to mbr.bin in the binary_hdd script >> for these architectures. >> >> [2] >> https://packages.debian.org/search?searchon=contents&keywords=mbr.bin&mode=exactfilename&suite=stable&arch=any >> >> [3] >> https://packages.debian.org/search?searchon=contents&keywords=mbr.bin&mode=exactfilename&suite=testing&arch=any > > According to your [3], it is in the syslinux-common package where this > change has occurred (if that wasn't how it already was previously). The > 'syslinux' and 'extlinux' packages, which also carry a copy do not have > it in an 'mbr' subdirectory, thus they have it in exactly the location > the script is looking for it. > > The binary_hdd script uses either the syslinux or extlinux package, > depending on what filesystem format it is going to use. It does not use > the syslinux-common package. However the syslinux-common package may > have been installed by another script in live-build, from which the > 'mbr' directory was not deleted on removal at the end of that script, > thus explaining its presence. > > I am not denying outright there's a problem, clearly the build failed, > otherwise this discussion would not have begun. Perhaps when I can find > a little time soon I'll run a HDD based build to check, but just on the > face of it, looking at the info in the package system, I do not see why > binary_hdd should need to look in in an 'mbr' sub-folder, and why it > would fail from not being able to find the mbr.bin file. > > @Michal have you re-tried the build process since? (note, it's sometimes > a good idea to run lb --clean before hand if a failure occurred). I.e., > is this problem repeatable, or may it just have been a fluke, for > example, maybe apt failed to download the syslinux/extlinux package and > yet the build carried on anyway, then understandably failed to find the > file. (Just a wild guess at a possible explanation). > > If it's not repeatable, and may have just been an odd fluke, we should > close the bug. Some months ago I did encounter repeatable live-build failures due to this mbr.bin location and I temporarily worked around it by patching my binary_hdd script. It might be important to mention that (because my target hardware bios fails when given usb flashdrive iso-hybrid images) it is necessary for me to build with '--binary-images hdd'. So I suggest testing with that setting. Everything I was doing was scripted, from clean starts, and tracked with git, so I would not categorise this bug as an "odd fluke" and I should be able to reproduce it, but I apologise that I do not have any free time at the moment to revisit this. Thanks for all your other work on live-build! -- To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/CAMPXz=oLZyVmq41YNwVxFAzhpP8fcpSjn+iqR+_ZAPqC2=e...@mail.gmail.com
apt-transport-https
I'm having a problem with my live configuration. When I try to do 'sudo lb build' for some reason it wants to use the apt-transport-https, even though I don't have any references to https repositories in my .list files. I've tried troubleshooting it myself, but I'm stuck and I can't seem to find any good search results. Does anybody know what's going on? -- To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/54ed0a74.3020...@openmailbox.org
add grub-efi to binary
Hi all! I'm working on run/install our custom live system on efi bios. I could do it *manually* adding efi binary files (from oficial debian iso) into the binary image part. (I know, it's an experiment and i make this until the oficial uefi support will merge into live-build, and just work) Here is my config tree: https://github.com/HuayraLinux/live-cd/tree/testing What works? the live system boot and run whitout problems on efi system. Now, i try to install the image on the hard disk. The debian installer run fine, also the copy of the squash is done, but fails in the grub install stage. This is because debian-installer can not found grub-efi and grub-efi-amd64 packages (according the d-i log). I try to adding .list.binary file with these packages: https://github.com/HuayraLinux/live-cd/blob/testing/config/package-lists/grubuefi.list.binary But on the final iso image, these packages do not are on the pool/ directory. root@builder2:/tmp/isomounted/pool# find ./ |grep grub ./main/g/grub2 ./main/g/grub2/grub2-common_2.02~beta2-20_amd64.deb ./main/g/grub2/grub-common_2.02~beta2-20_amd64.deb ./main/g/grub2/grub-mount-udeb_2.02~beta2-20_amd64.udeb ./main/g/grub2/grub-pc_2.02~beta2-20_amd64.deb ./main/g/grub2/grub-pc-bin_2.02~beta2-20_amd64.deb ./main/g/grub-installer ./main/g/grub-installer/grub-installer_1.103_amd64.udeb I think that i need booth grub-pc and grub-efi packages on the pool available for the debian installer, but i do known why it not. Maybe the conflict between these packages do not permit it? If somebody have a idea, i will be very grateful. Sorry the long messsage. Saludos! -- Fernando Toledo Dock Sud BBS http://bbs.docksud.com.ar telnet://bbs.docksud.com.ar -- To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/54ed1dac.7030...@docksud.com.ar
Re: apt-transport-https
Greetings, On Tue, Feb 24, 2015 at 5:34 PM, dyngar-m wrote: > I'm having a problem with my live configuration. When I try to do 'sudo > lb build' for some reason it wants to use the apt-transport-https, even > though I don't have any references to https repositories in my .list > files. I've tried troubleshooting it myself, but I'm stuck and I can't > seem to find any good search results. Does anybody know what's going on? > > The m-l is a great resource, but a bit more information would be helpful to all: 1. Host OS is often helpful. 2. Version of live-build, output from lb -v 3. Best if you can share your config or exact steps to attempt a like setup. I often like to start from a clone setup of http://live.debian.net/gitweb/?p=live-images.git 4. Best if if you can share the full build log. 5. if you have trouble building your own you can always use the online builder http://cgi.build.live-systems.org/cgi-bin/live-build Thanks. > > -- > To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact > listmas...@lists.debian.org > Archive: https://lists.debian.org/54ed0a74.3020...@openmailbox.org > >
Re: apt-transport-https
Well I actually got some help in IRC earlier and I'm happy to say that part of the problem has been elucidated, I had a repository which was trying to upgrade the connection to https. For now, I've removed it and confirmed that without using https repositories, live-build functions correctly. That said, I'm still open to suggestions on a way to incorporate it or work around it because even though this is primarily a way of backing up and managing my own configuration, the pieces that don't work are pretty important to the whole deal. So since I'm still looking for some assistance, here's all the information: 1: I'm building on Debian Jessie, and they're updated regularly. 2: I'm using live-build from Sid though. 4.0.3-1 3: I've gone ahead and put it up on github https://github.com/cmotc/distro-build-config 4: For the sake of space, the last unsuccessful build log is uploaded here https://raw.githubusercontent.com/cmotc/distro-build-config/master/debianbuildlog.log 5: And I started with those, but this is more fun. :) Richard Nelson: > Greetings, > > On Tue, Feb 24, 2015 at 5:34 PM, dyngar-m wrote: > >> I'm having a problem with my live configuration. When I try to do 'sudo >> lb build' for some reason it wants to use the apt-transport-https, even >> though I don't have any references to https repositories in my .list >> files. I've tried troubleshooting it myself, but I'm stuck and I can't >> seem to find any good search results. Does anybody know what's going on? >> >> > The m-l is a great resource, but a bit more information would be helpful to > all: > > 1. Host OS is often helpful. > 2. Version of live-build, output from lb -v > 3. Best if you can share your config or exact steps to attempt a like > setup. I often like to start from a clone setup of > http://live.debian.net/gitweb/?p=live-images.git > 4. Best if if you can share the full build log. > 5. if you have trouble building your own you can always use the online > builder http://cgi.build.live-systems.org/cgi-bin/live-build > > Thanks. > > > >> >> -- >> To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org >> with a subject of "unsubscribe". Trouble? Contact >> listmas...@lists.debian.org >> Archive: https://lists.debian.org/54ed0a74.3020...@openmailbox.org >> >> > -- Contact Me: === https://cmotc.github.io/ Tox(IM, Voice, Video): 6039EB65F8C952DEBAD74003AE6107AEF0E996E45B5A4FB16510370936E26A5AD22F93474F7F email/jabber: cm...@openmailbox.org Jabber Off-The-Record Fingerprint: 0FAFF450 11057B66 D0D469F9 79130A91 097D93A5 Public Key: -BEGIN PGP PUBLIC KEY BLOCK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