broke on binary stage by wrong on lzcat

Bug #1555980 reported by LliureX
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
live-build (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Hi, i'm make a ubuntu derivative with auto scripts provided by livecd-rootfs package. When the build is on binary stage, it's broke. Debugging i find this :

lzcat -S "" "../../${INITRD}" | cpio --quiet -id conf/uuid.conf

When i run lzcat command on terminal it's return : lzcat: : Invalid filename suffix

If i remove "-S" option all work fine. is it a mistake?

Related branches

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in live-build (Ubuntu):
status: New → Confirmed
Revision history for this message
Bin Li (binli) wrote :

I've also met this issue, when I build image.

Revision history for this message
Bin Li (binli) wrote :

revno: 2105
committer: Daniel Baumann <email address hidden>
timestamp: Tue 2012-02-07 10:11:31 +0100
message:
  Correcting lzcat call in binary_disk to not bail out due to non-standard file extension (unknown suffix
 -- unchanged), thanks to Luigi Capriotti <email address hidden> (Closes: #658995).
diff:
=== modified file 'scripts/build/lb_binary_disk'
--- scripts/build/lb_binary_disk 2012-02-06 22:15:12 +0000
+++ scripts/build/lb_binary_disk 2012-02-07 09:11:31 +0000
@@ -108,7 +108,7 @@
                                        ;;

                                lzma)
- lzcat "../../${INITRD}" | cpio --quiet -id conf/uuid.conf
+ lzcat -S "" "../../${INITRD}" | cpio --quiet -id conf/uuid.conf
                                        ;;
                        esac

Revision history for this message
V字龍(Vdragon) (vdragon) wrote :

I suspect that it's because Debian's initrd doesn't have suffix while ubuntu's have.

Revision history for this message
V字龍(Vdragon) (vdragon) wrote :

The proper fix might be generating the proper suffix "img-{kernel version}" and feed it to lzcat

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.