[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Program upx is required when packaging syslinux-6.02~pre5



When packaging syslinux-6.02~pre5, upx program is actually required.
Without that, an error will occur:
ld -m elf_i386 -T
/home/steven/syslinux/6/bug/syslinux-6.02~pre5+dfsg/dos/dosexe.ld -o
syslinux.elf header.o crt0.o ldlinux.o syslinux.o fs.o syslxmod.o
syslxopt.o setadv.o getopt_long.o bootsect_bin.o mbr_bin.o cache.o
fatchain.o open.o searchdir.o libcom.a
objcopy -O binary syslinux.elf syslinux.com
upx --lzma --ultra-brute syslinux.com || \
                upx --ultra-brute syslinux.com || \
                true
/bin/sh: upx: command not found
/bin/sh: line 1: upx: command not found
make[5]: Leaving directory
`/home/steven/syslinux/6/bug/syslinux-6.02~pre5+dfsg/bios/dos'

Attached please find the patch for the file debian/control.
My 2 cents.

Steven.
-- 
Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org>
National Center for High-performance Computing, Taiwan.
http://www.nchc.org.tw
Public Key Server PGP Key ID: 4096R/47CF935C
Fingerprint: 0240 1FEB 695D 7112 62F0  8796 11C1 12DA 47CF 935C
--- control	2013-07-16 01:56:51.000000000 +0800
+++ control.new	2013-07-19 16:19:05.000000000 +0800
@@ -4,7 +4,7 @@
 Maintainer: Daniel Baumann <mail@daniel-baumann.ch>
 Build-Depends:
  debhelper (>= 9), e2fslibs-dev, gcc-4.7, gcc-multilib [amd64],
- gnu-efi (>= 3.0u), libc6-dev-i386 [amd64], nasm, python, uuid-dev
+ gnu-efi (>= 3.0u), libc6-dev-i386 [amd64], nasm, python, uuid-dev, upx
 Standards-Version: 3.9.4
 Homepage: http://www.syslinux.org/
 

Reply to: